Introduce the first version of the /chat route that mimics the OpenAI API

This commit is contained in:
Clément Renault
2025-05-13 11:19:32 +02:00
parent 5d0d12dfbd
commit 5400f3941a
6 changed files with 251 additions and 5 deletions

View File

@ -111,6 +111,7 @@ utoipa = { version = "5.3.1", features = [
"openapi_extensions",
] }
utoipa-scalar = { version = "0.3.0", optional = true, features = ["actix-web"] }
async-openai = "0.28.1"
[dev-dependencies]
actix-rt = "2.10.0"