Skip to main content
Version: 4.7.34

Introduction

Welcome to the documentation for Gentrace. These resources walk through using our workflows, concepts, API, and SDKs to evaluate generative AI in test and production.

API consumption

The Gentrace API follows the REST architecture. It uses resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and adheres to standard HTTP response codes, authentication, and verbs.

We recommend using our TypeScript Node.JS or Python packages to instrument your application, since the integration is much simpler.

Integration philosophy

For our observability features, our backend service does not route requests to external services like OpenAI for you. Your servers will still dispatch the requests directly to the LLM or vector store provider to minimize latency and maximize privacy.

Our API and SDK are designed to asynchronously send performance and feedback data to our servers, after your core logic completes.

Developer philosophy

We designed our SDK to require as few lines as possible to minimize integration life.

For our observability SDK, our instrumentation is a near type-match of the services that we monitor. Keeping developer friction low is important to us.

Although our core service is closed source, our SDKs and OpenAPI specification are MIT licensed. We welcome pull requests for fixes and new language support.