mirror of
https://github.com/smkrv/ha-text-ai.git
synced 2026-07-30 04:43:56 +08:00
62 lines
1.9 KiB
JSON
62 lines
1.9 KiB
JSON
{
|
|
"config": {
|
|
"option": {
|
|
"api_key": {
|
|
"name": "API Key",
|
|
"description": "Your OpenAI API key"
|
|
},
|
|
"model": {
|
|
"name": "Model",
|
|
"description": "AI model to use for responses"
|
|
},
|
|
"temperature": {
|
|
"name": "Temperature",
|
|
"description": "Temperature for response generation (0-2)"
|
|
},
|
|
"max_tokens": {
|
|
"name": "Max Tokens",
|
|
"description": "Maximum tokens in response (1-4096)"
|
|
},
|
|
"api_endpoint": {
|
|
"name": "API Endpoint",
|
|
"description": "API endpoint URL"
|
|
},
|
|
"request_interval": {
|
|
"name": "Request Interval",
|
|
"description": "Minimum time between API requests (seconds)"
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"temperature": "Temperature",
|
|
"max_tokens": "Max Tokens",
|
|
"request_interval": "Request Interval"
|
|
},
|
|
"error": {
|
|
"invalid_api_key": "Invalid API key",
|
|
"cannot_connect": "Cannot connect to the API",
|
|
"unknown_error": "Unknown error",
|
|
"invalid_model": "Invalid model",
|
|
"rate_limit_exceeded": "Rate limit exceeded",
|
|
"context_length_exceeded": "Context length exceeded",
|
|
"api_error": "API error",
|
|
"timeout_error": "Timeout error",
|
|
"queue_full": "Queue full",
|
|
"invalid_prompt": "Invalid prompt"
|
|
},
|
|
"state": {
|
|
"ready": "Ready",
|
|
"processing": "Processing",
|
|
"error": "Error",
|
|
"disconnected": "Disconnected",
|
|
"rate_limited": "Rate limited",
|
|
"initializing": "Initializing"
|
|
},
|
|
"services": {
|
|
"ask_question": "Ask Question",
|
|
"clear_history": "Clear History",
|
|
"get_history": "Get History",
|
|
"set_system_prompt": "Set System Prompt"
|
|
}
|
|
}
|