This is a simple FastAPI server that provides an OpenAI-compatible /chat/completions endpoint specifically designed to pass the ProphetArena onboarding test.
-
Install dependencies:
pip install -r requirements.txt
-
Run the server:
python main.py
Or using uvicorn directly:
uvicorn main:app --host 0.0.0.0 --port 8000
-
Host the endpoint: Deploy your server on a platform of your choice (eg. Render)
-
Onboard to Prophet Arena: Check if your endpoint works on prophetarena.co/onboarding and submit :)
- This is a mock API for testing purposes only
- It doesn't actually perform any AI inference, all responses are pre-generated mock data