[GH-ISSUE #2242] 📝 Documentation > Add ollama-python code samples to llava model page #1288

Closed
opened 2026-04-12 11:06:10 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @adriens on GitHub (Jan 28, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2242

Originally assigned to: @bmizerany on GitHub.

About

ollama library has been released for Python and javascript and makes things even easier to achieve with local AI.

See ths tutorial on how to handle images with ollama library : Ollama has a Python library!:

image
image

💡 The idea

Wouldn't it interesting to add that kind of code to the llava image page ?

💰 Benefits

  • Promote libraries
  • Make it simpler for people to build on top top ollama

🔖 Resources

Originally created by @adriens on GitHub (Jan 28, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2242 Originally assigned to: @bmizerany on GitHub. # :grey_question: About [`ollama` library has been released for Python and javascript](https://twitter.com/ollama/status/1750683461256634409) and makes things even easier to achieve with local AI. See ths tutorial on how to handle images with `ollama` library : [Ollama has a Python library!](https://youtu.be/JwYwPiOh72w?si=6m41A6VVmUSez2-u&t=152): ![image](https://github.com/ollama/ollama/assets/5235127/2da6ba5d-43ef-466a-a22d-4a75b5cbef53) ![image](https://github.com/ollama/ollama/assets/5235127/51057076-00df-4a6e-93d8-3eabc6dcdb6c) # :bulb: The idea Wouldn't it interesting to add that kind of code to the[ `llava` image page](https://ollama.ai/library/llava) ? # :moneybag: Benefits - Promote libraries - Make it simpler for people to build on top top `ollama` # :bookmark: Resources - https://ollama.ai/library/llava - [Ollama has a Python library!](https://youtu.be/JwYwPiOh72w?si=6m41A6VVmUSez2-u&t=152) - [`ollama` library has been released for Python and javascript](https://twitter.com/ollama/status/1750683461256634409) - [Python & JavaScript Libraries](https://ollama.ai/blog/python-javascript-libraries) - [`ollama-python`](https://github.com/ollama/ollama-python) -
Author
Owner

@bmizerany commented on GitHub (Mar 12, 2024):

It seems there is a broader feature here that isn't specific to any model, but we could auto convert the curl example to javascript and python I presume.

Thank you for the feedback. We'll keep this open as we continue to work on ollama.com!

<!-- gh-comment-id:1992622727 --> @bmizerany commented on GitHub (Mar 12, 2024): It seems there is a broader feature here that isn't specific to any model, but we could auto convert the curl example to javascript and python I presume. Thank you for the feedback. We'll keep this open as we continue to work on ollama.com!
Author
Owner

@bmizerany commented on GitHub (Mar 4, 2025):

Closing due to age.

<!-- gh-comment-id:2696438794 --> @bmizerany commented on GitHub (Mar 4, 2025): Closing due to age.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#1288