KellanM / OpenAI-Api-Unreal

Integration for the OpenAI Api in Unreal Engine
MIT License
649 stars 143 forks source link

Crude way to work in the new 3.5GPT-turbo end point #27

Closed FurrySparkle closed 1 year ago

FurrySparkle commented 1 year ago

This is a extremely rough hack to make it work so I can move on with a project. Ultimately you will need a new settings option to toggle the endpoint to include 'chat'/completions and back to the old /completions endpoint. Just need to stay on davinci in the editor and not use any other setting. The other models won't work. Only 3.5 on the Davinci setting

FurrySparkle commented 1 year ago

Notes; You will need to abide the new structure for talking with the AI API, {"role":user,assistant,system, "content": "your stuff in a string"} and this will be shoved in an array with the model included

FurrySparkle commented 1 year ago

Couldn't get it to work to ID the correct model, Deprecate this project and use HttpGPT in the UE marketplace. https://www.unrealengine.com/marketplace/en-US/product/httpgpt-chatgpt-integrated-in-the-engine

KellanM commented 1 year ago

Thanks for taking a crack at this Mr. Sparkle! I wish it was that easy 🥲 Just added support for the Chat-GPT models and GPT-4.