-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: DIA-1716: Google AI Studio (Gemini) support in Prompts (#6890)
Co-authored-by: hakan458 <[email protected]> Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: matt-bernstein <[email protected]> Co-authored-by: robot-ci-heartex <[email protected]>
- Loading branch information
1 parent
530e13f
commit 751d474
Showing
5 changed files
with
65 additions
and
4 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
label_studio/ml_model_providers/migrations/0007_alter_modelproviderconnection_provider.py
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,31 @@ | ||
# Generated by Django 5.1.4 on 2025-01-10 18:38 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
( | ||
"ml_model_providers", | ||
"0006_modelproviderconnection_google_application_credentials_and_more", | ||
), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="modelproviderconnection", | ||
name="provider", | ||
field=models.CharField( | ||
choices=[ | ||
("OpenAI", "OpenAI"), | ||
("AzureOpenAI", "AzureOpenAI"), | ||
("VertexAI", "VertexAI"), | ||
("Gemini", "Gemini"), | ||
("Custom", "Custom"), | ||
], | ||
default="OpenAI", | ||
max_length=255, | ||
), | ||
), | ||
] |
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
29 changes: 29 additions & 0 deletions
29
label_studio/ml_models/migrations/0014_alter_thirdpartymodelversion_provider.py
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,29 @@ | ||
# Generated by Django 5.1.4 on 2025-01-10 18:38 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("ml_models", "0013_alter_thirdpartymodelversion_provider"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="thirdpartymodelversion", | ||
name="provider", | ||
field=models.CharField( | ||
choices=[ | ||
("OpenAI", "OpenAI"), | ||
("AzureOpenAI", "AzureOpenAI"), | ||
("VertexAI", "VertexAI"), | ||
("Gemini", "Gemini"), | ||
("Custom", "Custom"), | ||
], | ||
default="OpenAI", | ||
help_text="The model provider to use e.g. OpenAI", | ||
max_length=255, | ||
), | ||
), | ||
] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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