This repository contains the server code required for running the llm-finetuning-agent. It includes various components for evaluation, API serving, and chatbot functionality.
- Python 3.x
- uv (Python package manager)
- Install uv
cd app
pip uv
The server consists of multiple components that need to be run in sequence:
Run the evaluation script with specified metrics:
uv run eval.py --metrics relevancy correctness clarity professionalism --data-generation-method raft
Start the main API server:
uv run uvicorn main:app --host 0.0.0.0 --port 8080 > run_server.log 2>&1 &
Start the chatbot server:
uv run python chatbot.py > chatbot.log 2>&1 &