[PR #3602] [MERGED] examples: Update imports for deprecation #9950

Closed
opened 2025-11-12 15:17:47 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3602
Author: @erikos
Created: 4/11/2024
Status: Merged
Merged: 12/29/2024
Merged by: @jmorganca

Base: mainHead: langchain-python-rag-document


📝 Commits (1)

  • c0d9e59 Update imports for deprecation

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 examples/langchain-python-rag-document/main.py (+5 -5)

📄 Description

From the error message: Importing from langchain will no longer be supported as of langchain 0.2.0. Please import from langchain-community instead.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/3602 **Author:** [@erikos](https://github.com/erikos) **Created:** 4/11/2024 **Status:** ✅ Merged **Merged:** 12/29/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `langchain-python-rag-document` --- ### 📝 Commits (1) - [`c0d9e59`](https://github.com/ollama/ollama/commit/c0d9e59963464b1f03d1bc921f4dc7b2df1df55e) Update imports for deprecation ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `examples/langchain-python-rag-document/main.py` (+5 -5) </details> ### 📄 Description From the error message: Importing from langchain will no longer be supported as of langchain 0.2.0. Please import from langchain-community instead. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-12 15:17:47 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama-ollama#9950