-
Notifications
You must be signed in to change notification settings - Fork 16.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
Prem AI langchain integration (migrating PR from org account to personal account) #19113
Conversation
Merge from main
Merge from main
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hi, yes I just tried to fix it, can you approve to run the workflow, thanks |
Almost there, got some checks failing in the docs, I used cc: @baskaryan would be great if you could approve this and quickly re-iterate. Thanks :) |
Hi @baskaryan can this PR be merged, since it is now passing all the checks :) |
libs/community/pyproject.toml
Outdated
@@ -155,6 +156,7 @@ tiktoken = ">=0.3.2,<0.6.0" | |||
anthropic = "^0.3.11" | |||
langchain-core = { path = "../core", develop = true } | |||
fireworks-ai = "^0.9.0" | |||
premai = "^0.3.25" |
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.
My reading of the instructions for the [tool.poetry.group.test_integration.dependencies]
group above is that we should not add premai
here.
note that CI is failing because the poetry lock file is out of sync with this file:
Error: poetry.lock is not consistent with pyproject.toml. Run `poetry lock [--no-update]` to fix it.
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.
My reading of the instructions for the
[tool.poetry.group.test_integration.dependencies]
group above is that we should not addpremai
here.note that CI is failing because the poetry lock file is out of sync with this file:
Error: poetry.lock is not consistent with pyproject.toml. Run `poetry lock [--no-update]` to fix it.
As far I have see, not adding premai was failing the tests. So I added that. But okay lemme remove it on toml and do a lock update and see, what happens.
Hi @ccurme, @baskaryan, @efriis can you please check this PR, would be awesome to re-iterate (if any checks failing) as soon as possible and get this merged. Thanks |
Thank you for the merge. |
### Prem SDK integration in LangChain This PR adds the integration with [PremAI's](https://www.premai.io/) prem-sdk with langchain. User can now access to deployed models (llms/embeddings) and use it with langchain's ecosystem. This PR adds the following: ### This PR adds the following: - [x] Add chat support - [X] Adding embedding support - [X] writing integration tests - [X] writing tests for chat - [X] writing tests for embedding - [X] writing unit tests - [X] writing tests for chat - [X] writing tests for embedding - [X] Adding documentation - [X] writing documentation for chat - [X] writing documentation for embedding - [X] run `make test` - [X] run `make lint`, `make lint_diff` - [X] Final checks (spell check, lint, format and overall testing) --------- Co-authored-by: Anindyadeep Sannigrahi <[email protected]> Co-authored-by: Bagatur <[email protected]> Co-authored-by: Erick Friis <[email protected]> Co-authored-by: Bagatur <[email protected]>
### Prem SDK integration in LangChain This PR adds the integration with [PremAI's](https://www.premai.io/) prem-sdk with langchain. User can now access to deployed models (llms/embeddings) and use it with langchain's ecosystem. This PR adds the following: ### This PR adds the following: - [x] Add chat support - [X] Adding embedding support - [X] writing integration tests - [X] writing tests for chat - [X] writing tests for embedding - [X] writing unit tests - [X] writing tests for chat - [X] writing tests for embedding - [X] Adding documentation - [X] writing documentation for chat - [X] writing documentation for embedding - [X] run `make test` - [X] run `make lint`, `make lint_diff` - [X] Final checks (spell check, lint, format and overall testing) --------- Co-authored-by: Anindyadeep Sannigrahi <[email protected]> Co-authored-by: Bagatur <[email protected]> Co-authored-by: Erick Friis <[email protected]> Co-authored-by: Bagatur <[email protected]>
### Prem SDK integration in LangChain This PR adds the integration with [PremAI's](https://www.premai.io/) prem-sdk with langchain. User can now access to deployed models (llms/embeddings) and use it with langchain's ecosystem. This PR adds the following: ### This PR adds the following: - [x] Add chat support - [X] Adding embedding support - [X] writing integration tests - [X] writing tests for chat - [X] writing tests for embedding - [X] writing unit tests - [X] writing tests for chat - [X] writing tests for embedding - [X] Adding documentation - [X] writing documentation for chat - [X] writing documentation for embedding - [X] run `make test` - [X] run `make lint`, `make lint_diff` - [X] Final checks (spell check, lint, format and overall testing) --------- Co-authored-by: Anindyadeep Sannigrahi <[email protected]> Co-authored-by: Bagatur <[email protected]> Co-authored-by: Erick Friis <[email protected]> Co-authored-by: Bagatur <[email protected]>
Prem SDK integration in LangChain
This PR adds the integration with PremAI's prem-sdk with langchain. User can now access to deployed models (llms/embeddings) and use it with langchain's ecosystem. This PR adds the following:
This PR adds the following:
make test
make lint
,make lint_diff