Added an endpoint for getting the actual stored responses, and used it to test and improve the python package.
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
# Since the ".env" file is gitignored, you can use the ".env.example" file to
|
|
# build a new ".env" file when you clone the repo. Keep this file up-to-date
|
|
# when you add new variables to `.env`.
|
|
|
|
# This file will be committed to version control, so make sure not to have any
|
|
# secrets in it. If you are cloning this repo, create a copy of this file named
|
|
# ".env" and populate it with your secrets.
|
|
|
|
# When adding additional environment variables, the schema in "/src/env.mjs"
|
|
# should be updated accordingly.
|
|
|
|
# Prisma
|
|
# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
|
|
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/openpipe?schema=public"
|
|
|
|
# OpenAI API key. Instructions on generating a key can be found here:
|
|
# https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key
|
|
OPENAI_API_KEY=""
|
|
|
|
# Replicate API token. Create a token here: https://replicate.com/account/api-tokens
|
|
REPLICATE_API_TOKEN=""
|
|
|
|
NEXT_PUBLIC_SOCKET_URL="http://localhost:3318"
|
|
|
|
# Next Auth
|
|
NEXTAUTH_SECRET="your_secret"
|
|
NEXTAUTH_URL="http://localhost:3000"
|
|
|
|
NEXT_PUBLIC_HOST="http://localhost:3000"
|
|
|
|
# Next Auth Github Provider
|
|
GITHUB_CLIENT_ID="your_client_id"
|
|
GITHUB_CLIENT_SECRET="your_secret"
|
|
|
|
OPENPIPE_BASE_URL="http://localhost:3000/api/v1"
|
|
OPENPIPE_API_KEY="your_key"
|