[PR #994] [MERGED] Add OllamaEmbeddings to python LangChain example #20966

Closed
opened 2026-04-19 15:21:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/994
Author: @smartalecH
Created: 11/4/2023
Status: Merged
Merged: 11/29/2023
Merged by: @jmorganca

Base: mainHead: main


📝 Commits (2)

  • 2cf03cd Add OllamaEmbeddings to python LangChain example
  • 9e029b6 typo

📊 Changes

1 file changed (+4 additions, -3 deletions)

View changed files

📝 docs/tutorials/langchainpy.md (+4 -3)

📄 Description

The current docs use GPT4AllEmbeddings(). Here we simply swap that out for OllamaEmbeddings, which was recently added to LangChain.


🔄 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/994 **Author:** [@smartalecH](https://github.com/smartalecH) **Created:** 11/4/2023 **Status:** ✅ Merged **Merged:** 11/29/2023 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`2cf03cd`](https://github.com/ollama/ollama/commit/2cf03cda1ed3fc0e6cc9652d07a8d822ebcfd5c6) Add OllamaEmbeddings to python LangChain example - [`9e029b6`](https://github.com/ollama/ollama/commit/9e029b666680b704394ffc5ae437184cefcd7d19) typo ### 📊 Changes **1 file changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docs/tutorials/langchainpy.md` (+4 -3) </details> ### 📄 Description The current docs use `GPT4AllEmbeddings()`. Here we simply swap that out for `OllamaEmbeddings`, which was [recently added](https://github.com/langchain-ai/langchain/pull/10124) to LangChain. --- <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 2026-04-19 15:21:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#20966