Using it
Chat and streaming, tools and structured answers, images and files, embeddings, the browser, and use cases.
The API speaks the same language as OpenAI’s, so the clients and libraries you already know work by changing the base address. @sypnia/ai adds the Sypnia parts: the task, the use case and the person.
Send messages, get the answer as it is written, and say which use case and which person the call is for.
Let the model ask your code for data, and get answers as JSON that always follows your schema.
Send photos and PDFs for the model to read, and the limits on them.
Turn texts into numbers that stand for their meaning, to search by meaning or find similar things.
Let your app's pages call AI without ever holding a secret key, with a limit for each person.
Tie every call to the use case that made it, so its cost and its speed show up where you look for them.