Migrate conversation services to support translations (#96365)

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
pull/96305/head
Franck Nijhof 2023-07-12 12:32:25 +02:00 committed by GitHub
parent 7bc90297d2
commit eb3b56798d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 9 deletions

View File

@ -1,24 +1,16 @@
# Describes the format for available component services
process:
name: Process
description: Launch a conversation from a transcribed text.
fields:
text:
name: Text
description: Transcribed text
example: Turn all lights on
required: true
selector:
text:
language:
name: Language
description: Language of text. Defaults to server language
example: NL
selector:
text:
agent_id:
name: Agent
description: Assist engine to process your request
example: homeassistant
selector:
conversation_agent:

View File

@ -1 +1,23 @@
{ "title": "Conversation" }
{
"title": "Conversation",
"services": {
"process": {
"name": "Process",
"description": "Launches a conversation from a transcribed text.",
"fields": {
"text": {
"name": "Text",
"description": "Transcribed text input."
},
"language": {
"name": "Language",
"description": "Language of text. Defaults to server language."
},
"agent_id": {
"name": "Agent",
"description": "Conversation agent to process your request. The conversation agent is the brains of your assistant. It processes the incoming text commands."
}
}
}
}
}