Replies: 2 comments 4 replies
-
The response format changed as well, best to check the API reference if you plan to implement this |
Beta Was this translation helpful? Give feedback.
2 replies
-
@NezihAkin our longer-term plan is to retire OpenAIAnswerGenerator and transition users to PromptNode. We support both models in PromptNode; did you find some difficulties in using PromptNode? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
OpenAIAnswerGenerator class only allows to use GPT-3 models from OpenAI now. in predict function, endpoint url is defined only for gpt-3 models as /v1/completions. A small update here would enable to use chat completion models (gpt-3.5-turbo and gpt-4), since these models use /v1/chat/completions.
I would create a PR here, but I am not sure about your wow.
Best regards
Beta Was this translation helpful? Give feedback.
All reactions