-
Notifications
You must be signed in to change notification settings - Fork 15.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
community: sambastudio chat model #27056
community: sambastudio chat model #27056
Conversation
jhpiedrahitao
commented
Oct 2, 2024
Co-authored-by: luisfucros <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@ccurme can you take a look please, not clear why vercel is failing deployment |
"Content-Type": "application/json", | ||
} | ||
|
||
# create request payload for generic v1 API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v1 or v2?
do_sample = wether to do sample | ||
process_prompt = wether to process prompt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(nit) wether -> whether
Invoke: | ||
.. code-block:: python | ||
messages = [ | ||
SystemMessage(content="your are an AI assistant."), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(nit) your -> you