-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
feat(community): Prepare implementation IBM WatsonxAI to langchain community package. #6916
feat(community): Prepare implementation IBM WatsonxAI to langchain community package. #6916
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Hey @jacoblee93. |
Provide solutions for: - LLMs - embeddings - tests
Provide solutions for: - LLMs - embeddings - tests * Fix docs, dependencies and minor changes to code
e261bd2
to
db893ce
Compare
* Applied fixes according to review
Provide solutions for: - chat - add tests for chat
}; | ||
} | ||
|
||
model = "mistralai/mistral-large"; |
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.
Generally we suggest not using a default (models change frequently), but up to you
|
||
projectId?: string; | ||
|
||
truncate_input_tokens?: number; |
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: prefer not mixing camel and snake case
|
||
version = "2024-05-31"; | ||
|
||
max_new_tokens = 100; |
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: avoid mixing camel and snake case
Thanks for your patience! Will ship later today. |
Prepare implementation IBM WatsonxAI to langchain community package.
Provide solutions for:
Thank you for contributing to LangChain.js!
Where "package" is whichever of langchain, community, core, experimental, etc. is being modified. Use "docs: ..." for purely docs changes, "templates: ..." for template changes, "infra: ..." for CI changes.
Example: "community: add foobar LLM"
Description: The aim of these changes is to create first Langchain.js by IBM implementation. Solutions applied consist of LLMs and embeddings.
fyi @LukaszCmielowski
Expected tests for both of implemented features were added as well as docs and examples