Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

.env.example

28 lines1.1 KB

1# Duplicate this file, rename it to .env, and fill in the key(s) you want to use.
2# Only the provider you pick in the UI needs a key.
3​
4# Ollaya (local decision server). No key. Run `ollaya serve` and
5# `ollaya pull laya:latest`. The example reads OLLAYA_BASE_URL when you set
6# it. A blank value keeps http://127.0.0.1:11435.
7# OLLAYA_BASE_URL=http://127.0.0.1:11435
8​
9# TypeSafe. Get a key at https://typesafe.ai
10# Used by the `typesafeEvaluator(...)` adapter (@tanstack/ai-typesafe).
11TYPESAFE_API_KEY=
12​
13# OpenRouter. Get a key at https://openrouter.ai/keys
14# Used by the `openRouterEvaluator(...)` adapter (@tanstack/ai-openrouter).
15OPENROUTER_API_KEY=
16​
17# Vercel AI Gateway.
18# Used by the `vercelGatewayEvaluator(...)` adapter (@tanstack/ai-vercel-gateway).
19AI_GATEWAY_API_KEY=
20​
21# Cloudflare Workers AI REST.
22# Used by the `cloudflareEvaluator(...)` adapter (@tanstack/ai-cloudflare).
23CLOUDFLARE_ACCOUNT_ID=
24CLOUDFLARE_API_TOKEN=
25​
26# OpenAI Decisions API. Get a key at https://platform.openai.com/api-keys
27# Used by the `openaiDecider(...)` adapter (@tanstack/ai-openai).
28OPENAI_API_KEY=