Skip to content

Commit

Permalink
Make it deployable to Vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpalmer committed May 2, 2024
1 parent 455365a commit 4d1f815
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
# Instead, rename this file to ".env" instead of ".env.example". (.env will not be committed)

# Create an OpenAI API key at https://platform.openai.com/account/api-keys
OPENAI_API_KEY="sk-123..."
OPENAI_API_KEY="sk-123..."
# Create an OpenAI Assistant at https://platform.openai.com/account/assistants.
# IMPORTANT! Be sure to enable file search and code interpreter tools.
OPENAI_ASSISTANT_ID="123..."
2 changes: 1 addition & 1 deletion app/assistant-config.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const assistantId = ""; // set your assistant ID here
export const assistantId = process.env.OPENAI_ASSISTANT_ID; // set your assistant ID here

0 comments on commit 4d1f815

Please sign in to comment.