/Alfred

Primary LanguagePython

Alfred

Instruction to run the app

  1. clone the repo.

  2. Create virtual environment (optional)

  3. activate virtal environment

  4. cd into root directory and then install the required dependecies using the command pip install -r requirements.txt.

  5. run falsk server using command pthon db_server.py (setup credentials first)

  6. run the app using command streamlit run App.py

Note

Setup you tasking.ai credentials which include (Tasking ai API, chat model id, embedings model id, FLASK_PORT, FLASK_HOST).

example:

Tasking_API_KEY = tkxxxxxxxxxxxxxxxxxxxxxxxxxx

model_id = Txxxxxxx

embed_model_id = Txxxxxxx

FLASK_PORT=5000

FLASK_HOST=127.0.0.1