velvet

Velvet AI gateway

Velvet AI Gateway

Introduction

Velvet AI Gateway helps you warehouse every AI request from OpenAI and Anthropic to your PostgreSQL database with just two lines of code. Use logs to analyze, evaluate, and customize AI features efficiently.

Features

  • Warehouse Requests: Log all your AI requests to a PostgreSQL database, including custom metadata.
  • Analyze Usage & Costs: Store data as JSON objects to allow detailed querying of logs to understand usage and costs.
  • Cache Requests: Implement caching to quickly return identical results, reducing costs and latency.
  • Batch Jobs: Execute batch jobs to query data in bulk, enhancing the handling of large sets of requests.
  • Generate Datasets: Select and export datasets for fine-tuning workflows and various batch tasks.
  • AI SQL Editor: Automated SQL editor to run queries on extensive datasets with ease.

How It Works

  1. Warehouse: Store every log.
  2. Analyze: Query and examine the data.
  3. Optimize: Use caching and batching to optimize performance and costs.

Get Started

  • Change two lines of code to integrate.
  • Use a customizable JSON object for in-depth analysis.
  • Monitor AI features, even opaque APIs like batch, for cost efficiency.

Find out more or try Velvet for free by visiting Velvet AI Gateway.