What is the purpose of /api/conversation/azure_byod in the chat app? #232
Replies: 3 comments 1 reply
-
I have researched this repository for weeks now and I think it just gives you three methods that you can choose from yourself. Indeed, azure_byod seems to never be called. I am rerouting api/conversation/custom to azure byod and it works amazing. |
Beta Was this translation helpful? Give feedback.
-
Thanks, yeah we have been working on our own modifications on this repo. I discovered you can just change the api call in the front end of the chat app to use the byod route and it seems to working just fine. That is what we are doing for now. Thanks for the note. |
Beta Was this translation helpful? Give feedback.
-
Heya! My understanding is that the If you need to do any pre or post processing, e.g. using langchain or OpenAI functions, then |
Beta Was this translation helpful? Give feedback.
-
In the backend of the chat app there is a route /api/conversation/azure_byod. It seems like it is never called from the front end, only /api/conversation/custom is ever called.
I am trying to add a filter parameter on the body that is used in the prepare_body_headers_with_data function like below:
Link to code
However is seems like that body is only used on the azure_byod route which is never called from the front end.
Can anyone help me with a way to add a parameter onto the body that is sent to the openAI instance?
Beta Was this translation helpful? Give feedback.
All reactions