Content-Length: 301065 | pFad | http://github.com/agno-agi/ai-app

C5 GitHub - agno-agi/ai-app
Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

agno-agi/ai-app

Repository files navigation

AI App

This repo contains the code for running an AI App in 2 environments:

  1. dev: A development environment running locally on docker
  2. prd: A production environment running on AWS ECS

Setup Workspace

  1. Clone the git repo

from the ai-app dir:

  1. Create + activate a virtual env:
python3 -m venv aienv
source aienv/bin/activate
  1. Install phidata:
pip install phidata
  1. Setup workspace:
phi ws setup
  1. Copy workspace/example_secrets to workspace/secrets:
cp -r workspace/example_secrets workspace/secrets
  1. Optional: Create .env file:
cp example.env .env

Run AI App locally

  1. Install docker desktop

  2. Set OpenAI Key

Set the OPENAI_API_KEY environment variable using

export OPENAI_API_KEY=sk-***

OR set in the .env file

  1. Start the workspace using:
phi ws up
  1. Stop the workspace using:
phi ws down

Next Steps:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/agno-agi/ai-app

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy