@appweaver/openai
v2.10.0
Published
Appweaver - the backend framework for AI-first development (@openai)
Maintainers
Readme
Description
@appweaver/openai is the openai AI driver of Appweaver, a module enabled
by installing it along with @appweaver/ai. It speaks the Chat Completions and Embeddings APIs of OpenAI with the
official openai SDK, which every OpenAI-compatible server implements, so one driver reaches OpenAI, OpenRouter,
Ollama, LM Studio, vLLM, llama.cpp, LiteLLM, Groq, Together, Fireworks, DeepSeek, Mistral, xAI, Gemini and Hugging Face,
each an endpoint of the ai config selecting its preset, or any other server by its baseUrl.
Installation
npm install @appweaver/ai @appweaver/openaior weaver module add ai in a project created with @appweaver/create.
{
"config": {
"ai": {
"endpoints": {
"local": { "preset": "ollama" },
"openrouter": {
"preset": "openrouter",
"apiKey": "${OPENROUTER_API_KEY}"
}
}
}
}
}Documentation
- Appweaver README – getting started, configuration, and the overview of every package
- AI reference – the endpoints, the presets,
AiService, the tools and the drivers - Agent skill – the complete framework reference shipped to every scaffolded project
License
Appweaver is MIT licensed.
