Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #57

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ When deploying the application, the following environment variables can be set:
| No | ANTHROPIC_API_VERSION | `2023-06-01` | The version of the Anthropic API |
| No | PALM_API_URL | `https://generativelanguage.googleapis.com/v1beta2` | The base url for the PALM 2 API from Google |
| No | PALM_API_KEY | | The default API key used for authenticating with PaLM 2. [Get Key](https://developers.generativeai.google/products/palm) |
| No | OLLAMA_HOST | Example: `http://localhost:11434` | The base url for Ollama. Be aware that Vercel doesn´t allow direct IP access in edge functions so you will need to create some sort of subdomain/domain for your Ollama instance if you want to use it. |
| No | OLLAMA_HOST | | Example: `http://127.0.0.1:11434`. The base url for Ollama. Be aware that Vercel doesn´t allow direct IP access in edge functions so you will need to create some sort of subdomain/domain for your Ollama instance if you want to use it. |
| No | NEXT_PUBLIC_DEFAULT_OPENAI_SYSTEM_PROMPT | Defined in [constants file](./utils/app/const.ts) | The default system prompt to use on new conversations for OpenAI models. |
| No | NEXT_PUBLIC_DEFAULT_ANTHROPIC_SYSTEM_PROMPT | Defined in [constants file](./utils/app/const.ts) | The default system prompt to use on new conversations for Anthropic models. |
| No | NEXT_PUBLIC_DEFAULT_PALM_SYSTEM_PROMPT | Defined in [constants file](./utils/app/const.ts) | The default system prompt to use on new conversations for PaLM 2 models. |
Expand All @@ -156,16 +156,16 @@ When deploying the application, the following environment variables can be set:
| Yes | NEXT_PUBLIC_SUPABASE_ANON_KEY | | The supabase project anon key. |
| Yes | SUPABASE_SERVICE_ROLE_KEY | | The supabase project service role key. |
| Yes | SUPABASE_JWT_SECRET | | **Warning!** Generating a new JWT Secret may invalidate other supabase tokens. |
| No | EDGE_CONFIG | | Create a Vercel Edge Config Store, add "NEXTAUTH_EMAIL_PATTERNS": "`[email protected]`" this will overried the `NEXTAUTH_EMAIL_PATTERN` environment variable |
| No | EDGE_CONFIG | | Create a Vercel Edge Config Store, add "NEXTAUTH_EMAIL_PATTERNS": "`[email protected]`" this will overried the `NEXTAUTH_EMAIL_PATTERN` environment variable |
| No | NEXTAUTH_EMAIL_PATTERN | | The email regex pattern granted access to unSAGED. For example `[email protected]` |
| Yes | NEXTAUTH_SECRET | | NextAuth Settings. See [Documentation](https://next-auth.js.org/configuration/options#nextauth_secret) |
| In prod. | NEXTAUTH_URL | `http://localhost:3000` | NextAuth Settings. See [Documentation](https://next-auth.js.org/configuration/options#nextauth_url) |
| In docker | NEXTAUTH_URL_INTERNAL | | NextAuth Settings. See [Documentation](https://next-auth.js.org/configuration/options#nextauth_url_internal). |
| Yes | \<PROVIDER\>\_CLIENT_ID | | Provider OAuth Client ID |
| Yes | \<PROVIDER\>\_CLIENT_SECRET | | Provider OAuth Client Secret |
| Maybe | \<PROVIDER\>\_ISSUER | | Provider Issuer URL (Only some providers need this) |
| Maybe | EMAIL_SERVER | `smtp://username:[email protected]:587` | Email Provider Mail Server |
| Maybe | EMAIL_FROM | `[email protected]` | Email Provider From address Server |
| No | EMAIL_SERVER | | Example: `smtp://username:[email protected]:587`. Email Provider Mail Server |
| No | EMAIL_FROM | | Example: `[email protected]`. Email Provider From address Server |

Where \<PROVIDER\> is one of the following:

Expand Down