Sunflower Inference
AI & Chat
Sunflower Chat
Professional Sunflower inference endpoint for multilingual chat completions.
This endpoint provides access to Sunbird AI's Sunflower model, specialized in:
- Multilingual conversations in Ugandan languages (Luganda, Acholi, Ateso, etc.)
- Cross-lingual translations and explanations
- Cultural context understanding
- Educational content in local languages
Features:
- Automatic retry with exponential backoff
- Context-aware responses
- Usage tracking and monitoring
- Support for custom system messages
- Message history management
Example message list with previous chat:
[
{"role": "system", "content": "You are Sunflower, a multilingual assistant for Ugandan languages made by Sunbird AI. You specialise in accurate translations, explanations, summaries and other cross-lingual tasks."},
{"role": "user", "content": "Translate 'How are you?' to Luganda."},
{"role": "assistant", "content": "In Luganda, 'How are you?' is 'Oli otya?'."},
{"role": "user", "content": "How do I say 'Good morning' in Acholi?"}
]
Example message list without previous chat:
[
{"role": "user", "content": "Explain the meaning of 'Ubuntu'."}
]
Suggested system prompt:
"You are Sunflower, a multilingual assistant for Ugandan languages made by Sunbird AI. You specialise in accurate translations, explanations, summaries and other cross-lingual tasks. Always provide clear, culturally relevant, and educational responses."
POST
Sunflower Inference
Documentation Index
Fetch the complete documentation index at: https://sunbirdai.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
List of conversation messages
Model type: 'qwen' or 'gemma'
Sampling temperature
Required range:
0 <= x <= 2Whether to stream the response
Custom system message
Response
Successful Response
The AI's response
Model used for inference
Token usage statistics
Total processing time in seconds
Model inference time in seconds
Number of messages processed
