Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Auto-Instrumentation for AI Observability

License

NotificationsYou must be signed in to change notification settings

capeprivacy/openinference

 
 

Repository files navigation

OpenInfence

OpenInference is a set of conventions and plugins that is complimentary toOpenTelemetry to enable tracing of AI applications. OpenInference is natively supported byarize-phoenix, but can be used with any OpenTelemetry-compatible backend as well.

Specification

The OpenInference specification is edited in markdown files found in thespec directory. It's designed to provide insight into the invocation of LLMs and the surrounding application context such as retrieval from vector stores and the usage of external tools such as search engines or APIs. The specification is transport and file-format agnostic, and is intended to be used in conjunction with other specifications such as JSON, ProtoBuf, and DataFrames.

Instrumentation

OpenInference provides a set of instrumentations for popular machine learning SDKs and frameworks in a variety of languages.

Python

Libraries

PackageDescriptionVersion
openinference-semantic-conventionsSemantic conventions for tracing of LLM Apps.PyPI Version
openinference-instrumentation-openaiOpenInference Instrumentation for OpenAI SDK.PyPI Version
openinference-instrumentation-llama-indexOpenInference Instrumentation for LlamaIndex.PyPI Version
openinference-instrumentation-dspyOpenInference Instrumentation for DSPy.PyPI Version
openinference-instrumentation-bedrockOpenInference Instrumentation for AWS Bedrock.PyPI Version
openinference-instrumentation-langchainOpenInference Instrumentation for LangChain.PyPI Version
openinference-instrumentation-mistralaiOpenInference Instrumentation for MistralAI.PyPI Version

Examples

NameDescriptionComplexity Level
OpenAI SDKOpenAI Python SDK, including chat completions and embeddingsBeginner
MistralAI SDKMistraAI Python SDKBeginner
LlamaIndexLlamaIndex query enginesBeginner
DSPyDSPy primitives and custom RAG modulesBeginner
Boto3 Bedrock ClientBoto3 Bedrock clientBeginner
LangChainLangChain primitives and simple chainsBeginner
LlamaIndex + Next.js ChatbotA fully functional chatbot using Next.js and a LlamaIndex FastAPI backendIntermediate
LangServeA LangChain application deployed with LangServe using custom metadata on a per-request basisIntermediate
DSPyA DSPy RAG application using FastAPI, Weaviate, and CohereIntermediate

JavaScript

Libraries

PackageDescriptionVersion
@arizeai/openinference-semantic-conventionsSemantic conventions for tracing of LLM Apps.NPM Version
@arizeai/openinference-instrumentation-openaiOpenInference Instrumentation for OpenAI SDK.NPM Version
@arizeai/openinference-instrumentation/langchainOpenInference Instrumentation for LangChain.js.NPM Version

Examples

NameDescriptionComplexity Level
OpenAI SDKOpenAI Node.js clientBeginner
LlamaIndex Express AppA fully functional LlamaIndex chatbot with a Next.js frontend and a LlamaIndex Express backend, instrumented usingopeninference-instrumentation-openaiIntermediate
LangChain OpenAIA simple script to call OpenAI via LangChain, instrumented usingopeninference-instrumentation-langchainBeginner
LangChain RAG Express AppA fully functional LangChain chatbot that uses RAG to answer user questions. It has a Next.js frontend and a LangChain Express backend, instrumented usingopeninference-instrumentation-langchainIntermediate
Next.js + OpenAIA Next.js 13 project bootstrapped withcreate-next-app that uses OpenAI to generate textBeginner

Supported Destinations

OpenInference supports the following destinations as span collectors.

Community

Join our community to connect with thousands of machine learning practitioners and LLM observability enthusiasts!

  • 🌍 Join ourSlack community.
  • 💡 Ask questions and provide feedback in the#phoenix-support channel.
  • 🌟 Leave a star on ourGitHub.
  • 🐞 Report bugs withGitHub Issues.
  • 𝕏 Follow us onX.
  • 🗺️ Check out ourroadmap to see where we're heading next.

Packages

No packages published

Languages

  • Python70.2%
  • TypeScript26.5%
  • Dockerfile1.2%
  • CSS1.1%
  • Other1.0%

[8]ページ先頭

©2009-2025 Movatter.jp