Skip to content

Commit

Permalink
Ensure genai prompt is properly formatted (#14256)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye217 authored Oct 10, 2024
1 parent d492562 commit 9fda259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frigate/genai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def generate_description(
"""Generate a description for the frame."""
prompt = camera_config.genai.object_prompts.get(
label, camera_config.genai.prompt
)
).format(label=label)
return self._send(prompt, thumbnails)

def _init_provider(self):
Expand Down

0 comments on commit 9fda259

Please sign in to comment.