-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Update genai.md #21285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Update genai.md #21285
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -74,11 +74,11 @@ genai: | |
|
|
||
| ## Google Gemini | ||
|
|
||
| Google Gemini has a free tier allowing [15 queries per minute](https://ai.google.dev/pricing) to the API, which is more than sufficient for standard Frigate usage. | ||
| Google Gemini has a free tier allowing [20 queries per DAY](https://ai.google.dev/pricing) to the API, which is likely not sufficient for standard Frigate usage. | ||
|
|
||
| ### Supported Models | ||
|
|
||
| You must use a vision capable model with Frigate. Current model variants can be found [in their documentation](https://ai.google.dev/gemini-api/docs/models/gemini). | ||
| You must use a vision-capable model with Frigate. Current model variants can be found [in their documentation](https://ai.google.dev/gemini-api/docs/models/gemini). Current recommendation is [gemini-2.5-flash-lite](https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-flash-lite), as it is low-cost and fast. | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd prefer to remove mention of the limits and a recommended model, as they will surely change again. So let's remove this and keep the link to where the current variants can always be found. |
||
|
|
||
| ### Get API Key | ||
|
|
||
|
|
@@ -96,7 +96,7 @@ genai: | |
| enabled: True | ||
| provider: gemini | ||
| api_key: "{FRIGATE_GEMINI_API_KEY}" | ||
| model: gemini-2.0-flash | ||
| model: gemini-2.5-flash-lite | ||
| ``` | ||
|
|
||
| :::note | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.