Skip to content
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

Add Groq LLM integration (or ability to create custom LLM models) #239

Open
arek-e opened this issue Oct 4, 2024 · 2 comments
Open

Add Groq LLM integration (or ability to create custom LLM models) #239

arek-e opened this issue Oct 4, 2024 · 2 comments

Comments

@arek-e
Copy link

arek-e commented Oct 4, 2024

Is your feature request related to a problem? Please describe.
I have used the python Langchain library in a previous project for a Django backend. Now Im working on a new project that uses Tauri and its rust backend so naturally i was looking for implementation for Langchain in rust. In python I started using the Groq chat model, I really liked its simple price model and fast inference so naturally i would want to use it in this project as well but currently there is no support for this.

Describe the solution you'd like
I would like an integration for the llm Groq model for langchain-rust like OpenAI,Claude and Ollama is supported. Currently there are some unnoffical sdk for Groq like groq-api-rust or groq-rust

Describe alternatives you've considered
The other alternative and more scalable solution for similar issues would be the ability to create a custom chat model similarly to how the python SDK works by wrapping the llm with the BaseChatModel.

https://python.langchain.com/docs/how_to/custom_chat_model/

@prabirshrestha
Copy link
Collaborator

Seems like Groq supports OpenAI compatibility based on their docs. Would this be enough?

@dredozubov
Copy link
Contributor

@arek-e I'm pretty sure I'll need Groq compatibility, too. Have you managed to make it work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants