Skip to content

ai-prophet/example-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Mock OpenAI-Compatible API for ProphetArena Onboarding

This is a simple FastAPI server that provides an OpenAI-compatible /chat/completions endpoint specifically designed to pass the ProphetArena onboarding test.

How to use

  1. Install dependencies:

    pip install -r requirements.txt
  2. Run the server:

    python main.py

    Or using uvicorn directly:

    uvicorn main:app --host 0.0.0.0 --port 8000
  3. Host the endpoint: Deploy your server on a platform of your choice (eg. Render)

  4. Onboard to Prophet Arena: Check if your endpoint works on prophetarena.co/onboarding and submit :)

Note

  • This is a mock API for testing purposes only
  • It doesn't actually perform any AI inference, all responses are pre-generated mock data

About

Example API for creating an OpenAI/Prophet Arena compliant endpoint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages