[GH-ISSUE #2688] Not an issue, but a question #1602

Closed
opened 2026-04-12 11:32:01 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @pedrocassalpacheco on GitHub (Feb 22, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2688

For the record, I love what you have done. Love the simplicity and easy of use. Much kudos.

So now to my question - the langchain examples only use langchainJS. Are there plans (or a current solution I failed to RTFM) for Python?

Originally created by @pedrocassalpacheco on GitHub (Feb 22, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2688 For the record, I love what you have done. Love the simplicity and easy of use. Much kudos. So now to my question - the langchain examples only use langchainJS. Are there plans (or a current solution I failed to RTFM) for Python?
Author
Owner

@sid-cypher commented on GitHub (Feb 22, 2024):

Please do RTFM, though.
A cursory search uncovered this documentation here:
https://github.com/ollama/ollama/blob/main/docs/tutorials/langchainpy.md

I've only tried out ollama recently, but it's an LLM server with a web API, so why wouldn't you use it from both JS and Python in the same way? No language bindings are needed.

<!-- gh-comment-id:1959967830 --> @sid-cypher commented on GitHub (Feb 22, 2024): Please do RTFM, though. A cursory search uncovered this documentation here: https://github.com/ollama/ollama/blob/main/docs/tutorials/langchainpy.md I've only tried out `ollama` recently, but it's an LLM server with a web API, so why wouldn't you use it from both JS and Python in the same way? No language bindings are needed.
Author
Owner

@adminazhar commented on GitHub (Feb 22, 2024):

@pedrocassalpacheco This might help you if you want to use ollama with langchain python, https://python.langchain.com/docs/integrations/llms/ollama

<!-- gh-comment-id:1960006322 --> @adminazhar commented on GitHub (Feb 22, 2024): @pedrocassalpacheco This might help you if you want to use ollama with langchain python, https://python.langchain.com/docs/integrations/llms/ollama
Author
Owner

@mxyng commented on GitHub (Feb 22, 2024):

FWIW there are official JS and Python Ollama client libraries if you want a quick and simple of interactiving with Ollama programmatically

<!-- gh-comment-id:1960053346 --> @mxyng commented on GitHub (Feb 22, 2024): FWIW there are official [JS](https://github.com/ollama/ollama-js) and [Python](https://github.com/ollama/ollama-python) Ollama client libraries if you want a quick and simple of interactiving with Ollama programmatically
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#1602