-
Hi, I am trying to connect this frontend with the oobabooga API. While using oobabooga I get good answers but when I use it over this frontend connected to that API I get weird answers. I also set the "preprompt". |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Actually, just found in this files the parameters that are sent to open api endpoint: |
Beta Was this translation helpful? Give feedback.
Actually, just found in this files the parameters that are sent to open api endpoint:
https://github.com/huggingface/chat-ui/blob/main/src/lib/server/endpoints/openai/endpointOai.ts
I just added into my installation additional parameters such as top_k, mode and instruction_template. I don't know whether it could interest others as well to enlarge this part of the code to include more parameters.