-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jekalmin
committed
Dec 24, 2023
1 parent
16240af
commit c5e0f98
Showing
2 changed files
with
94 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
custom_components/extended_openai_conversation/services.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
query_image: | ||
fields: | ||
config_entry: | ||
required: true | ||
selector: | ||
config_entry: | ||
integration: extended_openai_conversation | ||
model: | ||
example: gpt-4-vision-preview | ||
selector: | ||
text: | ||
prompt: | ||
example: "What’s in this image?" | ||
required: true | ||
selector: | ||
text: | ||
multiline: true | ||
images: | ||
example: '{"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"}' | ||
required: true | ||
default: [] | ||
selector: | ||
object: | ||
max_tokens: | ||
example: 300 | ||
default: 300 | ||
selector: | ||
number: | ||
min: 1 | ||
mode: box |