mirror of
https://github.com/smkrv/ha-text-ai.git
synced 2026-07-22 07:03:58 +08:00
Release v2.0.0
This commit is contained in:
@@ -61,35 +61,27 @@
|
||||
"fields": {
|
||||
"instance": {
|
||||
"name": "Instance",
|
||||
"description": "Name of the HA Text AI instance to use",
|
||||
"required": true
|
||||
"description": "Name of the HA Text AI instance to use"
|
||||
},
|
||||
"question": {
|
||||
"name": "Question",
|
||||
"description": "Your question or prompt for the AI assistant",
|
||||
"required": true
|
||||
"description": "Your question or prompt for the AI assistant"
|
||||
},
|
||||
"system_prompt": {
|
||||
"name": "System Prompt",
|
||||
"description": "Optional system prompt to set context for this specific question",
|
||||
"required": false
|
||||
"description": "Optional system prompt to set context for this specific question"
|
||||
},
|
||||
"model": {
|
||||
"name": "Model",
|
||||
"description": "Select AI model to use (optional, overrides default setting)",
|
||||
"required": false
|
||||
"description": "Select AI model to use (optional, overrides default setting)"
|
||||
},
|
||||
"temperature": {
|
||||
"name": "Temperature",
|
||||
"description": "Controls response creativity (0.0-2.0)",
|
||||
"required": false,
|
||||
"default": 0.7
|
||||
"description": "Controls response creativity (0.0-2.0)"
|
||||
},
|
||||
"max_tokens": {
|
||||
"name": "Max Tokens",
|
||||
"description": "Maximum length of the response (1-4096 tokens)",
|
||||
"required": false,
|
||||
"default": 1000
|
||||
"description": "Maximum length of the response (1-4096 tokens)"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -99,8 +91,7 @@
|
||||
"fields": {
|
||||
"instance": {
|
||||
"name": "Instance",
|
||||
"description": "Name of the HA Text AI instance to clear history for",
|
||||
"required": true
|
||||
"description": "Name of the HA Text AI instance to clear history for"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -110,36 +101,27 @@
|
||||
"fields": {
|
||||
"instance": {
|
||||
"name": "Instance",
|
||||
"description": "Name of the HA Text AI instance to get history from",
|
||||
"required": true
|
||||
"description": "Name of the HA Text AI instance to get history from"
|
||||
},
|
||||
"limit": {
|
||||
"name": "Limit",
|
||||
"description": "Number of conversations to return (1-100)",
|
||||
"required": false,
|
||||
"default": 10
|
||||
"description": "Number of conversations to return (1-100)"
|
||||
},
|
||||
"filter_model": {
|
||||
"name": "Filter Model",
|
||||
"description": "Filter conversations by specific AI model",
|
||||
"required": false
|
||||
"description": "Filter conversations by specific AI model"
|
||||
},
|
||||
"start_date": {
|
||||
"name": "Start Date",
|
||||
"description": "Filter conversations starting from this date/time",
|
||||
"required": false
|
||||
"description": "Filter conversations starting from this date/time"
|
||||
},
|
||||
"include_metadata": {
|
||||
"name": "Include Metadata",
|
||||
"description": "Include additional information like tokens used, response time, etc.",
|
||||
"required": false,
|
||||
"default": false
|
||||
"description": "Include additional information like tokens used, response time, etc."
|
||||
},
|
||||
"sort_order": {
|
||||
"name": "Sort Order",
|
||||
"description": "Sort order for results (newest or oldest first)",
|
||||
"required": false,
|
||||
"default": "desc"
|
||||
"description": "Sort order for results (newest or oldest first)"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -149,13 +131,11 @@
|
||||
"fields": {
|
||||
"instance": {
|
||||
"name": "Instance",
|
||||
"description": "Name of the HA Text AI instance to set system prompt for",
|
||||
"required": true
|
||||
"description": "Name of the HA Text AI instance to set system prompt for"
|
||||
},
|
||||
"prompt": {
|
||||
"name": "System Prompt",
|
||||
"description": "Instructions that define how the AI should behave and respond",
|
||||
"required": true
|
||||
"description": "Instructions that define how the AI should behave and respond"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,35 +61,27 @@
|
||||
"fields": {
|
||||
"instance": {
|
||||
"name": "Экземпляр",
|
||||
"description": "Название экземпляра HA Text AI для использования",
|
||||
"required": true
|
||||
"description": "Название экземпляра HA Text AI для использования"
|
||||
},
|
||||
"question": {
|
||||
"name": "Вопрос",
|
||||
"description": "Ваш вопрос или запрос для AI ассистента",
|
||||
"required": true
|
||||
"description": "Ваш вопрос или запрос для AI ассистента"
|
||||
},
|
||||
"system_prompt": {
|
||||
"name": "Системный промпт",
|
||||
"description": "Необязательный системный промпт для установки контекста этого вопроса",
|
||||
"required": false
|
||||
"description": "Необязательный системный промпт для установки контекста этого вопроса"
|
||||
},
|
||||
"model": {
|
||||
"name": "Модель",
|
||||
"description": "Выберите AI модель (необязательно, переопределяет настройки по умолчанию)",
|
||||
"required": false
|
||||
"description": "Выберите AI модель (необязательно, переопределяет настройки по умолчанию)"
|
||||
},
|
||||
"temperature": {
|
||||
"name": "Temperature",
|
||||
"description": "Управляет креативностью ответов (0.0-2.0)",
|
||||
"required": false,
|
||||
"default": 0.7
|
||||
"description": "Управляет креативностью ответов (0.0-2.0)"
|
||||
},
|
||||
"max_tokens": {
|
||||
"name": "Max Tokens",
|
||||
"description": "Максимальная длина ответа (1-4096 токенов)",
|
||||
"required": false,
|
||||
"default": 1000
|
||||
"description": "Максимальная длина ответа (1-4096 токенов)"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -99,8 +91,7 @@
|
||||
"fields": {
|
||||
"instance": {
|
||||
"name": "Экземпляр",
|
||||
"description": "Название экземпляра HA Text AI для очистки истории",
|
||||
"required": true
|
||||
"description": "Название экземпляра HA Text AI для очистки истории"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -110,36 +101,27 @@
|
||||
"fields": {
|
||||
"instance": {
|
||||
"name": "Экземпляр",
|
||||
"description": "Название экземпляра HA Text AI для получения истории",
|
||||
"required": true
|
||||
"description": "Название экземпляра HA Text AI для получения истории"
|
||||
},
|
||||
"limit": {
|
||||
"name": "Лимит",
|
||||
"description": "Количество разговоров для возврата (1-100)",
|
||||
"required": false,
|
||||
"default": 10
|
||||
"description": "Количество разговоров для возврата (1-100)"
|
||||
},
|
||||
"filter_model": {
|
||||
"name": "Фильтр модели",
|
||||
"description": "Фильтровать разговоры по конкретной AI модели",
|
||||
"required": false
|
||||
"description": "Фильтровать разговоры по конкретной AI модели"
|
||||
},
|
||||
"start_date": {
|
||||
"name": "Начальная дата",
|
||||
"description": "Фильтровать разговоры начиная с этой даты/времени",
|
||||
"required": false
|
||||
"description": "Фильтровать разговоры начиная с этой даты/времени"
|
||||
},
|
||||
"include_metadata": {
|
||||
"name": "Включить метаданные",
|
||||
"description": "Включить дополнительную информацию, такую как использованные токены, время ответа и т.д.",
|
||||
"required": false,
|
||||
"default": false
|
||||
"description": "Включить дополнительную информацию, такую как использованные токены, время ответа и т.д."
|
||||
},
|
||||
"sort_order": {
|
||||
"name": "Порядок сортировки",
|
||||
"description": "Порядок сортировки результатов (сначала новые или старые)",
|
||||
"required": false,
|
||||
"default": "desc"
|
||||
"description": "Порядок сортировки результатов (сначала новые или старые)"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -149,13 +131,11 @@
|
||||
"fields": {
|
||||
"instance": {
|
||||
"name": "Экземпляр",
|
||||
"description": "Название экземпляра HA Text AI для настройки",
|
||||
"required": true
|
||||
"description": "Название экземпляра HA Text AI для настройки"
|
||||
},
|
||||
"prompt": {
|
||||
"name": "Системный промпт",
|
||||
"description": "Инструкции, определяющие поведение и ответы AI",
|
||||
"required": true
|
||||
"description": "Инструкции, определяющие поведение и ответы AI"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user