Skip to content

How to set mode and instruction_template #999

Answered by ruizcrp
ruizcrp asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ruizcrp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant