Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 539 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 539 Bytes

logos-svc

Install

rye sync
rye run pre-commit install

Run

`rye run uvicorn logos.server:app --reload`

Send a command to the server

curl -X POST 'http://localhost:5050/tasks/create' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'x-api-secret: YOUR_API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"generatorName": "monologue",
    "config": {
        "characterId": "6577e5d5c77b37642c252423",
        "prompt": "who are you?"
    }
}'

Tests

`rye run pytest -s tests`