awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ollama avatar

ollama/ollama-python

0
View on GitHub↗
9,378 نجوم·922 تفرعات·Python·mit·6 مشاهداتollama.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.

سجل النجوم

مخطط تاريخ النجوم لـ ollama/ollama-pythonمخطط تاريخ النجوم لـ ollama/ollama-python

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

الأسئلة الشائعة

ما هي وظيفة 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.

ما هي الميزات الرئيسية لـ ollama/ollama-python؟

الميزات الرئيسية لـ ollama/ollama-python هي: Local Model Integrations, OpenAI-Compatible APIs, Chat Completion Services, Embedding Clients, Local Model Lifecycle Managers, Model Lifecycle Managers, Text Embedding Generators, Vector Embeddings.

ما هي البدائل مفتوحة المصدر لـ ollama/ollama-python؟

تشمل البدائل مفتوحة المصدر لـ ollama/ollama-python: 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…

بدائل مفتوحة المصدر لـ Ollama Python

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Ollama Python.
  • langroid/langroidالصورة الرمزية لـ langroid

    langroid/langroid

    3,894عرض على GitHub↗

    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
    عرض على GitHub↗3,894
  • ollama/ollama-jsالصورة الرمزية لـ ollama

    ollama/ollama-js

    4,277عرض على GitHub↗

    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
    عرض على GitHub↗4,277
  • mlc-ai/web-llmالصورة الرمزية لـ mlc-ai

    mlc-ai/web-llm

    18,208عرض على GitHub↗

    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
    عرض على GitHub↗18,208
  • ericlbuehler/mistral.rsالصورة الرمزية لـ EricLBuehler

    EricLBuehler/mistral.rs

    6,597عرض على GitHub↗

    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
    عرض على GitHub↗6,597
  • عرض جميع البدائل الـ 30 لـ Ollama Python→