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

refactor: update Ollama components to use langchain-ollama integration #4369

Merged
merged 3 commits into from
Nov 4, 2024

Conversation

ogabrielluiz
Copy link
Contributor

@ogabrielluiz ogabrielluiz commented Nov 3, 2024

This pull request updates the imports for OllamaEmbeddings and ChatOllama to use the langchain_ollama package. Additionally, it adds the langchain-ollama dependency to pyproject.toml and reorganizes the existing langchain dependencies for better clarity. These changes enhance the integration of the Ollama models within the project.

This silences a deprecation warning as well.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Nov 3, 2024
@ogabrielluiz ogabrielluiz enabled auto-merge (squash) November 3, 2024 13:13
@github-actions github-actions bot added refactor Maintenance tasks and housekeeping and removed refactor Maintenance tasks and housekeeping labels Nov 3, 2024
@ogabrielluiz ogabrielluiz changed the title refactor: update Ollama componenst to use langchain-ollama integration refactor: update Ollama components to use langchain-ollama integration Nov 3, 2024
@github-actions github-actions bot added refactor Maintenance tasks and housekeeping and removed refactor Maintenance tasks and housekeeping labels Nov 3, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 4, 2024
@ogabrielluiz ogabrielluiz merged commit f66139a into main Nov 4, 2024
27 of 28 checks passed
@ogabrielluiz ogabrielluiz deleted the chat-ollama branch November 4, 2024 13:00
ogabrielluiz added a commit that referenced this pull request Nov 4, 2024
#4369)

* refactor: reorganize langchain dependencies in pyproject.toml

* feat: add langchain-ollama dependency to pyproject.toml

* fix: update imports to use langchain_ollama for OllamaEmbeddings and ChatOllama
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer refactor Maintenance tasks and housekeeping size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants