Skip to content

tgberkeley/ai-personal-landing-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-personal-landing-page

A personal landing page with AI chat interactivity.

This app links up to the OpenAI Assistants API that allows you to have a ChatGPT prompted on any of your own data. Check out how to create your own assistant here.

🧬 1. Clone the Repo

git clone https://github.com/tgberkeley/ai-personal-landing-page.git

⚙️ 2. Installation

Open a terminal and run (Requires Python 3.8+):

cd ai-personal-landing-page
pip install -r requirements.txt

📦 3. Add API Keys

export OPENAI_API_KEY="YOUR_OPENAI_API_KEY" # replace me!
export ASSISTANT_ID="YOUR_ASSISTANT_ID" # replace me!

🥳 4. Run the application

Installing reflex also installs the reflex command line tool.

Test that the install was successful by creating your project:

reflex init
reflex run

🥳 5. Deploy the application

Host the application with reflex.

reflex deploy

Make sure to add the environment variables.

env-1 name = OPENAI_API_KEY
env-1 value = XXX (no quotes)

env-2 name = ASSISTANT_ID
env-2 value = YYY (no quotes)

About

A personal landing page with AI chat interactivity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages