awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ollama avatar

ollama/ollama-python

0
View on GitHub↗
9,378 Stars·922 Forks·Python·mit·6 Aufrufeollama.com↗

Ollama Python

ollama-python is a Python client for interacting with large language models. It provides an interface for sending prompts to receive text and chat completions, as well as a dedicated client for generating numerical vector embeddings from text.

The project includes a wrapper that emulates the OpenAI API, allowing applications built for that standard to interact with local models. It also provides a non-blocking asynchronous client for executing concurrent requests.

The library covers the full model lifecycle, including the ability to pull, create, list, and delete models within a local environment. It handles remote endpoint connectivity via configurable host addresses and authentication headers.

Features

  • Local Model Integrations - Provides a Python client for integrating locally hosted language models to generate text and chat completions.
  • OpenAI-Compatible APIs - Implements OpenAI-compatible API interfaces to allow local models to work with applications built for OpenAI.
  • Chat Completion Services - Provides interfaces for sending prompts to receive both structured text responses and conversational chat replies.
  • Embedding Clients - Provides a dedicated client for generating numerical vector embeddings from text using hosted models.
  • Local Model Lifecycle Managers - Automates the lifecycle of local models, including pulling, creating, listing, and deleting instances.
  • Model Lifecycle Managers - Implements tools for pulling, creating, listing, and deleting language models within a local environment.
  • Text Embedding Generators - Includes a dedicated client for generating numerical vector embeddings from text for search and similarity tasks.
  • Vector Embeddings - Converts text into numerical vector representations for use in search systems or similarity-based applications.
  • LLM Clients - Provides a programmatic interface for sending prompts to large language models and receiving completions.
  • Cloud API Emulators - Maps internal method calls to external API standards to ensure compatibility with third-party provider formats.
  • LLM Stream Processing - Processes model responses piece by piece using Python generators for real-time text streaming.
  • Unified Model Catalogs - Allows retrieval of a detailed catalog of installed models, including names, sizes, and version digests.
  • Asynchronous Clients - Offers a non-blocking interface for executing concurrent requests to a language model server.
  • Asynchronous Request Execution - Provides a non-blocking asynchronous client for executing concurrent requests to language models.
  • Concurrent AI Requesting - Enables non-blocking requests to language models to handle multiple concurrent AI operations.
  • Asyncio Coroutine Execution - Uses Python's asyncio event loop to handle multiple network requests simultaneously without halting the program.
  • REST Clients - Implements an HTTP-based REST client to communicate with the backend Ollama server.

Star-Verlauf

Star-Verlauf für ollama/ollama-pythonStar-Verlauf für ollama/ollama-python

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht ollama/ollama-python?

ollama-python is a Python client for interacting with large language models. It provides an interface for sending prompts to receive text and chat completions, as well as a dedicated client for generating numerical vector embeddings from text.

Was sind die Hauptfunktionen von ollama/ollama-python?

Die Hauptfunktionen von ollama/ollama-python sind: Local Model Integrations, OpenAI-Compatible APIs, Chat Completion Services, Embedding Clients, Local Model Lifecycle Managers, Model Lifecycle Managers, Text Embedding Generators, Vector Embeddings.

Welche Open-Source-Alternativen gibt es zu ollama/ollama-python?

Open-Source-Alternativen zu ollama/ollama-python sind unter anderem: langroid/langroid — Langroid is a multi-agent orchestration framework and tool integration suite designed for building complex AI… ollama/ollama-js — ollama-js is a JavaScript client library and API wrapper that provides a programmatic interface for interacting with… mlc-ai/web-llm — WebLLM is a library for executing large language models directly within web browsers. It provides a framework for… ericlbuehler/mistral.rs — mistral.rs is an inference engine for large language models that runs locally and exposes models behind OpenAI and… zai-org/glm-4.5 — GLM-4.5 is a multimodal large language model and advanced reasoning system. It functions as an AI coding assistant, an… sgl-project/sglang — Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It…

Open-Source-Alternativen zu Ollama Python

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Ollama Python.
  • langroid/langroidAvatar von langroid

    langroid/langroid

    3,894Auf GitHub ansehen↗

    Langroid is a multi-agent orchestration framework and tool integration suite designed for building complex AI applications. It serves as a multi-modal integration layer that connects diverse local and remote language models with an agentic retrieval-augmented generation system. The project distinguishes itself through a collaborative message-exchange paradigm, allowing specialized agents to delegate tasks hierarchically and coordinate via structured communication. It features an advanced state management system for conversational AI, including the ability to rewind and prune conversation hist

    Pythonagentsaichatgpt
    Auf GitHub ansehen↗3,894
  • ollama/ollama-jsAvatar von ollama

    ollama/ollama-js

    4,277Auf GitHub ansehen↗

    ollama-js is a JavaScript client library and API wrapper that provides a programmatic interface for interacting with and managing large language models. It enables the execution of models in both local and cloud-based environments, facilitating the generation of conversational text and the management of model lifecycles. The project distinguishes itself by offering specialized tools for model administration, including the ability to download, create, and remove models, as well as the capacity to define custom model blueprints and prompt templates. It also provides a vector embedding client fo

    TypeScriptjavascriptjsollama
    Auf GitHub ansehen↗4,277
  • mlc-ai/web-llmAvatar von mlc-ai

    mlc-ai/web-llm

    18,208Auf GitHub ansehen↗

    WebLLM is a library for executing large language models directly within web browsers. It provides a framework for building conversational artificial intelligence applications that perform inference locally, ensuring user data privacy by eliminating the need for external server dependencies. The project distinguishes itself by leveraging browser-native graphics APIs to perform intensive machine learning computations on the client side. It maintains application responsiveness by offloading heavy model tasks to background threads and ensures continuous operation through service workers that func

    TypeScriptchatgptdeep-learninglanguage-model
    Auf GitHub ansehen↗18,208
  • ericlbuehler/mistral.rsAvatar von EricLBuehler

    EricLBuehler/mistral.rs

    6,597Auf GitHub ansehen↗

    mistral.rs is an inference engine for large language models that runs locally and exposes models behind OpenAI and Anthropic-compatible APIs. It serves as a multi-model serving platform, capable of loading several models in a single server process with per-request routing and on-demand loading and unloading. The engine supports multimodal inference, processing text alongside images, video, audio, and speech inputs, and includes a quantized model deployment runtime that reduces memory use and speeds up inference on consumer hardware. The project distinguishes itself through an agentic tool exe

    Rustllmrustuqff
    Auf GitHub ansehen↗6,597
  • Alle 30 Alternativen zu Ollama Python anzeigen→