awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
openai avatar

openai/harmony

0
View on GitHub↗
4,409 stars·286 forks·Rust·Apache-2.0·5 vues

Harmony

Harmony est un SDK d'IA conçu pour tokeniser les conversations, formater les mises en page de raisonnement, analyser les sorties brutes et définir des schémas d'appel d'outils. Il fournit un système pour convertir les dialogues structurés et les appels d'outils en séquences de jetons requises pour l'inférence et l'entraînement de grands modèles de langage.

Le projet inclut un formateur de sortie qui structure les chaînes de raisonnement et les sorties multicanaux en mises en page cohérentes pour éviter la perte de jetons. Il dispose également d'un analyseur de réponse qui transforme les jetons de complétion bruts et les flux en direct en objets de message et rôles structurés.

Le SDK gère l'intégration d'outils via un framework pour définir des fonctions appelables et des espaces de noms. Il fournit en outre des capacités pour l'analyse de jetons en temps réel, la configuration du comportement du modèle, et la sérialisation de conversation avec état.

Features

  • Conversation Tokenizers - Converts structured conversations and tool calls into the specific token sequences required for LLM inference and training.
  • Tool Definitions - Provides systems for defining the schema and logic of functions that AI models can invoke.
  • LLM Tooling Integrations - Defines callable functions and namespaces to manage how a model interacts with external tools and APIs.
  • Model Output Transformers - Transforms raw completion tokens into structured message objects using recovery logic to handle malformed text output.
  • LLM Token Stream Parsers - Extracts roles and content incrementally from a live token stream as the model produces them.
  • Response Token Formatters - Structures model outputs and reasoning chains into consistent token sequences for open-weight model series.
  • Tool Calling Integration Frameworks - Organizes tool namespaces and outputs to manage how a model interacts with external functions and hierarchies.
  • Tool-Calling Schemas - Provides a framework for defining callable functions and namespaces to organize how a model interacts with external operations.
  • Model Response Layouts - Structures conversations and reasoning outputs into consistent layouts to ensure models operate without losing critical tokens.
  • LLM Response Parsers - Transforms raw completion tokens and live streams back into structured message objects with recovery logic for malformed text.
  • Reasoning Layout Formatting - Structures reasoning chains and multi-channel outputs into consistent layouts to ensure models operate without losing critical tokens.
  • Token-Message Converters - Transforms raw completion tokens into structured objects using recovery logic to handle malformed model output.
  • Response Stream Parsing - Provides real-time parsing of live token streams to extract roles and content as model responses are generated.
  • Token Sequence Formatters - Converts structured conversation objects into specific token sequences required for model inference and training.
  • Reasoning Configuration - Sets system constraints like identity and reasoning effort to control how a model communicates and reasons.
  • Conversation State Serializers - Organizes messages by author and role into formal sequences for consistent model interaction.
  • Namespaced Tool Hierarchies - Organizes callable functions into hierarchies to specify the exact operations a model can execute.
  • Malformed Output Recovery - Parses raw completion tokens into structured objects using logic to handle and fix malformed text output.
  • Model Encoding Configurations - Fetches predefined encoding sets by name to manage how tokens are processed for different model series.
  • Model Encoding Management - Fetches predefined encoding configurations by name to manage how tokens are processed and rendered for specific model series.
  • Multi-Channel Stream Renderers - Generates reasoning chains, tool preambles, and standard responses simultaneously within a single output stream.
  • Conversational Data Structures - Organizes messages between users and assistants into formal data structures to facilitate consistent interaction with a model.
  • Token-Level Incremental Processing - Processes incoming tokens one by one to identify roles and content in real-time from a live stream.
  • Artificial Intelligence - Renderer for the harmony response format.

Historique des stars

Graphique de l'historique des stars pour openai/harmonyGraphique de l'historique des stars pour openai/harmony

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait openai/harmony ?

Harmony est un SDK d'IA conçu pour tokeniser les conversations, formater les mises en page de raisonnement, analyser les sorties brutes et définir des schémas d'appel d'outils. Il fournit un système pour convertir les dialogues structurés et les appels d'outils en séquences de jetons requises pour l'inférence et l'entraînement de grands modèles de langage.

Quelles sont les fonctionnalités principales de openai/harmony ?

Les fonctionnalités principales de openai/harmony sont : Conversation Tokenizers, Tool Definitions, LLM Tooling Integrations, Model Output Transformers, LLM Token Stream Parsers, Response Token Formatters, Tool Calling Integration Frameworks, Tool-Calling Schemas.

Quelles sont les alternatives open-source à openai/harmony ?

Les alternatives open-source à openai/harmony incluent : microsoft/poml — Poml is a prompt management framework and templating engine designed for authoring, versioning, and rendering… samchon/typia — Typia is a compile-time code generator that transforms TypeScript type annotations into runtime validation,… livekit/agents — This project is a framework for developing multimodal AI agents that function as programmable participants in… boundaryml/baml — BAML is a prompt engineering framework and LLM client generator that defines AI prompts as type-safe functions. It… cloudwego/eino — Eino is an AI agent development kit and LLM application framework designed for building autonomous agents and… microsoft/ai-agents-for-beginners — This project is a structured educational resource and technical guide for designing and implementing autonomous…

Alternatives open source à Harmony

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Harmony.
  • samchon/typiaAvatar de samchon

    samchon/typia

    5,837Voir sur GitHub↗

    Typia is a compile-time code generator that transforms TypeScript type annotations into runtime validation, serialization, and schema functions without requiring decorators or separate schema files. It generates optimized validation and serialization code during TypeScript compilation, producing dedicated functions for each type that eliminate runtime schema objects for faster execution. The project extends this core capability into several integrated areas. It generates fully typed client SDKs from NestJS controller source code, keeping server and client types synchronized automatically. It

    Go
    Voir sur GitHub↗5,837
  • livekit/agentsAvatar de livekit

    livekit/agents

    9,379Voir sur GitHub↗

    This project is a framework for developing multimodal AI agents that function as programmable participants in real-time communication rooms. It enables the construction of agents that can see, hear, and speak by integrating speech-to-text, large language models, and text-to-speech pipelines to facilitate low-latency, natural conversations. The system is distinguished by its advanced orchestration of real-time media and conversational flow, including support for full-duplex speech, preemptive response generation, and sophisticated interruption management. It further differentiates itself throu

    Pythonagentsaiopenai
    Voir sur GitHub↗9,379
  • microsoft/pomlAvatar de microsoft

    microsoft/poml

    4,853Voir sur GitHub↗

    Poml is a prompt management framework and templating engine designed for authoring, versioning, and rendering structured prompts for large language models. It uses a semantic markup language to organize prompts into reusable templates, combining them with dynamic context and data to generate formatted inputs. The system distinguishes itself by decoupling core prompt logic from final presentation through a stylesheet-based approach. It provides a dedicated JSON schema output generator to enforce strict, machine-parsable model responses and a configuration interface for managing function tool s

    TypeScriptllmmarkup-languageprompt
    Voir sur GitHub↗4,853
  • boundaryml/bamlAvatar de BoundaryML

    BoundaryML/baml

    7,636Voir sur GitHub↗

    BAML is a prompt engineering framework and LLM client generator that defines AI prompts as type-safe functions. It serves as a structured data extraction tool and workflow orchestrator, transforming unstructured model responses into strongly typed objects using a custom schema language and alignment algorithms. The project distinguishes itself by using a compiler to generate language-specific boilerplate code for API communication and output parsing. It features a dedicated environment for designing complex prompt templates with conditional logic and reusable snippets, and employs genetic alg

    Rustbamlboundarymlguardrails
    Voir sur GitHub↗7,636
  • Voir les 30 alternatives à Harmony→