Code examples for the SIMOSphere AI platform -- European AI orchestration with GDPR compliance.
Production-ready code examples for the SIMOSphere AI platform. Each example demonstrates a specific integration pattern using the official @simosphere/sdk.
Built by SIMO GmbH. EU-hosted, GDPR-compliant inference.
npm install @simosphere/sdkimport { SIMOSphereClient } from '@simosphere/sdk';
const client = new SIMOSphereClient({
apiKey: process.env.SIMOSPHERE_API_KEY!,
});
const response = await client.chat({
messages: [{ role: 'user', content: 'Summarize this quarterly report' }],
});
console.log(response.choices[0].message.content);| Example | Description |
|---|---|
| Chat Completions | OpenAI-compatible chat API |
| Streaming | Server-sent events streaming |
| Function Calling | Tool use with typed schemas |
| Multi-Model Routing | Route to Mistral, OpenAI, or Anthropic |
| PII Redaction | Automatic PII removal before model calls |
- API Documentation: simosphereai.com/de/developers
- OpenAPI Spec: api.simosphereai.com/openapi.json
- SDK: @simosphere/sdk on npm
- CLI: @simosphere/cli on npm
- MCP Server: mcp.simosphereai.com
- llms.txt: simosphereai.com/llms.txt
Produktionsreife Codebeispiele fuer die SIMOSphere AI-Plattform. Jedes Beispiel veranschaulicht ein konkretes Integrationsmuster mit dem offiziellen @simosphere/sdk.
Entwickelt von SIMO GmbH. EU-Hosting, DSGVO-konform.
npm install @simosphere/sdkimport { SIMOSphereClient } from '@simosphere/sdk';
const client = new SIMOSphereClient({
apiKey: process.env.SIMOSPHERE_API_KEY!,
});
const response = await client.chat({
messages: [{ role: 'user', content: 'Fasse diesen Quartalsbericht zusammen' }],
});
console.log(response.choices[0].message.content);| Beispiel | Beschreibung |
|---|---|
| Chat Completions | OpenAI-kompatible Chat-API |
| Streaming | Server-Sent-Events-Streaming |
| Function Calling | Tool-Nutzung mit typisierten Schemas |
| Multi-Model Routing | Routing zu Mistral, OpenAI oder Anthropic |
| PII Redaction | Automatische PII-Entfernung vor Modellaufrufen |
- API-Dokumentation: simosphereai.com/de/developers
- OpenAPI-Spezifikation: api.simosphereai.com/openapi.json
- SDK: @simosphere/sdk auf npm
- CLI: @simosphere/cli auf npm
- MCP-Server: mcp.simosphereai.com
- llms.txt: simosphereai.com/llms.txt
MIT -- Engineered at SIMO GmbH · Aschaffenburg, Germany