[PR #3591] [MERGED] examples: Update langchain-python-simple #21747

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

📋 Pull Request Information

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

Base: mainHead: example-langchain-python-simple


📝 Commits (3)

  • d3978e4 Better formatting of input prompt
  • 2cf8f08 Use invoke instead of predict
  • 9b008ea Merge branch 'main' into example-langchain-python-simple

📊 Changes

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

View changed files

📝 examples/langchain-python-simple/main.py (+2 -2)

📄 Description

  • remove deprecated predict command, use invoke instead
  • improve input handling

🔄 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/3591 **Author:** [@erikos](https://github.com/erikos) **Created:** 4/11/2024 **Status:** ✅ Merged **Merged:** 11/25/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `example-langchain-python-simple` --- ### 📝 Commits (3) - [`d3978e4`](https://github.com/ollama/ollama/commit/d3978e417bccb01ba3d7a25d7debb1f4c62d039e) Better formatting of input prompt - [`2cf8f08`](https://github.com/ollama/ollama/commit/2cf8f08aa76c643f0167b25839cba33e54afa0a3) Use invoke instead of predict - [`9b008ea`](https://github.com/ollama/ollama/commit/9b008eacc9b408e89b440043b57a2b0728b8ed53) Merge branch 'main' into example-langchain-python-simple ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `examples/langchain-python-simple/main.py` (+2 -2) </details> ### 📄 Description * remove deprecated predict command, use invoke instead * improve input handling --- <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:49:35 -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#21747