-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
Standardize SparkLLM #25239
Standardize SparkLLM #25239
Conversation
maang-h
commented
Aug 9, 2024
- Description: Standardize SparkLLM, include:
- docs, the issue Standardize LLM Docs #24803
- to support stream
- update api url
- model init arg names, the issue Standardized model init arg names #20085
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
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.
Thanks @maang-h, appreciate your contributions here. Would you mind updating this to match the LLM template in the Appendix here? #24803
The LLM template is different from the chat model template. The chat model template uses message objects with roles (e.g., system, human, etc). Although LLM classes accept these messages, the roles are ignored and the contents are cast to string, as described in the docs here. The template deliberately makes this explicit by passing in strings.
Done! |
- **Description:** Standardize SparkLLM, include: - docs, the issue langchain-ai#24803 - to support stream - update api url - model init arg names, the issue langchain-ai#20085