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

fix: Update import statements for OllamaEmbeddings #2584

Merged
merged 1 commit into from
May 11, 2024

Conversation

StanGirard
Copy link
Collaborator

This pull request fixes the import statements for OllamaEmbeddings in multiple files. The import statements are updated to use the correct package name "langchain_community.embeddings" instead of "langchain.embeddings.ollama". This ensures that the code can be compiled and executed without any import errors.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label May 11, 2024
Copy link

vercel bot commented May 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
quivrapp 🔄 Building (Inspect) Visit Preview 💬 Add feedback May 11, 2024 6:49pm

@dosubot dosubot bot added the area: backend Related to backend functionality or under the /backend directory label May 11, 2024
Copy link

sonarcloud bot commented May 11, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@StanGirard StanGirard merged commit 3086891 into main May 11, 2024
3 of 4 checks passed
@StanGirard StanGirard deleted the fix/imports-error branch May 11, 2024 18:50
StanGirard added a commit that referenced this pull request May 13, 2024
🤖 I have created a release *beep* *boop*
---


## 0.0.252 (2024-05-13)

## What's Changed
* docs: Update GPT4 documentation with available tools and use cases by
@StanGirard in #2580
* docs: Add docstrings to integration brains by @StanGirard in
#2582
* fix: Update import statements for OllamaEmbeddings by @StanGirard in
#2584
* feat: Add support for gpt-4o model by @StanGirard in
#2589


**Full Changelog**:
v0.0.251...v0.0.252

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
@wwjCMP
Copy link

wwjCMP commented May 14, 2024

Hey, I want to know the correct way to use the Ollama embedding model now.
#2588

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend Related to backend functionality or under the /backend directory size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants