REST API for integrating ThinkLocAI into your applications, with streaming, OAuth, and OpenAPI documentation.
// ThinkLocAI REST API
const response = await fetch('/api/chat', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model: 'llama-3.1-70b',
messages: [
{ role: 'user', content: 'Zusammenfassung...' }
],
stream: true
})
});Transparency notice: this demo is a simulation using prepared sample data and does not show output from a live AI model. Labelled in line with Art. 50 of Regulation (EU) 2024/1689.
Start with the API documentation and connect ThinkLocAI to your existing applications.
"Accept all" means you consent to the Statistics category: we then load Google Analytics to see which pages are visited. With "Necessary only" or by closing this banner, Google Analytics is not loaded. You can withdraw your consent at any time via "Cookie Settings" in the footer. More info