Repository navigation
|
Hi guys, I'm trying to find a way to send in parameters such as temperature and max_new_tokens when you send a query to a langcorn server. Something like this: {"question": "tell me a story about dogs.", There is no complaint when you send in things so you can add it. Is this possible and if so, how do you do it? Thanks |
Answered by
msoedov
Aug 26, 2023
Replies: 2 comments 3 replies
|
Hi @mstensmo! Thx for your suggestion! It's not supported in the current version but I can add it similarly to x-llm-temperature: 0.7
x-max-tokens: 256
x-model-name: '...' |
0 replies
Answer selected by
mstensmo
|
I just released this change to pypi |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @mstensmo! Thx for your suggestion! It's not supported in the current version but I can add it similarly to
x-llm-api-keyHTTP header in the new release.