pip install -r requirements.txt
uvicorn app.main:app --reload
docker build -t feedbacktool .
docker run -p 8000:8000 feedbacktool
run this after updating models
docker run -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=feedbacktool -p 5432:5432 postgres
alembic upgrade head
alembic revision --autogenerate -m "Your message here"
alembic upgrade head
OPENAI_API_KEY variable An api key from OpenAI is needed to access their AI models.
OPENAI_EMBEDDING_MODEL OpenAI's embedding model, such as "text-embedding-3-large"
OPENAI_LANGUAGE_MODEL OpenAI's Large Languade Model, such as "gpt-4o"
CHROMA_MODE variable, with one of the following values:
Add the following too:
UPLOADED_FILES_FOLDER, this is the folder where uploaded files will be saved in case they're saved locally.
OLLAMA_EMBEDDING_MODEL Ollama's embedding model that will be used when doing embeddings locally, for example "nomic-embed-text" Must have Ollama and the model installed on your computer.
stable
canary