when creating a new ChatRequest, where do I define the assistant? #222
-
For example, I get the assistant
but how do I use it with the chat request?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I think you've got the two features confused. Assistants is a completely different thing from Chats. Chats is a predecessor of the more advanced Assistant features OpenAI has made and cannot be mixed and matched. Check the Assistants and Threads docs for detailed examples |
Beta Was this translation helpful? Give feedback.
-
Ok thank you for the fast response. Here's how I'm currently doing it
The result, openAI's response, doesn't match what I get when playing with the playground on the dashboard. So I tried using Chats because there's an example scene using that. Is there something I'm doing wrong on the code above, or am I missing something? |
Beta Was this translation helpful? Give feedback.
-
Or rather maybe can you send me a modified version of ChatBehavior.cs that uses Assistants and Threads? That'd be incredibly helpful. My email is [email protected] . Thank you so much for your quick replies. |
Beta Was this translation helpful? Give feedback.
I think you've got the two features confused. Assistants is a completely different thing from Chats.
Chats is a predecessor of the more advanced Assistant features OpenAI has made and cannot be mixed and matched.
Check the Assistants and Threads docs for detailed examples