diff --git a/README.md b/README.md
index 8569e77..278b73e 100644
--- a/README.md
+++ b/README.md
@@ -16,14 +16,14 @@ pip install gooeyai
Instantiate and use the client with the following:
```python
-from gooey import DeforumSdPageRequestAnimationPromptsItem, Gooey
+from gooey import AnimationPrompt, Gooey
client = Gooey(
api_key="YOUR_API_KEY",
)
client.animate(
animation_prompts=[
- DeforumSdPageRequestAnimationPromptsItem(
+ AnimationPrompt(
frame="frame",
prompt="prompt",
)
@@ -38,7 +38,7 @@ The SDK also exports an `async` client so that you can make non-blocking calls t
```python
import asyncio
-from gooey import AsyncGooey, DeforumSdPageRequestAnimationPromptsItem
+from gooey import AnimationPrompt, AsyncGooey
client = AsyncGooey(
api_key="YOUR_API_KEY",
@@ -48,7 +48,7 @@ client = AsyncGooey(
async def main() -> None:
await client.animate(
animation_prompts=[
- DeforumSdPageRequestAnimationPromptsItem(
+ AnimationPrompt(
frame="frame",
prompt="prompt",
)
diff --git a/pyproject.toml b/pyproject.toml
index 90aba77..9ae1dd9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "gooeyai"
-version = "0.0.1-beta17"
+version = "0.0.1-beta18"
description = ""
readme = "README.md"
authors = []
diff --git a/reference.md b/reference.md
index c45a177..a067ff0 100644
--- a/reference.md
+++ b/reference.md
@@ -12,14 +12,14 @@
```python
-from gooey import DeforumSdPageRequestAnimationPromptsItem, Gooey
+from gooey import AnimationPrompt, Gooey
client = Gooey(
api_key="YOUR_API_KEY",
)
client.animate(
animation_prompts=[
- DeforumSdPageRequestAnimationPromptsItem(
+ AnimationPrompt(
frame="frame",
prompt="prompt",
)
@@ -40,7 +40,7 @@ client.animate(
-
-**animation_prompts:** `typing.Sequence[DeforumSdPageRequestAnimationPromptsItem]`
+**animation_prompts:** `typing.Sequence[AnimationPrompt]`
@@ -56,7 +56,7 @@ client.animate(
-
-**functions:** `typing.Optional[typing.Sequence[DeforumSdPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -232,7 +232,7 @@ client.qr_code(
-
-**functions:** `typing.Optional[typing.List[QrCodeRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.List[RecipeFunction]]`
@@ -266,7 +266,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-
-**qr_code_vcard:** `typing.Optional[QrCodeRequestQrCodeVcard]`
+**qr_code_vcard:** `typing.Optional[Vcard]`
@@ -533,7 +533,7 @@ client.seo_people_also_ask(
-
-**functions:** `typing.Optional[typing.Sequence[RelatedQnAPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -565,7 +565,7 @@ client.seo_people_also_ask(
-
-**selected_model:** `typing.Optional[RelatedQnAPageRequestSelectedModel]`
+**selected_model:** `typing.Optional[LargeLanguageModels]`
@@ -821,7 +821,7 @@ client.seo_content(
-
-**selected_model:** `typing.Optional[SeoSummaryPageRequestSelectedModel]`
+**selected_model:** `typing.Optional[LargeLanguageModels]`
@@ -1014,7 +1014,7 @@ client.web_search_llm(
-
-**functions:** `typing.Optional[typing.Sequence[GoogleGptPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -1046,7 +1046,7 @@ client.web_search_llm(
-
-**selected_model:** `typing.Optional[GoogleGptPageRequestSelectedModel]`
+**selected_model:** `typing.Optional[LargeLanguageModels]`
@@ -1259,7 +1259,7 @@ client.personalize_email(
-
-**functions:** `typing.Optional[typing.Sequence[SocialLookupEmailPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -1283,7 +1283,7 @@ client.personalize_email(
-
-**selected_model:** `typing.Optional[SocialLookupEmailPageRequestSelectedModel]`
+**selected_model:** `typing.Optional[LargeLanguageModels]`
@@ -1452,7 +1452,7 @@ For each output field in the Gooey.AI workflow, specify the column name that you
-
-**functions:** `typing.Optional[typing.List[BulkRunRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.List[RecipeFunction]]`
@@ -1558,7 +1558,7 @@ Remember to includes header names in your CSV too.
-
-**functions:** `typing.Optional[typing.Sequence[BulkEvalPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -1574,7 +1574,7 @@ Remember to includes header names in your CSV too.
-
-**eval_prompts:** `typing.Optional[typing.Sequence[BulkEvalPageRequestEvalPromptsItem]]`
+**eval_prompts:** `typing.Optional[typing.Sequence[EvalPrompt]]`
Specify custom LLM prompts to calculate metrics that evaluate each row of the input data. The output should be a JSON object mapping the metric names to values.
@@ -1587,7 +1587,7 @@ _The `columns` dictionary can be used to reference the spreadsheet columns._
-
-**agg_functions:** `typing.Optional[typing.Sequence[BulkEvalPageRequestAggFunctionsItem]]`
+**agg_functions:** `typing.Optional[typing.Sequence[AggFunction]]`
Aggregate using one or more operations. Uses [pandas](https://pandas.pydata.org/pandas-docs/stable/reference/groupby.html#dataframegroupby-computations-descriptive-stats).
@@ -1599,7 +1599,7 @@ Aggregate using one or more operations. Uses [pandas](https://pandas.pydata.org/
-
-**selected_model:** `typing.Optional[BulkEvalPageRequestSelectedModel]`
+**selected_model:** `typing.Optional[LargeLanguageModels]`
@@ -1727,7 +1727,7 @@ typing.List[core.File]` — See core.File for more documentation
-
-**functions:** `typing.Optional[typing.List[SynthesizeDataRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.List[RecipeFunction]]`
@@ -1787,7 +1787,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-
-**selected_model:** `typing.Optional[SynthesizeDataRequestSelectedModel]`
+**selected_model:** `typing.Optional[LargeLanguageModels]`
@@ -1905,7 +1905,7 @@ client.llm()
-
-**functions:** `typing.Optional[typing.Sequence[CompareLlmPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -1929,7 +1929,7 @@ client.llm()
-
-**selected_models:** `typing.Optional[typing.Sequence[CompareLlmPageRequestSelectedModelsItem]]`
+**selected_models:** `typing.Optional[typing.Sequence[LargeLanguageModels]]`
@@ -2057,7 +2057,7 @@ client.rag(
-
-**functions:** `typing.Optional[typing.Sequence[DocSearchPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -2158,7 +2158,7 @@ Generally speaking, dense embeddings excel at understanding the context of the q
-
-**selected_model:** `typing.Optional[DocSearchPageRequestSelectedModel]`
+**selected_model:** `typing.Optional[LargeLanguageModels]`
@@ -2294,7 +2294,7 @@ client.smart_gpt(
-
-**functions:** `typing.Optional[typing.Sequence[SmartGptPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -2334,7 +2334,7 @@ client.smart_gpt(
-
-**selected_model:** `typing.Optional[SmartGptPageRequestSelectedModel]`
+**selected_model:** `typing.Optional[LargeLanguageModels]`
@@ -2462,7 +2462,7 @@ typing.List[core.File]` — See core.File for more documentation
-
-**functions:** `typing.Optional[typing.List[DocSummaryRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.List[RecipeFunction]]`
@@ -2494,7 +2494,7 @@ typing.List[core.File]` — See core.File for more documentation
-
-**selected_model:** `typing.Optional[DocSummaryRequestSelectedModel]`
+**selected_model:** `typing.Optional[LargeLanguageModels]`
@@ -2714,7 +2714,7 @@ client.lipsync()
-
-**functions:** `typing.Optional[typing.List[LipsyncRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.List[RecipeFunction]]`
@@ -2772,7 +2772,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-
-**sadtalker_settings:** `typing.Optional[LipsyncRequestSadtalkerSettings]`
+**sadtalker_settings:** `typing.Optional[SadTalkerSettings]`
@@ -2870,7 +2870,7 @@ client.lipsync_tts(
-
-**functions:** `typing.Optional[typing.List[LipsyncTtsRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.List[RecipeFunction]]`
@@ -3072,7 +3072,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-
-**sadtalker_settings:** `typing.Optional[LipsyncTtsRequestSadtalkerSettings]`
+**sadtalker_settings:** `typing.Optional[SadTalkerSettings]`
@@ -3160,7 +3160,7 @@ client.text_to_speech(
-
-**functions:** `typing.Optional[typing.Sequence[TextToSpeechPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -3392,7 +3392,7 @@ typing.List[core.File]` — See core.File for more documentation
-
-**functions:** `typing.Optional[typing.List[SpeechRecognitionRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.List[RecipeFunction]]`
@@ -3546,7 +3546,7 @@ client.text_to_music(
-
-**functions:** `typing.Optional[typing.Sequence[Text2AudioPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -3688,7 +3688,7 @@ client.translate()
-
-**functions:** `typing.Optional[typing.List[TranslateRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.List[RecipeFunction]]`
@@ -3818,7 +3818,7 @@ core.File` — See core.File for more documentation
-
-**functions:** `typing.Optional[typing.List[RemixImageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.List[RecipeFunction]]`
@@ -4010,7 +4010,7 @@ client.text_to_image(
-
-**functions:** `typing.Optional[typing.Sequence[CompareText2ImgPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -4220,7 +4220,7 @@ core.File` — See core.File for more documentation
-
-**functions:** `typing.Optional[typing.List[ProductImageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.List[RecipeFunction]]`
@@ -4422,7 +4422,7 @@ core.File` — See core.File for more documentation
-
-**functions:** `typing.Optional[typing.List[PortraitRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.List[RecipeFunction]]`
@@ -4607,7 +4607,7 @@ client.image_from_email(
-
-**functions:** `typing.Optional[typing.Sequence[EmailFaceInpaintingPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -4880,7 +4880,7 @@ client.image_from_web_search(
-
-**functions:** `typing.Optional[typing.Sequence[GoogleImageGenPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -5056,7 +5056,7 @@ core.File` — See core.File for more documentation
-
-**functions:** `typing.Optional[typing.List[RemoveBackgroundRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.List[RecipeFunction]]`
@@ -5200,7 +5200,7 @@ client.upscale(
-
-**functions:** `typing.Optional[typing.List[UpscaleRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.List[RecipeFunction]]`
@@ -5324,7 +5324,7 @@ client.embed(
-
-**functions:** `typing.Optional[typing.Sequence[EmbeddingsPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -5420,7 +5420,7 @@ client.seo_people_also_ask_doc(
-
-**functions:** `typing.Optional[typing.Sequence[RelatedQnADocPageRequestFunctionsItem]]`
+**functions:** `typing.Optional[typing.Sequence[RecipeFunction]]`
@@ -5521,7 +5521,7 @@ Generally speaking, dense embeddings excel at understanding the context of the q
-
-**selected_model:** `typing.Optional[RelatedQnADocPageRequestSelectedModel]`
+**selected_model:** `typing.Optional[LargeLanguageModels]`
@@ -5786,7 +5786,7 @@ typing.Optional[typing.List[core.File]]` — See core.File for more documentatio
-
-**messages:** `typing.Optional[typing.List[CopilotCompletionRequestMessagesItem]]`
+**messages:** `typing.Optional[typing.List[ConversationEntry]]`
@@ -5802,7 +5802,7 @@ typing.Optional[typing.List[core.File]]` — See core.File for more documentatio
-
-**selected_model:** `typing.Optional[CopilotCompletionRequestSelectedModel]`
+**selected_model:** `typing.Optional[LargeLanguageModels]`
@@ -5973,7 +5973,7 @@ typing.Optional[core.File]` — See core.File for more documentation
-
-**tools:** `typing.Optional[typing.List[typing.Literal["json_to_pdf"]]]` — Give your copilot superpowers by giving it access to tools. Powered by [Function calling](https://platform.openai.com/docs/guides/function-calling).
+**tools:** `typing.Optional[typing.List[LlmTools]]` — Give your copilot superpowers by giving it access to tools. Powered by [Function calling](https://platform.openai.com/docs/guides/function-calling).
diff --git a/src/gooey/__init__.py b/src/gooey/__init__.py
index c720956..86305e9 100644
--- a/src/gooey/__init__.py
+++ b/src/gooey/__init__.py
@@ -11,8 +11,6 @@
AsrPageOutput,
AsrPageOutputOutputTextItem,
AsrPageRequest,
- AsrPageRequestFunctionsItem,
- AsrPageRequestFunctionsItemTrigger,
AsrPageRequestOutputFormat,
AsrPageRequestSelectedModel,
AsrPageRequestTranslationModel,
@@ -22,20 +20,10 @@
BotBroadcastFilters,
BotBroadcastRequestModel,
BulkEvalPageOutput,
- BulkEvalPageRequestAggFunctionsItem,
- BulkEvalPageRequestAggFunctionsItemFunction,
- BulkEvalPageRequestEvalPromptsItem,
- BulkEvalPageRequestFunctionsItem,
- BulkEvalPageRequestFunctionsItemTrigger,
BulkEvalPageRequestResponseFormatType,
- BulkEvalPageRequestSelectedModel,
BulkEvalPageStatusResponse,
- BulkRunRequestFunctionsItem,
- BulkRunRequestFunctionsItemTrigger,
BulkRunnerPageOutput,
BulkRunnerPageRequest,
- BulkRunnerPageRequestFunctionsItem,
- BulkRunnerPageRequestFunctionsItemTrigger,
BulkRunnerPageStatusResponse,
ButtonPressed,
CalledFunctionResponse,
@@ -44,25 +32,16 @@
ChatCompletionContentPartTextParam,
ChyronPlantPageOutput,
ChyronPlantPageRequest,
- ChyronPlantPageRequestFunctionsItem,
- ChyronPlantPageRequestFunctionsItemTrigger,
ChyronPlantPageStatusResponse,
CompareLlmPageOutput,
- CompareLlmPageRequestFunctionsItem,
- CompareLlmPageRequestFunctionsItemTrigger,
CompareLlmPageRequestResponseFormatType,
- CompareLlmPageRequestSelectedModelsItem,
CompareLlmPageStatusResponse,
CompareText2ImgPageOutput,
- CompareText2ImgPageRequestFunctionsItem,
- CompareText2ImgPageRequestFunctionsItemTrigger,
CompareText2ImgPageRequestScheduler,
CompareText2ImgPageRequestSelectedModelsItem,
CompareText2ImgPageStatusResponse,
CompareUpscalerPageOutput,
CompareUpscalerPageRequest,
- CompareUpscalerPageRequestFunctionsItem,
- CompareUpscalerPageRequestFunctionsItemTrigger,
CompareUpscalerPageRequestSelectedModelsItem,
CompareUpscalerPageStatusResponse,
ConsoleLogs,
@@ -82,61 +61,39 @@
CreateStreamRequestOpenaiTtsModel,
CreateStreamRequestOpenaiVoiceName,
CreateStreamRequestResponseFormatType,
- CreateStreamRequestSelectedModel,
CreateStreamRequestTranslationModel,
CreateStreamRequestTtsProvider,
CreateStreamResponse,
DeforumSdPageOutput,
- DeforumSdPageRequestAnimationPromptsItem,
- DeforumSdPageRequestFunctionsItem,
- DeforumSdPageRequestFunctionsItemTrigger,
DeforumSdPageRequestSelectedModel,
DeforumSdPageStatusResponse,
DocExtractPageOutput,
DocExtractPageRequest,
- DocExtractPageRequestFunctionsItem,
- DocExtractPageRequestFunctionsItemTrigger,
DocExtractPageRequestResponseFormatType,
DocExtractPageRequestSelectedAsrModel,
- DocExtractPageRequestSelectedModel,
DocExtractPageStatusResponse,
DocSearchPageOutput,
DocSearchPageRequestCitationStyle,
DocSearchPageRequestEmbeddingModel,
- DocSearchPageRequestFunctionsItem,
- DocSearchPageRequestFunctionsItemTrigger,
DocSearchPageRequestKeywordQuery,
DocSearchPageRequestResponseFormatType,
- DocSearchPageRequestSelectedModel,
DocSearchPageStatusResponse,
DocSummaryPageOutput,
DocSummaryPageRequest,
- DocSummaryPageRequestFunctionsItem,
- DocSummaryPageRequestFunctionsItemTrigger,
DocSummaryPageRequestResponseFormatType,
DocSummaryPageRequestSelectedAsrModel,
- DocSummaryPageRequestSelectedModel,
DocSummaryPageStatusResponse,
- DocSummaryRequestFunctionsItem,
- DocSummaryRequestFunctionsItemTrigger,
DocSummaryRequestResponseFormatType,
DocSummaryRequestSelectedAsrModel,
- DocSummaryRequestSelectedModel,
EmailFaceInpaintingPageOutput,
- EmailFaceInpaintingPageRequestFunctionsItem,
- EmailFaceInpaintingPageRequestFunctionsItemTrigger,
EmailFaceInpaintingPageRequestSelectedModel,
EmailFaceInpaintingPageStatusResponse,
EmbeddingsPageOutput,
- EmbeddingsPageRequestFunctionsItem,
- EmbeddingsPageRequestFunctionsItemTrigger,
EmbeddingsPageRequestSelectedModel,
EmbeddingsPageStatusResponse,
EvalPrompt,
FaceInpaintingPageOutput,
FaceInpaintingPageRequest,
- FaceInpaintingPageRequestFunctionsItem,
- FaceInpaintingPageRequestFunctionsItemTrigger,
FaceInpaintingPageRequestSelectedModel,
FaceInpaintingPageStatusResponse,
FinalResponse,
@@ -146,101 +103,62 @@
GenericErrorResponseDetail,
GoogleGptPageOutput,
GoogleGptPageRequestEmbeddingModel,
- GoogleGptPageRequestFunctionsItem,
- GoogleGptPageRequestFunctionsItemTrigger,
GoogleGptPageRequestResponseFormatType,
- GoogleGptPageRequestSelectedModel,
GoogleGptPageStatusResponse,
GoogleImageGenPageOutput,
- GoogleImageGenPageRequestFunctionsItem,
- GoogleImageGenPageRequestFunctionsItemTrigger,
GoogleImageGenPageRequestSelectedModel,
GoogleImageGenPageStatusResponse,
HttpValidationError,
ImageSegmentationPageOutput,
ImageSegmentationPageRequest,
- ImageSegmentationPageRequestFunctionsItem,
- ImageSegmentationPageRequestFunctionsItemTrigger,
ImageSegmentationPageRequestSelectedModel,
ImageSegmentationPageStatusResponse,
ImageUrl,
ImageUrlDetail,
Img2ImgPageOutput,
Img2ImgPageRequest,
- Img2ImgPageRequestFunctionsItem,
- Img2ImgPageRequestFunctionsItemTrigger,
Img2ImgPageRequestSelectedControlnetModel,
Img2ImgPageRequestSelectedControlnetModelItem,
Img2ImgPageRequestSelectedModel,
Img2ImgPageStatusResponse,
+ LargeLanguageModels,
LetterWriterPageOutput,
LetterWriterPageRequest,
- LetterWriterPageRequestExampleLettersItem,
- LetterWriterPageRequestFunctionsItem,
- LetterWriterPageRequestFunctionsItemTrigger,
LetterWriterPageStatusResponse,
LipsyncPageOutput,
LipsyncPageRequest,
- LipsyncPageRequestFunctionsItem,
- LipsyncPageRequestFunctionsItemTrigger,
- LipsyncPageRequestSadtalkerSettings,
- LipsyncPageRequestSadtalkerSettingsPreprocess,
LipsyncPageRequestSelectedModel,
LipsyncPageStatusResponse,
- LipsyncRequestFunctionsItem,
- LipsyncRequestFunctionsItemTrigger,
- LipsyncRequestSadtalkerSettings,
- LipsyncRequestSadtalkerSettingsPreprocess,
LipsyncRequestSelectedModel,
LipsyncTtsPageOutput,
LipsyncTtsPageRequest,
- LipsyncTtsPageRequestFunctionsItem,
- LipsyncTtsPageRequestFunctionsItemTrigger,
LipsyncTtsPageRequestOpenaiTtsModel,
LipsyncTtsPageRequestOpenaiVoiceName,
- LipsyncTtsPageRequestSadtalkerSettings,
- LipsyncTtsPageRequestSadtalkerSettingsPreprocess,
LipsyncTtsPageRequestSelectedModel,
LipsyncTtsPageRequestTtsProvider,
LipsyncTtsPageStatusResponse,
- LipsyncTtsRequestFunctionsItem,
- LipsyncTtsRequestFunctionsItemTrigger,
LipsyncTtsRequestOpenaiTtsModel,
LipsyncTtsRequestOpenaiVoiceName,
- LipsyncTtsRequestSadtalkerSettings,
- LipsyncTtsRequestSadtalkerSettingsPreprocess,
LipsyncTtsRequestSelectedModel,
LipsyncTtsRequestTtsProvider,
LlmTools,
MessagePart,
ObjectInpaintingPageOutput,
ObjectInpaintingPageRequest,
- ObjectInpaintingPageRequestFunctionsItem,
- ObjectInpaintingPageRequestFunctionsItemTrigger,
ObjectInpaintingPageRequestSelectedModel,
ObjectInpaintingPageStatusResponse,
- PortraitRequestFunctionsItem,
- PortraitRequestFunctionsItemTrigger,
PortraitRequestSelectedModel,
- ProductImageRequestFunctionsItem,
- ProductImageRequestFunctionsItemTrigger,
ProductImageRequestSelectedModel,
PromptTreeNode,
PromptTreeNodePrompt,
QrCodeGeneratorPageOutput,
QrCodeGeneratorPageRequest,
- QrCodeGeneratorPageRequestFunctionsItem,
- QrCodeGeneratorPageRequestFunctionsItemTrigger,
QrCodeGeneratorPageRequestImagePromptControlnetModelsItem,
- QrCodeGeneratorPageRequestQrCodeVcard,
QrCodeGeneratorPageRequestScheduler,
QrCodeGeneratorPageRequestSelectedControlnetModelItem,
QrCodeGeneratorPageRequestSelectedModel,
QrCodeGeneratorPageStatusResponse,
- QrCodeRequestFunctionsItem,
- QrCodeRequestFunctionsItemTrigger,
QrCodeRequestImagePromptControlnetModelsItem,
- QrCodeRequestQrCodeVcard,
QrCodeRequestScheduler,
QrCodeRequestSelectedControlnetModelItem,
QrCodeRequestSelectedModel,
@@ -252,26 +170,16 @@
RelatedQnADocPageOutput,
RelatedQnADocPageRequestCitationStyle,
RelatedQnADocPageRequestEmbeddingModel,
- RelatedQnADocPageRequestFunctionsItem,
- RelatedQnADocPageRequestFunctionsItemTrigger,
RelatedQnADocPageRequestKeywordQuery,
RelatedQnADocPageRequestResponseFormatType,
- RelatedQnADocPageRequestSelectedModel,
RelatedQnADocPageStatusResponse,
RelatedQnAPageOutput,
RelatedQnAPageRequestEmbeddingModel,
- RelatedQnAPageRequestFunctionsItem,
- RelatedQnAPageRequestFunctionsItemTrigger,
RelatedQnAPageRequestResponseFormatType,
- RelatedQnAPageRequestSelectedModel,
RelatedQnAPageStatusResponse,
- RemixImageRequestFunctionsItem,
- RemixImageRequestFunctionsItemTrigger,
RemixImageRequestSelectedControlnetModel,
RemixImageRequestSelectedControlnetModelItem,
RemixImageRequestSelectedModel,
- RemoveBackgroundRequestFunctionsItem,
- RemoveBackgroundRequestFunctionsItemTrigger,
RemoveBackgroundRequestSelectedModel,
ReplyButton,
ResponseModel,
@@ -285,56 +193,34 @@
SearchReference,
SeoSummaryPageOutput,
SeoSummaryPageRequestResponseFormatType,
- SeoSummaryPageRequestSelectedModel,
SeoSummaryPageStatusResponse,
SerpSearchLocation,
SerpSearchType,
SmartGptPageOutput,
- SmartGptPageRequestFunctionsItem,
- SmartGptPageRequestFunctionsItemTrigger,
SmartGptPageRequestResponseFormatType,
- SmartGptPageRequestSelectedModel,
SmartGptPageStatusResponse,
SocialLookupEmailPageOutput,
- SocialLookupEmailPageRequestFunctionsItem,
- SocialLookupEmailPageRequestFunctionsItemTrigger,
SocialLookupEmailPageRequestResponseFormatType,
- SocialLookupEmailPageRequestSelectedModel,
SocialLookupEmailPageStatusResponse,
- SpeechRecognitionRequestFunctionsItem,
- SpeechRecognitionRequestFunctionsItemTrigger,
SpeechRecognitionRequestOutputFormat,
SpeechRecognitionRequestSelectedModel,
SpeechRecognitionRequestTranslationModel,
StreamError,
- SynthesizeDataRequestFunctionsItem,
- SynthesizeDataRequestFunctionsItemTrigger,
SynthesizeDataRequestResponseFormatType,
SynthesizeDataRequestSelectedAsrModel,
- SynthesizeDataRequestSelectedModel,
Text2AudioPageOutput,
- Text2AudioPageRequestFunctionsItem,
- Text2AudioPageRequestFunctionsItemTrigger,
Text2AudioPageStatusResponse,
TextToSpeechPageOutput,
- TextToSpeechPageRequestFunctionsItem,
- TextToSpeechPageRequestFunctionsItemTrigger,
TextToSpeechPageRequestOpenaiTtsModel,
TextToSpeechPageRequestOpenaiVoiceName,
TextToSpeechPageRequestTtsProvider,
TextToSpeechPageStatusResponse,
TrainingDataModel,
- TranslateRequestFunctionsItem,
- TranslateRequestFunctionsItemTrigger,
TranslateRequestSelectedModel,
TranslationPageOutput,
TranslationPageRequest,
- TranslationPageRequestFunctionsItem,
- TranslationPageRequestFunctionsItemTrigger,
TranslationPageRequestSelectedModel,
TranslationPageStatusResponse,
- UpscaleRequestFunctionsItem,
- UpscaleRequestFunctionsItemTrigger,
UpscaleRequestSelectedModelsItem,
ValidationError,
ValidationErrorLocItem,
@@ -349,18 +235,11 @@
VideoBotsPageRequestFunctionsItem,
VideoBotsPageRequestFunctionsItemTrigger,
VideoBotsPageRequestLipsyncModel,
- VideoBotsPageRequestMessagesItem,
- VideoBotsPageRequestMessagesItemContent,
- VideoBotsPageRequestMessagesItemContentItem,
- VideoBotsPageRequestMessagesItemContentItem_ImageUrl,
- VideoBotsPageRequestMessagesItemContentItem_Text,
- VideoBotsPageRequestMessagesItemRole,
VideoBotsPageRequestOpenaiTtsModel,
VideoBotsPageRequestOpenaiVoiceName,
VideoBotsPageRequestResponseFormatType,
VideoBotsPageRequestSadtalkerSettings,
VideoBotsPageRequestSadtalkerSettingsPreprocess,
- VideoBotsPageRequestSelectedModel,
VideoBotsPageRequestTranslationModel,
VideoBotsPageRequestTtsProvider,
VideoBotsPageStatusResponse,
@@ -375,18 +254,11 @@
CopilotCompletionRequestFunctionsItem,
CopilotCompletionRequestFunctionsItemTrigger,
CopilotCompletionRequestLipsyncModel,
- CopilotCompletionRequestMessagesItem,
- CopilotCompletionRequestMessagesItemContent,
- CopilotCompletionRequestMessagesItemContentItem,
- CopilotCompletionRequestMessagesItemContentItem_ImageUrl,
- CopilotCompletionRequestMessagesItemContentItem_Text,
- CopilotCompletionRequestMessagesItemRole,
CopilotCompletionRequestOpenaiTtsModel,
CopilotCompletionRequestOpenaiVoiceName,
CopilotCompletionRequestResponseFormatType,
CopilotCompletionRequestSadtalkerSettings,
CopilotCompletionRequestSadtalkerSettingsPreprocess,
- CopilotCompletionRequestSelectedModel,
CopilotCompletionRequestTranslationModel,
CopilotCompletionRequestTtsProvider,
)
@@ -404,8 +276,6 @@
"AsrPageOutput",
"AsrPageOutputOutputTextItem",
"AsrPageRequest",
- "AsrPageRequestFunctionsItem",
- "AsrPageRequestFunctionsItemTrigger",
"AsrPageRequestOutputFormat",
"AsrPageRequestSelectedModel",
"AsrPageRequestTranslationModel",
@@ -416,20 +286,10 @@
"BotBroadcastFilters",
"BotBroadcastRequestModel",
"BulkEvalPageOutput",
- "BulkEvalPageRequestAggFunctionsItem",
- "BulkEvalPageRequestAggFunctionsItemFunction",
- "BulkEvalPageRequestEvalPromptsItem",
- "BulkEvalPageRequestFunctionsItem",
- "BulkEvalPageRequestFunctionsItemTrigger",
"BulkEvalPageRequestResponseFormatType",
- "BulkEvalPageRequestSelectedModel",
"BulkEvalPageStatusResponse",
- "BulkRunRequestFunctionsItem",
- "BulkRunRequestFunctionsItemTrigger",
"BulkRunnerPageOutput",
"BulkRunnerPageRequest",
- "BulkRunnerPageRequestFunctionsItem",
- "BulkRunnerPageRequestFunctionsItemTrigger",
"BulkRunnerPageStatusResponse",
"ButtonPressed",
"CalledFunctionResponse",
@@ -438,25 +298,16 @@
"ChatCompletionContentPartTextParam",
"ChyronPlantPageOutput",
"ChyronPlantPageRequest",
- "ChyronPlantPageRequestFunctionsItem",
- "ChyronPlantPageRequestFunctionsItemTrigger",
"ChyronPlantPageStatusResponse",
"CompareLlmPageOutput",
- "CompareLlmPageRequestFunctionsItem",
- "CompareLlmPageRequestFunctionsItemTrigger",
"CompareLlmPageRequestResponseFormatType",
- "CompareLlmPageRequestSelectedModelsItem",
"CompareLlmPageStatusResponse",
"CompareText2ImgPageOutput",
- "CompareText2ImgPageRequestFunctionsItem",
- "CompareText2ImgPageRequestFunctionsItemTrigger",
"CompareText2ImgPageRequestScheduler",
"CompareText2ImgPageRequestSelectedModelsItem",
"CompareText2ImgPageStatusResponse",
"CompareUpscalerPageOutput",
"CompareUpscalerPageRequest",
- "CompareUpscalerPageRequestFunctionsItem",
- "CompareUpscalerPageRequestFunctionsItemTrigger",
"CompareUpscalerPageRequestSelectedModelsItem",
"CompareUpscalerPageStatusResponse",
"ConsoleLogs",
@@ -474,18 +325,11 @@
"CopilotCompletionRequestFunctionsItem",
"CopilotCompletionRequestFunctionsItemTrigger",
"CopilotCompletionRequestLipsyncModel",
- "CopilotCompletionRequestMessagesItem",
- "CopilotCompletionRequestMessagesItemContent",
- "CopilotCompletionRequestMessagesItemContentItem",
- "CopilotCompletionRequestMessagesItemContentItem_ImageUrl",
- "CopilotCompletionRequestMessagesItemContentItem_Text",
- "CopilotCompletionRequestMessagesItemRole",
"CopilotCompletionRequestOpenaiTtsModel",
"CopilotCompletionRequestOpenaiVoiceName",
"CopilotCompletionRequestResponseFormatType",
"CopilotCompletionRequestSadtalkerSettings",
"CopilotCompletionRequestSadtalkerSettingsPreprocess",
- "CopilotCompletionRequestSelectedModel",
"CopilotCompletionRequestTranslationModel",
"CopilotCompletionRequestTtsProvider",
"CreateStreamRequest",
@@ -496,61 +340,39 @@
"CreateStreamRequestOpenaiTtsModel",
"CreateStreamRequestOpenaiVoiceName",
"CreateStreamRequestResponseFormatType",
- "CreateStreamRequestSelectedModel",
"CreateStreamRequestTranslationModel",
"CreateStreamRequestTtsProvider",
"CreateStreamResponse",
"DeforumSdPageOutput",
- "DeforumSdPageRequestAnimationPromptsItem",
- "DeforumSdPageRequestFunctionsItem",
- "DeforumSdPageRequestFunctionsItemTrigger",
"DeforumSdPageRequestSelectedModel",
"DeforumSdPageStatusResponse",
"DocExtractPageOutput",
"DocExtractPageRequest",
- "DocExtractPageRequestFunctionsItem",
- "DocExtractPageRequestFunctionsItemTrigger",
"DocExtractPageRequestResponseFormatType",
"DocExtractPageRequestSelectedAsrModel",
- "DocExtractPageRequestSelectedModel",
"DocExtractPageStatusResponse",
"DocSearchPageOutput",
"DocSearchPageRequestCitationStyle",
"DocSearchPageRequestEmbeddingModel",
- "DocSearchPageRequestFunctionsItem",
- "DocSearchPageRequestFunctionsItemTrigger",
"DocSearchPageRequestKeywordQuery",
"DocSearchPageRequestResponseFormatType",
- "DocSearchPageRequestSelectedModel",
"DocSearchPageStatusResponse",
"DocSummaryPageOutput",
"DocSummaryPageRequest",
- "DocSummaryPageRequestFunctionsItem",
- "DocSummaryPageRequestFunctionsItemTrigger",
"DocSummaryPageRequestResponseFormatType",
"DocSummaryPageRequestSelectedAsrModel",
- "DocSummaryPageRequestSelectedModel",
"DocSummaryPageStatusResponse",
- "DocSummaryRequestFunctionsItem",
- "DocSummaryRequestFunctionsItemTrigger",
"DocSummaryRequestResponseFormatType",
"DocSummaryRequestSelectedAsrModel",
- "DocSummaryRequestSelectedModel",
"EmailFaceInpaintingPageOutput",
- "EmailFaceInpaintingPageRequestFunctionsItem",
- "EmailFaceInpaintingPageRequestFunctionsItemTrigger",
"EmailFaceInpaintingPageRequestSelectedModel",
"EmailFaceInpaintingPageStatusResponse",
"EmbeddingsPageOutput",
- "EmbeddingsPageRequestFunctionsItem",
- "EmbeddingsPageRequestFunctionsItemTrigger",
"EmbeddingsPageRequestSelectedModel",
"EmbeddingsPageStatusResponse",
"EvalPrompt",
"FaceInpaintingPageOutput",
"FaceInpaintingPageRequest",
- "FaceInpaintingPageRequestFunctionsItem",
- "FaceInpaintingPageRequestFunctionsItemTrigger",
"FaceInpaintingPageRequestSelectedModel",
"FaceInpaintingPageStatusResponse",
"FinalResponse",
@@ -562,102 +384,63 @@
"GooeyEnvironment",
"GoogleGptPageOutput",
"GoogleGptPageRequestEmbeddingModel",
- "GoogleGptPageRequestFunctionsItem",
- "GoogleGptPageRequestFunctionsItemTrigger",
"GoogleGptPageRequestResponseFormatType",
- "GoogleGptPageRequestSelectedModel",
"GoogleGptPageStatusResponse",
"GoogleImageGenPageOutput",
- "GoogleImageGenPageRequestFunctionsItem",
- "GoogleImageGenPageRequestFunctionsItemTrigger",
"GoogleImageGenPageRequestSelectedModel",
"GoogleImageGenPageStatusResponse",
"HttpValidationError",
"ImageSegmentationPageOutput",
"ImageSegmentationPageRequest",
- "ImageSegmentationPageRequestFunctionsItem",
- "ImageSegmentationPageRequestFunctionsItemTrigger",
"ImageSegmentationPageRequestSelectedModel",
"ImageSegmentationPageStatusResponse",
"ImageUrl",
"ImageUrlDetail",
"Img2ImgPageOutput",
"Img2ImgPageRequest",
- "Img2ImgPageRequestFunctionsItem",
- "Img2ImgPageRequestFunctionsItemTrigger",
"Img2ImgPageRequestSelectedControlnetModel",
"Img2ImgPageRequestSelectedControlnetModelItem",
"Img2ImgPageRequestSelectedModel",
"Img2ImgPageStatusResponse",
+ "LargeLanguageModels",
"LetterWriterPageOutput",
"LetterWriterPageRequest",
- "LetterWriterPageRequestExampleLettersItem",
- "LetterWriterPageRequestFunctionsItem",
- "LetterWriterPageRequestFunctionsItemTrigger",
"LetterWriterPageStatusResponse",
"LipsyncPageOutput",
"LipsyncPageRequest",
- "LipsyncPageRequestFunctionsItem",
- "LipsyncPageRequestFunctionsItemTrigger",
- "LipsyncPageRequestSadtalkerSettings",
- "LipsyncPageRequestSadtalkerSettingsPreprocess",
"LipsyncPageRequestSelectedModel",
"LipsyncPageStatusResponse",
- "LipsyncRequestFunctionsItem",
- "LipsyncRequestFunctionsItemTrigger",
- "LipsyncRequestSadtalkerSettings",
- "LipsyncRequestSadtalkerSettingsPreprocess",
"LipsyncRequestSelectedModel",
"LipsyncTtsPageOutput",
"LipsyncTtsPageRequest",
- "LipsyncTtsPageRequestFunctionsItem",
- "LipsyncTtsPageRequestFunctionsItemTrigger",
"LipsyncTtsPageRequestOpenaiTtsModel",
"LipsyncTtsPageRequestOpenaiVoiceName",
- "LipsyncTtsPageRequestSadtalkerSettings",
- "LipsyncTtsPageRequestSadtalkerSettingsPreprocess",
"LipsyncTtsPageRequestSelectedModel",
"LipsyncTtsPageRequestTtsProvider",
"LipsyncTtsPageStatusResponse",
- "LipsyncTtsRequestFunctionsItem",
- "LipsyncTtsRequestFunctionsItemTrigger",
"LipsyncTtsRequestOpenaiTtsModel",
"LipsyncTtsRequestOpenaiVoiceName",
- "LipsyncTtsRequestSadtalkerSettings",
- "LipsyncTtsRequestSadtalkerSettingsPreprocess",
"LipsyncTtsRequestSelectedModel",
"LipsyncTtsRequestTtsProvider",
"LlmTools",
"MessagePart",
"ObjectInpaintingPageOutput",
"ObjectInpaintingPageRequest",
- "ObjectInpaintingPageRequestFunctionsItem",
- "ObjectInpaintingPageRequestFunctionsItemTrigger",
"ObjectInpaintingPageRequestSelectedModel",
"ObjectInpaintingPageStatusResponse",
"PaymentRequiredError",
- "PortraitRequestFunctionsItem",
- "PortraitRequestFunctionsItemTrigger",
"PortraitRequestSelectedModel",
- "ProductImageRequestFunctionsItem",
- "ProductImageRequestFunctionsItemTrigger",
"ProductImageRequestSelectedModel",
"PromptTreeNode",
"PromptTreeNodePrompt",
"QrCodeGeneratorPageOutput",
"QrCodeGeneratorPageRequest",
- "QrCodeGeneratorPageRequestFunctionsItem",
- "QrCodeGeneratorPageRequestFunctionsItemTrigger",
"QrCodeGeneratorPageRequestImagePromptControlnetModelsItem",
- "QrCodeGeneratorPageRequestQrCodeVcard",
"QrCodeGeneratorPageRequestScheduler",
"QrCodeGeneratorPageRequestSelectedControlnetModelItem",
"QrCodeGeneratorPageRequestSelectedModel",
"QrCodeGeneratorPageStatusResponse",
- "QrCodeRequestFunctionsItem",
- "QrCodeRequestFunctionsItemTrigger",
"QrCodeRequestImagePromptControlnetModelsItem",
- "QrCodeRequestQrCodeVcard",
"QrCodeRequestScheduler",
"QrCodeRequestSelectedControlnetModelItem",
"QrCodeRequestSelectedModel",
@@ -669,26 +452,16 @@
"RelatedQnADocPageOutput",
"RelatedQnADocPageRequestCitationStyle",
"RelatedQnADocPageRequestEmbeddingModel",
- "RelatedQnADocPageRequestFunctionsItem",
- "RelatedQnADocPageRequestFunctionsItemTrigger",
"RelatedQnADocPageRequestKeywordQuery",
"RelatedQnADocPageRequestResponseFormatType",
- "RelatedQnADocPageRequestSelectedModel",
"RelatedQnADocPageStatusResponse",
"RelatedQnAPageOutput",
"RelatedQnAPageRequestEmbeddingModel",
- "RelatedQnAPageRequestFunctionsItem",
- "RelatedQnAPageRequestFunctionsItemTrigger",
"RelatedQnAPageRequestResponseFormatType",
- "RelatedQnAPageRequestSelectedModel",
"RelatedQnAPageStatusResponse",
- "RemixImageRequestFunctionsItem",
- "RemixImageRequestFunctionsItemTrigger",
"RemixImageRequestSelectedControlnetModel",
"RemixImageRequestSelectedControlnetModelItem",
"RemixImageRequestSelectedModel",
- "RemoveBackgroundRequestFunctionsItem",
- "RemoveBackgroundRequestFunctionsItemTrigger",
"RemoveBackgroundRequestSelectedModel",
"ReplyButton",
"ResponseModel",
@@ -702,58 +475,36 @@
"SearchReference",
"SeoSummaryPageOutput",
"SeoSummaryPageRequestResponseFormatType",
- "SeoSummaryPageRequestSelectedModel",
"SeoSummaryPageStatusResponse",
"SerpSearchLocation",
"SerpSearchType",
"SmartGptPageOutput",
- "SmartGptPageRequestFunctionsItem",
- "SmartGptPageRequestFunctionsItemTrigger",
"SmartGptPageRequestResponseFormatType",
- "SmartGptPageRequestSelectedModel",
"SmartGptPageStatusResponse",
"SocialLookupEmailPageOutput",
- "SocialLookupEmailPageRequestFunctionsItem",
- "SocialLookupEmailPageRequestFunctionsItemTrigger",
"SocialLookupEmailPageRequestResponseFormatType",
- "SocialLookupEmailPageRequestSelectedModel",
"SocialLookupEmailPageStatusResponse",
- "SpeechRecognitionRequestFunctionsItem",
- "SpeechRecognitionRequestFunctionsItemTrigger",
"SpeechRecognitionRequestOutputFormat",
"SpeechRecognitionRequestSelectedModel",
"SpeechRecognitionRequestTranslationModel",
"StreamError",
- "SynthesizeDataRequestFunctionsItem",
- "SynthesizeDataRequestFunctionsItemTrigger",
"SynthesizeDataRequestResponseFormatType",
"SynthesizeDataRequestSelectedAsrModel",
- "SynthesizeDataRequestSelectedModel",
"Text2AudioPageOutput",
- "Text2AudioPageRequestFunctionsItem",
- "Text2AudioPageRequestFunctionsItemTrigger",
"Text2AudioPageStatusResponse",
"TextToSpeechPageOutput",
- "TextToSpeechPageRequestFunctionsItem",
- "TextToSpeechPageRequestFunctionsItemTrigger",
"TextToSpeechPageRequestOpenaiTtsModel",
"TextToSpeechPageRequestOpenaiVoiceName",
"TextToSpeechPageRequestTtsProvider",
"TextToSpeechPageStatusResponse",
"TooManyRequestsError",
"TrainingDataModel",
- "TranslateRequestFunctionsItem",
- "TranslateRequestFunctionsItemTrigger",
"TranslateRequestSelectedModel",
"TranslationPageOutput",
"TranslationPageRequest",
- "TranslationPageRequestFunctionsItem",
- "TranslationPageRequestFunctionsItemTrigger",
"TranslationPageRequestSelectedModel",
"TranslationPageStatusResponse",
"UnprocessableEntityError",
- "UpscaleRequestFunctionsItem",
- "UpscaleRequestFunctionsItemTrigger",
"UpscaleRequestSelectedModelsItem",
"ValidationError",
"ValidationErrorLocItem",
@@ -768,18 +519,11 @@
"VideoBotsPageRequestFunctionsItem",
"VideoBotsPageRequestFunctionsItemTrigger",
"VideoBotsPageRequestLipsyncModel",
- "VideoBotsPageRequestMessagesItem",
- "VideoBotsPageRequestMessagesItemContent",
- "VideoBotsPageRequestMessagesItemContentItem",
- "VideoBotsPageRequestMessagesItemContentItem_ImageUrl",
- "VideoBotsPageRequestMessagesItemContentItem_Text",
- "VideoBotsPageRequestMessagesItemRole",
"VideoBotsPageRequestOpenaiTtsModel",
"VideoBotsPageRequestOpenaiVoiceName",
"VideoBotsPageRequestResponseFormatType",
"VideoBotsPageRequestSadtalkerSettings",
"VideoBotsPageRequestSadtalkerSettingsPreprocess",
- "VideoBotsPageRequestSelectedModel",
"VideoBotsPageRequestTranslationModel",
"VideoBotsPageRequestTtsProvider",
"VideoBotsPageStatusResponse",
diff --git a/src/gooey/client.py b/src/gooey/client.py
index 0520334..6767f27 100644
--- a/src/gooey/client.py
+++ b/src/gooey/client.py
@@ -7,8 +7,8 @@
from .core.api_error import ApiError
from .core.client_wrapper import SyncClientWrapper
from .copilot.client import CopilotClient
-from .types.deforum_sd_page_request_animation_prompts_item import DeforumSdPageRequestAnimationPromptsItem
-from .types.deforum_sd_page_request_functions_item import DeforumSdPageRequestFunctionsItem
+from .types.animation_prompt import AnimationPrompt
+from .types.recipe_function import RecipeFunction
from .types.deforum_sd_page_request_selected_model import DeforumSdPageRequestSelectedModel
from .types.run_settings import RunSettings
from .core.request_options import RequestOptions
@@ -20,126 +20,88 @@
from .types.http_validation_error import HttpValidationError
from .errors.too_many_requests_error import TooManyRequestsError
from json.decoder import JSONDecodeError
-from .types.qr_code_request_functions_item import QrCodeRequestFunctionsItem
from . import core
-from .types.qr_code_request_qr_code_vcard import QrCodeRequestQrCodeVcard
+from .types.vcard import Vcard
from .types.qr_code_request_image_prompt_controlnet_models_item import QrCodeRequestImagePromptControlnetModelsItem
from .types.qr_code_request_selected_model import QrCodeRequestSelectedModel
from .types.qr_code_request_selected_controlnet_model_item import QrCodeRequestSelectedControlnetModelItem
from .types.qr_code_request_scheduler import QrCodeRequestScheduler
from .types.qr_code_generator_page_output import QrCodeGeneratorPageOutput
-from .types.related_qn_a_page_request_functions_item import RelatedQnAPageRequestFunctionsItem
-from .types.related_qn_a_page_request_selected_model import RelatedQnAPageRequestSelectedModel
+from .types.large_language_models import LargeLanguageModels
from .types.related_qn_a_page_request_embedding_model import RelatedQnAPageRequestEmbeddingModel
from .types.related_qn_a_page_request_response_format_type import RelatedQnAPageRequestResponseFormatType
from .types.serp_search_location import SerpSearchLocation
from .types.serp_search_type import SerpSearchType
from .types.related_qn_a_page_output import RelatedQnAPageOutput
-from .types.seo_summary_page_request_selected_model import SeoSummaryPageRequestSelectedModel
from .types.seo_summary_page_request_response_format_type import SeoSummaryPageRequestResponseFormatType
from .types.seo_summary_page_output import SeoSummaryPageOutput
-from .types.google_gpt_page_request_functions_item import GoogleGptPageRequestFunctionsItem
-from .types.google_gpt_page_request_selected_model import GoogleGptPageRequestSelectedModel
from .types.google_gpt_page_request_embedding_model import GoogleGptPageRequestEmbeddingModel
from .types.google_gpt_page_request_response_format_type import GoogleGptPageRequestResponseFormatType
from .types.google_gpt_page_output import GoogleGptPageOutput
-from .types.social_lookup_email_page_request_functions_item import SocialLookupEmailPageRequestFunctionsItem
-from .types.social_lookup_email_page_request_selected_model import SocialLookupEmailPageRequestSelectedModel
from .types.social_lookup_email_page_request_response_format_type import SocialLookupEmailPageRequestResponseFormatType
from .types.social_lookup_email_page_output import SocialLookupEmailPageOutput
-from .types.bulk_run_request_functions_item import BulkRunRequestFunctionsItem
from .types.bulk_runner_page_output import BulkRunnerPageOutput
-from .types.bulk_eval_page_request_functions_item import BulkEvalPageRequestFunctionsItem
-from .types.bulk_eval_page_request_eval_prompts_item import BulkEvalPageRequestEvalPromptsItem
-from .types.bulk_eval_page_request_agg_functions_item import BulkEvalPageRequestAggFunctionsItem
-from .types.bulk_eval_page_request_selected_model import BulkEvalPageRequestSelectedModel
+from .types.eval_prompt import EvalPrompt
+from .types.agg_function import AggFunction
from .types.bulk_eval_page_request_response_format_type import BulkEvalPageRequestResponseFormatType
from .types.bulk_eval_page_output import BulkEvalPageOutput
-from .types.synthesize_data_request_functions_item import SynthesizeDataRequestFunctionsItem
from .types.synthesize_data_request_selected_asr_model import SynthesizeDataRequestSelectedAsrModel
-from .types.synthesize_data_request_selected_model import SynthesizeDataRequestSelectedModel
from .types.synthesize_data_request_response_format_type import SynthesizeDataRequestResponseFormatType
from .types.doc_extract_page_output import DocExtractPageOutput
-from .types.compare_llm_page_request_functions_item import CompareLlmPageRequestFunctionsItem
-from .types.compare_llm_page_request_selected_models_item import CompareLlmPageRequestSelectedModelsItem
from .types.compare_llm_page_request_response_format_type import CompareLlmPageRequestResponseFormatType
from .types.compare_llm_page_output import CompareLlmPageOutput
-from .types.doc_search_page_request_functions_item import DocSearchPageRequestFunctionsItem
from .types.doc_search_page_request_keyword_query import DocSearchPageRequestKeywordQuery
from .types.doc_search_page_request_embedding_model import DocSearchPageRequestEmbeddingModel
-from .types.doc_search_page_request_selected_model import DocSearchPageRequestSelectedModel
from .types.doc_search_page_request_citation_style import DocSearchPageRequestCitationStyle
from .types.doc_search_page_request_response_format_type import DocSearchPageRequestResponseFormatType
from .types.doc_search_page_output import DocSearchPageOutput
-from .types.smart_gpt_page_request_functions_item import SmartGptPageRequestFunctionsItem
-from .types.smart_gpt_page_request_selected_model import SmartGptPageRequestSelectedModel
from .types.smart_gpt_page_request_response_format_type import SmartGptPageRequestResponseFormatType
from .types.smart_gpt_page_output import SmartGptPageOutput
-from .types.doc_summary_request_functions_item import DocSummaryRequestFunctionsItem
-from .types.doc_summary_request_selected_model import DocSummaryRequestSelectedModel
from .types.doc_summary_request_selected_asr_model import DocSummaryRequestSelectedAsrModel
from .types.doc_summary_request_response_format_type import DocSummaryRequestResponseFormatType
from .types.doc_summary_page_output import DocSummaryPageOutput
from .types.functions_page_output import FunctionsPageOutput
-from .types.lipsync_request_functions_item import LipsyncRequestFunctionsItem
-from .types.lipsync_request_sadtalker_settings import LipsyncRequestSadtalkerSettings
+from .types.sad_talker_settings import SadTalkerSettings
from .types.lipsync_request_selected_model import LipsyncRequestSelectedModel
from .types.lipsync_page_output import LipsyncPageOutput
-from .types.lipsync_tts_request_functions_item import LipsyncTtsRequestFunctionsItem
from .types.lipsync_tts_request_tts_provider import LipsyncTtsRequestTtsProvider
from .types.lipsync_tts_request_openai_voice_name import LipsyncTtsRequestOpenaiVoiceName
from .types.lipsync_tts_request_openai_tts_model import LipsyncTtsRequestOpenaiTtsModel
-from .types.lipsync_tts_request_sadtalker_settings import LipsyncTtsRequestSadtalkerSettings
from .types.lipsync_tts_request_selected_model import LipsyncTtsRequestSelectedModel
from .types.lipsync_tts_page_output import LipsyncTtsPageOutput
-from .types.text_to_speech_page_request_functions_item import TextToSpeechPageRequestFunctionsItem
from .types.text_to_speech_page_request_tts_provider import TextToSpeechPageRequestTtsProvider
from .types.text_to_speech_page_request_openai_voice_name import TextToSpeechPageRequestOpenaiVoiceName
from .types.text_to_speech_page_request_openai_tts_model import TextToSpeechPageRequestOpenaiTtsModel
from .types.text_to_speech_page_output import TextToSpeechPageOutput
-from .types.speech_recognition_request_functions_item import SpeechRecognitionRequestFunctionsItem
from .types.speech_recognition_request_selected_model import SpeechRecognitionRequestSelectedModel
from .types.speech_recognition_request_translation_model import SpeechRecognitionRequestTranslationModel
from .types.speech_recognition_request_output_format import SpeechRecognitionRequestOutputFormat
from .types.asr_page_output import AsrPageOutput
-from .types.text2audio_page_request_functions_item import Text2AudioPageRequestFunctionsItem
from .types.text2audio_page_output import Text2AudioPageOutput
-from .types.translate_request_functions_item import TranslateRequestFunctionsItem
from .types.translate_request_selected_model import TranslateRequestSelectedModel
from .types.translation_page_output import TranslationPageOutput
-from .types.remix_image_request_functions_item import RemixImageRequestFunctionsItem
from .types.remix_image_request_selected_model import RemixImageRequestSelectedModel
from .types.remix_image_request_selected_controlnet_model import RemixImageRequestSelectedControlnetModel
from .types.img2img_page_output import Img2ImgPageOutput
-from .types.compare_text2img_page_request_functions_item import CompareText2ImgPageRequestFunctionsItem
from .types.compare_text2img_page_request_selected_models_item import CompareText2ImgPageRequestSelectedModelsItem
from .types.compare_text2img_page_request_scheduler import CompareText2ImgPageRequestScheduler
from .types.compare_text2img_page_output import CompareText2ImgPageOutput
-from .types.product_image_request_functions_item import ProductImageRequestFunctionsItem
from .types.product_image_request_selected_model import ProductImageRequestSelectedModel
from .types.object_inpainting_page_output import ObjectInpaintingPageOutput
-from .types.portrait_request_functions_item import PortraitRequestFunctionsItem
from .types.portrait_request_selected_model import PortraitRequestSelectedModel
from .types.face_inpainting_page_output import FaceInpaintingPageOutput
-from .types.email_face_inpainting_page_request_functions_item import EmailFaceInpaintingPageRequestFunctionsItem
from .types.email_face_inpainting_page_request_selected_model import EmailFaceInpaintingPageRequestSelectedModel
from .types.email_face_inpainting_page_output import EmailFaceInpaintingPageOutput
-from .types.google_image_gen_page_request_functions_item import GoogleImageGenPageRequestFunctionsItem
from .types.google_image_gen_page_request_selected_model import GoogleImageGenPageRequestSelectedModel
from .types.google_image_gen_page_output import GoogleImageGenPageOutput
-from .types.remove_background_request_functions_item import RemoveBackgroundRequestFunctionsItem
from .types.remove_background_request_selected_model import RemoveBackgroundRequestSelectedModel
from .types.image_segmentation_page_output import ImageSegmentationPageOutput
-from .types.upscale_request_functions_item import UpscaleRequestFunctionsItem
from .types.upscale_request_selected_models_item import UpscaleRequestSelectedModelsItem
from .types.compare_upscaler_page_output import CompareUpscalerPageOutput
-from .types.embeddings_page_request_functions_item import EmbeddingsPageRequestFunctionsItem
from .types.embeddings_page_request_selected_model import EmbeddingsPageRequestSelectedModel
from .types.embeddings_page_output import EmbeddingsPageOutput
-from .types.related_qn_a_doc_page_request_functions_item import RelatedQnADocPageRequestFunctionsItem
from .types.related_qn_a_doc_page_request_keyword_query import RelatedQnADocPageRequestKeywordQuery
from .types.related_qn_a_doc_page_request_embedding_model import RelatedQnADocPageRequestEmbeddingModel
-from .types.related_qn_a_doc_page_request_selected_model import RelatedQnADocPageRequestSelectedModel
from .types.related_qn_a_doc_page_request_citation_style import RelatedQnADocPageRequestCitationStyle
from .types.related_qn_a_doc_page_request_response_format_type import RelatedQnADocPageRequestResponseFormatType
from .types.related_qn_a_doc_page_output import RelatedQnADocPageOutput
@@ -216,9 +178,9 @@ def __init__(
def animate(
self,
*,
- animation_prompts: typing.Sequence[DeforumSdPageRequestAnimationPromptsItem],
+ animation_prompts: typing.Sequence[AnimationPrompt],
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[DeforumSdPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
max_frames: typing.Optional[int] = OMIT,
selected_model: typing.Optional[DeforumSdPageRequestSelectedModel] = OMIT,
@@ -237,11 +199,11 @@ def animate(
"""
Parameters
----------
- animation_prompts : typing.Sequence[DeforumSdPageRequestAnimationPromptsItem]
+ animation_prompts : typing.Sequence[AnimationPrompt]
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[DeforumSdPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -280,14 +242,14 @@ def animate(
Examples
--------
- from gooey import DeforumSdPageRequestAnimationPromptsItem, Gooey
+ from gooey import AnimationPrompt, Gooey
client = Gooey(
api_key="YOUR_API_KEY",
)
client.animate(
animation_prompts=[
- DeforumSdPageRequestAnimationPromptsItem(
+ AnimationPrompt(
frame="frame",
prompt="prompt",
)
@@ -369,36 +331,36 @@ def qr_code(
*,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[QrCodeRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- qr_code_data: typing.Optional[str] = OMIT,
- qr_code_input_image: typing.Optional[core.File] = OMIT,
- qr_code_vcard: typing.Optional[QrCodeRequestQrCodeVcard] = OMIT,
- qr_code_file: typing.Optional[core.File] = OMIT,
- use_url_shortener: typing.Optional[bool] = OMIT,
- negative_prompt: typing.Optional[str] = OMIT,
- image_prompt: typing.Optional[str] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ qr_code_data: typing.Optional[str] = None,
+ qr_code_input_image: typing.Optional[core.File] = None,
+ qr_code_vcard: typing.Optional[Vcard] = None,
+ qr_code_file: typing.Optional[core.File] = None,
+ use_url_shortener: typing.Optional[bool] = None,
+ negative_prompt: typing.Optional[str] = None,
+ image_prompt: typing.Optional[str] = None,
image_prompt_controlnet_models: typing.Optional[
typing.List[QrCodeRequestImagePromptControlnetModelsItem]
- ] = OMIT,
- image_prompt_strength: typing.Optional[float] = OMIT,
- image_prompt_scale: typing.Optional[float] = OMIT,
- image_prompt_pos_x: typing.Optional[float] = OMIT,
- image_prompt_pos_y: typing.Optional[float] = OMIT,
- selected_model: typing.Optional[QrCodeRequestSelectedModel] = OMIT,
- selected_controlnet_model: typing.Optional[typing.List[QrCodeRequestSelectedControlnetModelItem]] = OMIT,
- output_width: typing.Optional[int] = OMIT,
- output_height: typing.Optional[int] = OMIT,
- guidance_scale: typing.Optional[float] = OMIT,
- controlnet_conditioning_scale: typing.Optional[typing.List[float]] = OMIT,
- num_outputs: typing.Optional[int] = OMIT,
- quality: typing.Optional[int] = OMIT,
- scheduler: typing.Optional[QrCodeRequestScheduler] = OMIT,
- seed: typing.Optional[int] = OMIT,
- obj_scale: typing.Optional[float] = OMIT,
- obj_pos_x: typing.Optional[float] = OMIT,
- obj_pos_y: typing.Optional[float] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ ] = None,
+ image_prompt_strength: typing.Optional[float] = None,
+ image_prompt_scale: typing.Optional[float] = None,
+ image_prompt_pos_x: typing.Optional[float] = None,
+ image_prompt_pos_y: typing.Optional[float] = None,
+ selected_model: typing.Optional[QrCodeRequestSelectedModel] = None,
+ selected_controlnet_model: typing.Optional[typing.List[QrCodeRequestSelectedControlnetModelItem]] = None,
+ output_width: typing.Optional[int] = None,
+ output_height: typing.Optional[int] = None,
+ guidance_scale: typing.Optional[float] = None,
+ controlnet_conditioning_scale: typing.Optional[typing.List[float]] = None,
+ num_outputs: typing.Optional[int] = None,
+ quality: typing.Optional[int] = None,
+ scheduler: typing.Optional[QrCodeRequestScheduler] = None,
+ seed: typing.Optional[int] = None,
+ obj_scale: typing.Optional[float] = None,
+ obj_pos_x: typing.Optional[float] = None,
+ obj_pos_y: typing.Optional[float] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> QrCodeGeneratorPageOutput:
"""
@@ -408,7 +370,7 @@ def qr_code(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[QrCodeRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -418,7 +380,7 @@ def qr_code(
qr_code_input_image : typing.Optional[core.File]
See core.File for more documentation
- qr_code_vcard : typing.Optional[QrCodeRequestQrCodeVcard]
+ qr_code_vcard : typing.Optional[Vcard]
qr_code_file : typing.Optional[core.File]
See core.File for more documentation
@@ -578,11 +540,11 @@ def seo_people_also_ask(
search_query: str,
site_filter: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[RelatedQnAPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
task_instructions: typing.Optional[str] = OMIT,
query_instructions: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[RelatedQnAPageRequestSelectedModel] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
max_search_urls: typing.Optional[int] = OMIT,
max_references: typing.Optional[int] = OMIT,
max_context_words: typing.Optional[int] = OMIT,
@@ -611,7 +573,7 @@ def seo_people_also_ask(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[RelatedQnAPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -620,7 +582,7 @@ def seo_people_also_ask(
query_instructions : typing.Optional[str]
- selected_model : typing.Optional[RelatedQnAPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
max_search_urls : typing.Optional[int]
@@ -771,7 +733,7 @@ def seo_content(
example_id: typing.Optional[str] = None,
task_instructions: typing.Optional[str] = OMIT,
enable_html: typing.Optional[bool] = OMIT,
- selected_model: typing.Optional[SeoSummaryPageRequestSelectedModel] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
max_search_urls: typing.Optional[int] = OMIT,
enable_crosslinks: typing.Optional[bool] = OMIT,
seed: typing.Optional[int] = OMIT,
@@ -805,7 +767,7 @@ def seo_content(
enable_html : typing.Optional[bool]
- selected_model : typing.Optional[SeoSummaryPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
max_search_urls : typing.Optional[int]
@@ -941,11 +903,11 @@ def web_search_llm(
search_query: str,
site_filter: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[GoogleGptPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
task_instructions: typing.Optional[str] = OMIT,
query_instructions: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[GoogleGptPageRequestSelectedModel] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
max_search_urls: typing.Optional[int] = OMIT,
max_references: typing.Optional[int] = OMIT,
max_context_words: typing.Optional[int] = OMIT,
@@ -974,7 +936,7 @@ def web_search_llm(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[GoogleGptPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -983,7 +945,7 @@ def web_search_llm(
query_instructions : typing.Optional[str]
- selected_model : typing.Optional[GoogleGptPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
max_search_urls : typing.Optional[int]
@@ -1129,10 +1091,10 @@ def personalize_email(
*,
email_address: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[SocialLookupEmailPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
input_prompt: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[SocialLookupEmailPageRequestSelectedModel] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
avoid_repetition: typing.Optional[bool] = OMIT,
num_outputs: typing.Optional[int] = OMIT,
quality: typing.Optional[float] = OMIT,
@@ -1149,14 +1111,14 @@ def personalize_email(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[SocialLookupEmailPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
input_prompt : typing.Optional[str]
- selected_model : typing.Optional[SocialLookupEmailPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
avoid_repetition : typing.Optional[bool]
@@ -1266,10 +1228,10 @@ def bulk_run(
input_columns: typing.Dict[str, str],
output_columns: typing.Dict[str, str],
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[BulkRunRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- eval_urls: typing.Optional[typing.List[str]] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ eval_urls: typing.Optional[typing.List[str]] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> BulkRunnerPageOutput:
"""
@@ -1296,7 +1258,7 @@ def bulk_run(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[BulkRunRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -1399,11 +1361,11 @@ def eval(
*,
documents: typing.Sequence[str],
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[BulkEvalPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- eval_prompts: typing.Optional[typing.Sequence[BulkEvalPageRequestEvalPromptsItem]] = OMIT,
- agg_functions: typing.Optional[typing.Sequence[BulkEvalPageRequestAggFunctionsItem]] = OMIT,
- selected_model: typing.Optional[BulkEvalPageRequestSelectedModel] = OMIT,
+ eval_prompts: typing.Optional[typing.Sequence[EvalPrompt]] = OMIT,
+ agg_functions: typing.Optional[typing.Sequence[AggFunction]] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
avoid_repetition: typing.Optional[bool] = OMIT,
num_outputs: typing.Optional[int] = OMIT,
quality: typing.Optional[float] = OMIT,
@@ -1425,23 +1387,23 @@ def eval(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[BulkEvalPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
- eval_prompts : typing.Optional[typing.Sequence[BulkEvalPageRequestEvalPromptsItem]]
+ eval_prompts : typing.Optional[typing.Sequence[EvalPrompt]]
Specify custom LLM prompts to calculate metrics that evaluate each row of the input data. The output should be a JSON object mapping the metric names to values.
_The `columns` dictionary can be used to reference the spreadsheet columns._
- agg_functions : typing.Optional[typing.Sequence[BulkEvalPageRequestAggFunctionsItem]]
+ agg_functions : typing.Optional[typing.Sequence[AggFunction]]
Aggregate using one or more operations. Uses [pandas](https://pandas.pydata.org/pandas-docs/stable/reference/groupby.html#dataframegroupby-computations-descriptive-stats).
- selected_model : typing.Optional[BulkEvalPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
avoid_repetition : typing.Optional[bool]
@@ -1549,21 +1511,21 @@ def synthesize_data(
*,
documents: typing.List[core.File],
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[SynthesizeDataRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- sheet_url: typing.Optional[core.File] = OMIT,
- selected_asr_model: typing.Optional[SynthesizeDataRequestSelectedAsrModel] = OMIT,
- google_translate_target: typing.Optional[str] = OMIT,
- glossary_document: typing.Optional[core.File] = OMIT,
- task_instructions: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[SynthesizeDataRequestSelectedModel] = OMIT,
- avoid_repetition: typing.Optional[bool] = OMIT,
- num_outputs: typing.Optional[int] = OMIT,
- quality: typing.Optional[float] = OMIT,
- max_tokens: typing.Optional[int] = OMIT,
- sampling_temperature: typing.Optional[float] = OMIT,
- response_format_type: typing.Optional[SynthesizeDataRequestResponseFormatType] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ sheet_url: typing.Optional[core.File] = None,
+ selected_asr_model: typing.Optional[SynthesizeDataRequestSelectedAsrModel] = None,
+ google_translate_target: typing.Optional[str] = None,
+ glossary_document: typing.Optional[core.File] = None,
+ task_instructions: typing.Optional[str] = None,
+ selected_model: typing.Optional[LargeLanguageModels] = None,
+ avoid_repetition: typing.Optional[bool] = None,
+ num_outputs: typing.Optional[int] = None,
+ quality: typing.Optional[float] = None,
+ max_tokens: typing.Optional[int] = None,
+ sampling_temperature: typing.Optional[float] = None,
+ response_format_type: typing.Optional[SynthesizeDataRequestResponseFormatType] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> DocExtractPageOutput:
"""
@@ -1574,7 +1536,7 @@ def synthesize_data(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[SynthesizeDataRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -1591,7 +1553,7 @@ def synthesize_data(
task_instructions : typing.Optional[str]
- selected_model : typing.Optional[SynthesizeDataRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
avoid_repetition : typing.Optional[bool]
@@ -1701,10 +1663,10 @@ def llm(
self,
*,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[CompareLlmPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
input_prompt: typing.Optional[str] = OMIT,
- selected_models: typing.Optional[typing.Sequence[CompareLlmPageRequestSelectedModelsItem]] = OMIT,
+ selected_models: typing.Optional[typing.Sequence[LargeLanguageModels]] = OMIT,
avoid_repetition: typing.Optional[bool] = OMIT,
num_outputs: typing.Optional[int] = OMIT,
quality: typing.Optional[float] = OMIT,
@@ -1719,14 +1681,14 @@ def llm(
----------
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[CompareLlmPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
input_prompt : typing.Optional[str]
- selected_models : typing.Optional[typing.Sequence[CompareLlmPageRequestSelectedModelsItem]]
+ selected_models : typing.Optional[typing.Sequence[LargeLanguageModels]]
avoid_repetition : typing.Optional[bool]
@@ -1830,7 +1792,7 @@ def rag(
*,
search_query: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[DocSearchPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
keyword_query: typing.Optional[DocSearchPageRequestKeywordQuery] = OMIT,
documents: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -1842,7 +1804,7 @@ def rag(
dense_weight: typing.Optional[float] = OMIT,
task_instructions: typing.Optional[str] = OMIT,
query_instructions: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[DocSearchPageRequestSelectedModel] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
citation_style: typing.Optional[DocSearchPageRequestCitationStyle] = OMIT,
avoid_repetition: typing.Optional[bool] = OMIT,
num_outputs: typing.Optional[int] = OMIT,
@@ -1860,7 +1822,7 @@ def rag(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[DocSearchPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -1889,7 +1851,7 @@ def rag(
query_instructions : typing.Optional[str]
- selected_model : typing.Optional[DocSearchPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
citation_style : typing.Optional[DocSearchPageRequestCitationStyle]
@@ -2008,12 +1970,12 @@ def smart_gpt(
*,
input_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[SmartGptPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
cot_prompt: typing.Optional[str] = OMIT,
reflexion_prompt: typing.Optional[str] = OMIT,
dera_prompt: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[SmartGptPageRequestSelectedModel] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
avoid_repetition: typing.Optional[bool] = OMIT,
num_outputs: typing.Optional[int] = OMIT,
quality: typing.Optional[float] = OMIT,
@@ -2030,7 +1992,7 @@ def smart_gpt(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[SmartGptPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -2041,7 +2003,7 @@ def smart_gpt(
dera_prompt : typing.Optional[str]
- selected_model : typing.Optional[SmartGptPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
avoid_repetition : typing.Optional[bool]
@@ -2150,21 +2112,21 @@ def doc_summary(
*,
documents: typing.List[core.File],
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[DocSummaryRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- task_instructions: typing.Optional[str] = OMIT,
- merge_instructions: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[DocSummaryRequestSelectedModel] = OMIT,
- chain_type: typing.Optional[typing.Literal["map_reduce"]] = OMIT,
- selected_asr_model: typing.Optional[DocSummaryRequestSelectedAsrModel] = OMIT,
- google_translate_target: typing.Optional[str] = OMIT,
- avoid_repetition: typing.Optional[bool] = OMIT,
- num_outputs: typing.Optional[int] = OMIT,
- quality: typing.Optional[float] = OMIT,
- max_tokens: typing.Optional[int] = OMIT,
- sampling_temperature: typing.Optional[float] = OMIT,
- response_format_type: typing.Optional[DocSummaryRequestResponseFormatType] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ task_instructions: typing.Optional[str] = None,
+ merge_instructions: typing.Optional[str] = None,
+ selected_model: typing.Optional[LargeLanguageModels] = None,
+ chain_type: typing.Optional[typing.Literal["map_reduce"]] = None,
+ selected_asr_model: typing.Optional[DocSummaryRequestSelectedAsrModel] = None,
+ google_translate_target: typing.Optional[str] = None,
+ avoid_repetition: typing.Optional[bool] = None,
+ num_outputs: typing.Optional[int] = None,
+ quality: typing.Optional[float] = None,
+ max_tokens: typing.Optional[int] = None,
+ sampling_temperature: typing.Optional[float] = None,
+ response_format_type: typing.Optional[DocSummaryRequestResponseFormatType] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> DocSummaryPageOutput:
"""
@@ -2175,7 +2137,7 @@ def doc_summary(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[DocSummaryRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -2184,7 +2146,7 @@ def doc_summary(
merge_instructions : typing.Optional[str]
- selected_model : typing.Optional[DocSummaryRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
chain_type : typing.Optional[typing.Literal["map_reduce"]]
@@ -2397,17 +2359,17 @@ def lipsync(
self,
*,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[LipsyncRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- input_face: typing.Optional[core.File] = OMIT,
- face_padding_top: typing.Optional[int] = OMIT,
- face_padding_bottom: typing.Optional[int] = OMIT,
- face_padding_left: typing.Optional[int] = OMIT,
- face_padding_right: typing.Optional[int] = OMIT,
- sadtalker_settings: typing.Optional[LipsyncRequestSadtalkerSettings] = OMIT,
- selected_model: typing.Optional[LipsyncRequestSelectedModel] = OMIT,
- input_audio: typing.Optional[core.File] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ input_face: typing.Optional[core.File] = None,
+ face_padding_top: typing.Optional[int] = None,
+ face_padding_bottom: typing.Optional[int] = None,
+ face_padding_left: typing.Optional[int] = None,
+ face_padding_right: typing.Optional[int] = None,
+ sadtalker_settings: typing.Optional[SadTalkerSettings] = None,
+ selected_model: typing.Optional[LipsyncRequestSelectedModel] = None,
+ input_audio: typing.Optional[core.File] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> LipsyncPageOutput:
"""
@@ -2415,7 +2377,7 @@ def lipsync(
----------
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[LipsyncRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -2431,7 +2393,7 @@ def lipsync(
face_padding_right : typing.Optional[int]
- sadtalker_settings : typing.Optional[LipsyncRequestSadtalkerSettings]
+ sadtalker_settings : typing.Optional[SadTalkerSettings]
selected_model : typing.Optional[LipsyncRequestSelectedModel]
@@ -2530,34 +2492,34 @@ def lipsync_tts(
*,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[LipsyncTtsRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- tts_provider: typing.Optional[LipsyncTtsRequestTtsProvider] = OMIT,
- uberduck_voice_name: typing.Optional[str] = OMIT,
- uberduck_speaking_rate: typing.Optional[float] = OMIT,
- google_voice_name: typing.Optional[str] = OMIT,
- google_speaking_rate: typing.Optional[float] = OMIT,
- google_pitch: typing.Optional[float] = OMIT,
- bark_history_prompt: typing.Optional[str] = OMIT,
- elevenlabs_voice_name: typing.Optional[str] = OMIT,
- elevenlabs_api_key: typing.Optional[str] = OMIT,
- elevenlabs_voice_id: typing.Optional[str] = OMIT,
- elevenlabs_model: typing.Optional[str] = OMIT,
- elevenlabs_stability: typing.Optional[float] = OMIT,
- elevenlabs_similarity_boost: typing.Optional[float] = OMIT,
- elevenlabs_style: typing.Optional[float] = OMIT,
- elevenlabs_speaker_boost: typing.Optional[bool] = OMIT,
- azure_voice_name: typing.Optional[str] = OMIT,
- openai_voice_name: typing.Optional[LipsyncTtsRequestOpenaiVoiceName] = OMIT,
- openai_tts_model: typing.Optional[LipsyncTtsRequestOpenaiTtsModel] = OMIT,
- input_face: typing.Optional[core.File] = OMIT,
- face_padding_top: typing.Optional[int] = OMIT,
- face_padding_bottom: typing.Optional[int] = OMIT,
- face_padding_left: typing.Optional[int] = OMIT,
- face_padding_right: typing.Optional[int] = OMIT,
- sadtalker_settings: typing.Optional[LipsyncTtsRequestSadtalkerSettings] = OMIT,
- selected_model: typing.Optional[LipsyncTtsRequestSelectedModel] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ tts_provider: typing.Optional[LipsyncTtsRequestTtsProvider] = None,
+ uberduck_voice_name: typing.Optional[str] = None,
+ uberduck_speaking_rate: typing.Optional[float] = None,
+ google_voice_name: typing.Optional[str] = None,
+ google_speaking_rate: typing.Optional[float] = None,
+ google_pitch: typing.Optional[float] = None,
+ bark_history_prompt: typing.Optional[str] = None,
+ elevenlabs_voice_name: typing.Optional[str] = None,
+ elevenlabs_api_key: typing.Optional[str] = None,
+ elevenlabs_voice_id: typing.Optional[str] = None,
+ elevenlabs_model: typing.Optional[str] = None,
+ elevenlabs_stability: typing.Optional[float] = None,
+ elevenlabs_similarity_boost: typing.Optional[float] = None,
+ elevenlabs_style: typing.Optional[float] = None,
+ elevenlabs_speaker_boost: typing.Optional[bool] = None,
+ azure_voice_name: typing.Optional[str] = None,
+ openai_voice_name: typing.Optional[LipsyncTtsRequestOpenaiVoiceName] = None,
+ openai_tts_model: typing.Optional[LipsyncTtsRequestOpenaiTtsModel] = None,
+ input_face: typing.Optional[core.File] = None,
+ face_padding_top: typing.Optional[int] = None,
+ face_padding_bottom: typing.Optional[int] = None,
+ face_padding_left: typing.Optional[int] = None,
+ face_padding_right: typing.Optional[int] = None,
+ sadtalker_settings: typing.Optional[SadTalkerSettings] = None,
+ selected_model: typing.Optional[LipsyncTtsRequestSelectedModel] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> LipsyncTtsPageOutput:
"""
@@ -2567,7 +2529,7 @@ def lipsync_tts(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[LipsyncTtsRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -2620,7 +2582,7 @@ def lipsync_tts(
face_padding_right : typing.Optional[int]
- sadtalker_settings : typing.Optional[LipsyncTtsRequestSadtalkerSettings]
+ sadtalker_settings : typing.Optional[SadTalkerSettings]
selected_model : typing.Optional[LipsyncTtsRequestSelectedModel]
@@ -2736,7 +2698,7 @@ def text_to_speech(
*,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[TextToSpeechPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
tts_provider: typing.Optional[TextToSpeechPageRequestTtsProvider] = OMIT,
uberduck_voice_name: typing.Optional[str] = OMIT,
@@ -2766,7 +2728,7 @@ def text_to_speech(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[TextToSpeechPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -2911,17 +2873,17 @@ def speech_recognition(
*,
documents: typing.List[core.File],
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[SpeechRecognitionRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- selected_model: typing.Optional[SpeechRecognitionRequestSelectedModel] = OMIT,
- language: typing.Optional[str] = OMIT,
- translation_model: typing.Optional[SpeechRecognitionRequestTranslationModel] = OMIT,
- output_format: typing.Optional[SpeechRecognitionRequestOutputFormat] = OMIT,
- google_translate_target: typing.Optional[str] = OMIT,
- translation_source: typing.Optional[str] = OMIT,
- translation_target: typing.Optional[str] = OMIT,
- glossary_document: typing.Optional[core.File] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ selected_model: typing.Optional[SpeechRecognitionRequestSelectedModel] = None,
+ language: typing.Optional[str] = None,
+ translation_model: typing.Optional[SpeechRecognitionRequestTranslationModel] = None,
+ output_format: typing.Optional[SpeechRecognitionRequestOutputFormat] = None,
+ google_translate_target: typing.Optional[str] = None,
+ translation_source: typing.Optional[str] = None,
+ translation_target: typing.Optional[str] = None,
+ glossary_document: typing.Optional[core.File] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> AsrPageOutput:
"""
@@ -2932,7 +2894,7 @@ def speech_recognition(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[SpeechRecognitionRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -3048,7 +3010,7 @@ def text_to_music(
*,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[Text2AudioPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
negative_prompt: typing.Optional[str] = OMIT,
duration_sec: typing.Optional[float] = OMIT,
@@ -3068,7 +3030,7 @@ def text_to_music(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[Text2AudioPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -3181,14 +3143,14 @@ def translate(
self,
*,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[TranslateRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- texts: typing.Optional[typing.List[str]] = OMIT,
- selected_model: typing.Optional[TranslateRequestSelectedModel] = OMIT,
- translation_source: typing.Optional[str] = OMIT,
- translation_target: typing.Optional[str] = OMIT,
- glossary_document: typing.Optional[core.File] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ texts: typing.Optional[typing.List[str]] = None,
+ selected_model: typing.Optional[TranslateRequestSelectedModel] = None,
+ translation_source: typing.Optional[str] = None,
+ translation_target: typing.Optional[str] = None,
+ glossary_document: typing.Optional[core.File] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> TranslationPageOutput:
"""
@@ -3196,7 +3158,7 @@ def translate(
----------
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[TranslateRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -3301,22 +3263,22 @@ def remix_image(
*,
input_image: core.File,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[RemixImageRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- text_prompt: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[RemixImageRequestSelectedModel] = OMIT,
- selected_controlnet_model: typing.Optional[RemixImageRequestSelectedControlnetModel] = OMIT,
- negative_prompt: typing.Optional[str] = OMIT,
- num_outputs: typing.Optional[int] = OMIT,
- quality: typing.Optional[int] = OMIT,
- output_width: typing.Optional[int] = OMIT,
- output_height: typing.Optional[int] = OMIT,
- guidance_scale: typing.Optional[float] = OMIT,
- prompt_strength: typing.Optional[float] = OMIT,
- controlnet_conditioning_scale: typing.Optional[typing.List[float]] = OMIT,
- seed: typing.Optional[int] = OMIT,
- image_guidance_scale: typing.Optional[float] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ text_prompt: typing.Optional[str] = None,
+ selected_model: typing.Optional[RemixImageRequestSelectedModel] = None,
+ selected_controlnet_model: typing.Optional[RemixImageRequestSelectedControlnetModel] = None,
+ negative_prompt: typing.Optional[str] = None,
+ num_outputs: typing.Optional[int] = None,
+ quality: typing.Optional[int] = None,
+ output_width: typing.Optional[int] = None,
+ output_height: typing.Optional[int] = None,
+ guidance_scale: typing.Optional[float] = None,
+ prompt_strength: typing.Optional[float] = None,
+ controlnet_conditioning_scale: typing.Optional[typing.List[float]] = None,
+ seed: typing.Optional[int] = None,
+ image_guidance_scale: typing.Optional[float] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> Img2ImgPageOutput:
"""
@@ -3327,7 +3289,7 @@ def remix_image(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[RemixImageRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -3456,7 +3418,7 @@ def text_to_image(
*,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[CompareText2ImgPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
negative_prompt: typing.Optional[str] = OMIT,
output_width: typing.Optional[int] = OMIT,
@@ -3482,7 +3444,7 @@ def text_to_image(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[CompareText2ImgPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -3615,22 +3577,22 @@ def product_image(
input_image: core.File,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[ProductImageRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- obj_scale: typing.Optional[float] = OMIT,
- obj_pos_x: typing.Optional[float] = OMIT,
- obj_pos_y: typing.Optional[float] = OMIT,
- mask_threshold: typing.Optional[float] = OMIT,
- selected_model: typing.Optional[ProductImageRequestSelectedModel] = OMIT,
- negative_prompt: typing.Optional[str] = OMIT,
- num_outputs: typing.Optional[int] = OMIT,
- quality: typing.Optional[int] = OMIT,
- output_width: typing.Optional[int] = OMIT,
- output_height: typing.Optional[int] = OMIT,
- guidance_scale: typing.Optional[float] = OMIT,
- sd2upscaling: typing.Optional[bool] = OMIT,
- seed: typing.Optional[int] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ obj_scale: typing.Optional[float] = None,
+ obj_pos_x: typing.Optional[float] = None,
+ obj_pos_y: typing.Optional[float] = None,
+ mask_threshold: typing.Optional[float] = None,
+ selected_model: typing.Optional[ProductImageRequestSelectedModel] = None,
+ negative_prompt: typing.Optional[str] = None,
+ num_outputs: typing.Optional[int] = None,
+ quality: typing.Optional[int] = None,
+ output_width: typing.Optional[int] = None,
+ output_height: typing.Optional[int] = None,
+ guidance_scale: typing.Optional[float] = None,
+ sd2upscaling: typing.Optional[bool] = None,
+ seed: typing.Optional[int] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> ObjectInpaintingPageOutput:
"""
@@ -3643,7 +3605,7 @@ def product_image(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[ProductImageRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -3776,21 +3738,21 @@ def portrait(
input_image: core.File,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[PortraitRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- face_scale: typing.Optional[float] = OMIT,
- face_pos_x: typing.Optional[float] = OMIT,
- face_pos_y: typing.Optional[float] = OMIT,
- selected_model: typing.Optional[PortraitRequestSelectedModel] = OMIT,
- negative_prompt: typing.Optional[str] = OMIT,
- num_outputs: typing.Optional[int] = OMIT,
- quality: typing.Optional[int] = OMIT,
- upscale_factor: typing.Optional[float] = OMIT,
- output_width: typing.Optional[int] = OMIT,
- output_height: typing.Optional[int] = OMIT,
- guidance_scale: typing.Optional[float] = OMIT,
- seed: typing.Optional[int] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ face_scale: typing.Optional[float] = None,
+ face_pos_x: typing.Optional[float] = None,
+ face_pos_y: typing.Optional[float] = None,
+ selected_model: typing.Optional[PortraitRequestSelectedModel] = None,
+ negative_prompt: typing.Optional[str] = None,
+ num_outputs: typing.Optional[int] = None,
+ quality: typing.Optional[int] = None,
+ upscale_factor: typing.Optional[float] = None,
+ output_width: typing.Optional[int] = None,
+ output_height: typing.Optional[int] = None,
+ guidance_scale: typing.Optional[float] = None,
+ seed: typing.Optional[int] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> FaceInpaintingPageOutput:
"""
@@ -3803,7 +3765,7 @@ def portrait(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[PortraitRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -3932,7 +3894,7 @@ def image_from_email(
*,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[EmailFaceInpaintingPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
email_address: typing.Optional[str] = OMIT,
twitter_handle: typing.Optional[str] = OMIT,
@@ -3966,7 +3928,7 @@ def image_from_email(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[EmailFaceInpaintingPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -4124,7 +4086,7 @@ def image_from_web_search(
search_query: str,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[GoogleImageGenPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
serp_search_location: typing.Optional[SerpSearchLocation] = OMIT,
scaleserp_locations: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -4149,7 +4111,7 @@ def image_from_web_search(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[GoogleImageGenPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -4275,16 +4237,16 @@ def remove_background(
*,
input_image: core.File,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[RemoveBackgroundRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- selected_model: typing.Optional[RemoveBackgroundRequestSelectedModel] = OMIT,
- mask_threshold: typing.Optional[float] = OMIT,
- rect_persepective_transform: typing.Optional[bool] = OMIT,
- reflection_opacity: typing.Optional[float] = OMIT,
- obj_scale: typing.Optional[float] = OMIT,
- obj_pos_x: typing.Optional[float] = OMIT,
- obj_pos_y: typing.Optional[float] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ selected_model: typing.Optional[RemoveBackgroundRequestSelectedModel] = None,
+ mask_threshold: typing.Optional[float] = None,
+ rect_persepective_transform: typing.Optional[bool] = None,
+ reflection_opacity: typing.Optional[float] = None,
+ obj_scale: typing.Optional[float] = None,
+ obj_pos_x: typing.Optional[float] = None,
+ obj_pos_y: typing.Optional[float] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> ImageSegmentationPageOutput:
"""
@@ -4295,7 +4257,7 @@ def remove_background(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[RemoveBackgroundRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -4406,13 +4368,13 @@ def upscale(
*,
scale: int,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[UpscaleRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- input_image: typing.Optional[core.File] = OMIT,
- input_video: typing.Optional[core.File] = OMIT,
- selected_models: typing.Optional[typing.List[UpscaleRequestSelectedModelsItem]] = OMIT,
- selected_bg_model: typing.Optional[typing.Literal["real_esrgan_x2"]] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ input_image: typing.Optional[core.File] = None,
+ input_video: typing.Optional[core.File] = None,
+ selected_models: typing.Optional[typing.List[UpscaleRequestSelectedModelsItem]] = None,
+ selected_bg_model: typing.Optional[typing.Literal["real_esrgan_x2"]] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> CompareUpscalerPageOutput:
"""
@@ -4423,7 +4385,7 @@ def upscale(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[UpscaleRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -4529,7 +4491,7 @@ def embed(
*,
texts: typing.Sequence[str],
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[EmbeddingsPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
selected_model: typing.Optional[EmbeddingsPageRequestSelectedModel] = OMIT,
settings: typing.Optional[RunSettings] = OMIT,
@@ -4542,7 +4504,7 @@ def embed(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[EmbeddingsPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -4635,7 +4597,7 @@ def seo_people_also_ask_doc(
*,
search_query: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[RelatedQnADocPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
keyword_query: typing.Optional[RelatedQnADocPageRequestKeywordQuery] = OMIT,
documents: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -4647,7 +4609,7 @@ def seo_people_also_ask_doc(
dense_weight: typing.Optional[float] = OMIT,
task_instructions: typing.Optional[str] = OMIT,
query_instructions: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[RelatedQnADocPageRequestSelectedModel] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
citation_style: typing.Optional[RelatedQnADocPageRequestCitationStyle] = OMIT,
avoid_repetition: typing.Optional[bool] = OMIT,
num_outputs: typing.Optional[int] = OMIT,
@@ -4669,7 +4631,7 @@ def seo_people_also_ask_doc(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[RelatedQnADocPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -4698,7 +4660,7 @@ def seo_people_also_ask_doc(
query_instructions : typing.Optional[str]
- selected_model : typing.Optional[RelatedQnADocPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
citation_style : typing.Optional[RelatedQnADocPageRequestCitationStyle]
@@ -4932,9 +4894,9 @@ def __init__(
async def animate(
self,
*,
- animation_prompts: typing.Sequence[DeforumSdPageRequestAnimationPromptsItem],
+ animation_prompts: typing.Sequence[AnimationPrompt],
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[DeforumSdPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
max_frames: typing.Optional[int] = OMIT,
selected_model: typing.Optional[DeforumSdPageRequestSelectedModel] = OMIT,
@@ -4953,11 +4915,11 @@ async def animate(
"""
Parameters
----------
- animation_prompts : typing.Sequence[DeforumSdPageRequestAnimationPromptsItem]
+ animation_prompts : typing.Sequence[AnimationPrompt]
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[DeforumSdPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -4998,7 +4960,7 @@ async def animate(
--------
import asyncio
- from gooey import AsyncGooey, DeforumSdPageRequestAnimationPromptsItem
+ from gooey import AnimationPrompt, AsyncGooey
client = AsyncGooey(
api_key="YOUR_API_KEY",
@@ -5008,7 +4970,7 @@ async def animate(
async def main() -> None:
await client.animate(
animation_prompts=[
- DeforumSdPageRequestAnimationPromptsItem(
+ AnimationPrompt(
frame="frame",
prompt="prompt",
)
@@ -5093,36 +5055,36 @@ async def qr_code(
*,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[QrCodeRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- qr_code_data: typing.Optional[str] = OMIT,
- qr_code_input_image: typing.Optional[core.File] = OMIT,
- qr_code_vcard: typing.Optional[QrCodeRequestQrCodeVcard] = OMIT,
- qr_code_file: typing.Optional[core.File] = OMIT,
- use_url_shortener: typing.Optional[bool] = OMIT,
- negative_prompt: typing.Optional[str] = OMIT,
- image_prompt: typing.Optional[str] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ qr_code_data: typing.Optional[str] = None,
+ qr_code_input_image: typing.Optional[core.File] = None,
+ qr_code_vcard: typing.Optional[Vcard] = None,
+ qr_code_file: typing.Optional[core.File] = None,
+ use_url_shortener: typing.Optional[bool] = None,
+ negative_prompt: typing.Optional[str] = None,
+ image_prompt: typing.Optional[str] = None,
image_prompt_controlnet_models: typing.Optional[
typing.List[QrCodeRequestImagePromptControlnetModelsItem]
- ] = OMIT,
- image_prompt_strength: typing.Optional[float] = OMIT,
- image_prompt_scale: typing.Optional[float] = OMIT,
- image_prompt_pos_x: typing.Optional[float] = OMIT,
- image_prompt_pos_y: typing.Optional[float] = OMIT,
- selected_model: typing.Optional[QrCodeRequestSelectedModel] = OMIT,
- selected_controlnet_model: typing.Optional[typing.List[QrCodeRequestSelectedControlnetModelItem]] = OMIT,
- output_width: typing.Optional[int] = OMIT,
- output_height: typing.Optional[int] = OMIT,
- guidance_scale: typing.Optional[float] = OMIT,
- controlnet_conditioning_scale: typing.Optional[typing.List[float]] = OMIT,
- num_outputs: typing.Optional[int] = OMIT,
- quality: typing.Optional[int] = OMIT,
- scheduler: typing.Optional[QrCodeRequestScheduler] = OMIT,
- seed: typing.Optional[int] = OMIT,
- obj_scale: typing.Optional[float] = OMIT,
- obj_pos_x: typing.Optional[float] = OMIT,
- obj_pos_y: typing.Optional[float] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ ] = None,
+ image_prompt_strength: typing.Optional[float] = None,
+ image_prompt_scale: typing.Optional[float] = None,
+ image_prompt_pos_x: typing.Optional[float] = None,
+ image_prompt_pos_y: typing.Optional[float] = None,
+ selected_model: typing.Optional[QrCodeRequestSelectedModel] = None,
+ selected_controlnet_model: typing.Optional[typing.List[QrCodeRequestSelectedControlnetModelItem]] = None,
+ output_width: typing.Optional[int] = None,
+ output_height: typing.Optional[int] = None,
+ guidance_scale: typing.Optional[float] = None,
+ controlnet_conditioning_scale: typing.Optional[typing.List[float]] = None,
+ num_outputs: typing.Optional[int] = None,
+ quality: typing.Optional[int] = None,
+ scheduler: typing.Optional[QrCodeRequestScheduler] = None,
+ seed: typing.Optional[int] = None,
+ obj_scale: typing.Optional[float] = None,
+ obj_pos_x: typing.Optional[float] = None,
+ obj_pos_y: typing.Optional[float] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> QrCodeGeneratorPageOutput:
"""
@@ -5132,7 +5094,7 @@ async def qr_code(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[QrCodeRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -5142,7 +5104,7 @@ async def qr_code(
qr_code_input_image : typing.Optional[core.File]
See core.File for more documentation
- qr_code_vcard : typing.Optional[QrCodeRequestQrCodeVcard]
+ qr_code_vcard : typing.Optional[Vcard]
qr_code_file : typing.Optional[core.File]
See core.File for more documentation
@@ -5310,11 +5272,11 @@ async def seo_people_also_ask(
search_query: str,
site_filter: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[RelatedQnAPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
task_instructions: typing.Optional[str] = OMIT,
query_instructions: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[RelatedQnAPageRequestSelectedModel] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
max_search_urls: typing.Optional[int] = OMIT,
max_references: typing.Optional[int] = OMIT,
max_context_words: typing.Optional[int] = OMIT,
@@ -5343,7 +5305,7 @@ async def seo_people_also_ask(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[RelatedQnAPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -5352,7 +5314,7 @@ async def seo_people_also_ask(
query_instructions : typing.Optional[str]
- selected_model : typing.Optional[RelatedQnAPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
max_search_urls : typing.Optional[int]
@@ -5511,7 +5473,7 @@ async def seo_content(
example_id: typing.Optional[str] = None,
task_instructions: typing.Optional[str] = OMIT,
enable_html: typing.Optional[bool] = OMIT,
- selected_model: typing.Optional[SeoSummaryPageRequestSelectedModel] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
max_search_urls: typing.Optional[int] = OMIT,
enable_crosslinks: typing.Optional[bool] = OMIT,
seed: typing.Optional[int] = OMIT,
@@ -5545,7 +5507,7 @@ async def seo_content(
enable_html : typing.Optional[bool]
- selected_model : typing.Optional[SeoSummaryPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
max_search_urls : typing.Optional[int]
@@ -5689,11 +5651,11 @@ async def web_search_llm(
search_query: str,
site_filter: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[GoogleGptPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
task_instructions: typing.Optional[str] = OMIT,
query_instructions: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[GoogleGptPageRequestSelectedModel] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
max_search_urls: typing.Optional[int] = OMIT,
max_references: typing.Optional[int] = OMIT,
max_context_words: typing.Optional[int] = OMIT,
@@ -5722,7 +5684,7 @@ async def web_search_llm(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[GoogleGptPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -5731,7 +5693,7 @@ async def web_search_llm(
query_instructions : typing.Optional[str]
- selected_model : typing.Optional[GoogleGptPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
max_search_urls : typing.Optional[int]
@@ -5885,10 +5847,10 @@ async def personalize_email(
*,
email_address: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[SocialLookupEmailPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
input_prompt: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[SocialLookupEmailPageRequestSelectedModel] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
avoid_repetition: typing.Optional[bool] = OMIT,
num_outputs: typing.Optional[int] = OMIT,
quality: typing.Optional[float] = OMIT,
@@ -5905,14 +5867,14 @@ async def personalize_email(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[SocialLookupEmailPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
input_prompt : typing.Optional[str]
- selected_model : typing.Optional[SocialLookupEmailPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
avoid_repetition : typing.Optional[bool]
@@ -6030,10 +5992,10 @@ async def bulk_run(
input_columns: typing.Dict[str, str],
output_columns: typing.Dict[str, str],
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[BulkRunRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- eval_urls: typing.Optional[typing.List[str]] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ eval_urls: typing.Optional[typing.List[str]] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> BulkRunnerPageOutput:
"""
@@ -6060,7 +6022,7 @@ async def bulk_run(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[BulkRunRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -6171,11 +6133,11 @@ async def eval(
*,
documents: typing.Sequence[str],
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[BulkEvalPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- eval_prompts: typing.Optional[typing.Sequence[BulkEvalPageRequestEvalPromptsItem]] = OMIT,
- agg_functions: typing.Optional[typing.Sequence[BulkEvalPageRequestAggFunctionsItem]] = OMIT,
- selected_model: typing.Optional[BulkEvalPageRequestSelectedModel] = OMIT,
+ eval_prompts: typing.Optional[typing.Sequence[EvalPrompt]] = OMIT,
+ agg_functions: typing.Optional[typing.Sequence[AggFunction]] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
avoid_repetition: typing.Optional[bool] = OMIT,
num_outputs: typing.Optional[int] = OMIT,
quality: typing.Optional[float] = OMIT,
@@ -6197,23 +6159,23 @@ async def eval(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[BulkEvalPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
- eval_prompts : typing.Optional[typing.Sequence[BulkEvalPageRequestEvalPromptsItem]]
+ eval_prompts : typing.Optional[typing.Sequence[EvalPrompt]]
Specify custom LLM prompts to calculate metrics that evaluate each row of the input data. The output should be a JSON object mapping the metric names to values.
_The `columns` dictionary can be used to reference the spreadsheet columns._
- agg_functions : typing.Optional[typing.Sequence[BulkEvalPageRequestAggFunctionsItem]]
+ agg_functions : typing.Optional[typing.Sequence[AggFunction]]
Aggregate using one or more operations. Uses [pandas](https://pandas.pydata.org/pandas-docs/stable/reference/groupby.html#dataframegroupby-computations-descriptive-stats).
- selected_model : typing.Optional[BulkEvalPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
avoid_repetition : typing.Optional[bool]
@@ -6329,21 +6291,21 @@ async def synthesize_data(
*,
documents: typing.List[core.File],
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[SynthesizeDataRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- sheet_url: typing.Optional[core.File] = OMIT,
- selected_asr_model: typing.Optional[SynthesizeDataRequestSelectedAsrModel] = OMIT,
- google_translate_target: typing.Optional[str] = OMIT,
- glossary_document: typing.Optional[core.File] = OMIT,
- task_instructions: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[SynthesizeDataRequestSelectedModel] = OMIT,
- avoid_repetition: typing.Optional[bool] = OMIT,
- num_outputs: typing.Optional[int] = OMIT,
- quality: typing.Optional[float] = OMIT,
- max_tokens: typing.Optional[int] = OMIT,
- sampling_temperature: typing.Optional[float] = OMIT,
- response_format_type: typing.Optional[SynthesizeDataRequestResponseFormatType] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ sheet_url: typing.Optional[core.File] = None,
+ selected_asr_model: typing.Optional[SynthesizeDataRequestSelectedAsrModel] = None,
+ google_translate_target: typing.Optional[str] = None,
+ glossary_document: typing.Optional[core.File] = None,
+ task_instructions: typing.Optional[str] = None,
+ selected_model: typing.Optional[LargeLanguageModels] = None,
+ avoid_repetition: typing.Optional[bool] = None,
+ num_outputs: typing.Optional[int] = None,
+ quality: typing.Optional[float] = None,
+ max_tokens: typing.Optional[int] = None,
+ sampling_temperature: typing.Optional[float] = None,
+ response_format_type: typing.Optional[SynthesizeDataRequestResponseFormatType] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> DocExtractPageOutput:
"""
@@ -6354,7 +6316,7 @@ async def synthesize_data(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[SynthesizeDataRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -6371,7 +6333,7 @@ async def synthesize_data(
task_instructions : typing.Optional[str]
- selected_model : typing.Optional[SynthesizeDataRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
avoid_repetition : typing.Optional[bool]
@@ -6489,10 +6451,10 @@ async def llm(
self,
*,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[CompareLlmPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
input_prompt: typing.Optional[str] = OMIT,
- selected_models: typing.Optional[typing.Sequence[CompareLlmPageRequestSelectedModelsItem]] = OMIT,
+ selected_models: typing.Optional[typing.Sequence[LargeLanguageModels]] = OMIT,
avoid_repetition: typing.Optional[bool] = OMIT,
num_outputs: typing.Optional[int] = OMIT,
quality: typing.Optional[float] = OMIT,
@@ -6507,14 +6469,14 @@ async def llm(
----------
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[CompareLlmPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
input_prompt : typing.Optional[str]
- selected_models : typing.Optional[typing.Sequence[CompareLlmPageRequestSelectedModelsItem]]
+ selected_models : typing.Optional[typing.Sequence[LargeLanguageModels]]
avoid_repetition : typing.Optional[bool]
@@ -6626,7 +6588,7 @@ async def rag(
*,
search_query: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[DocSearchPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
keyword_query: typing.Optional[DocSearchPageRequestKeywordQuery] = OMIT,
documents: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -6638,7 +6600,7 @@ async def rag(
dense_weight: typing.Optional[float] = OMIT,
task_instructions: typing.Optional[str] = OMIT,
query_instructions: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[DocSearchPageRequestSelectedModel] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
citation_style: typing.Optional[DocSearchPageRequestCitationStyle] = OMIT,
avoid_repetition: typing.Optional[bool] = OMIT,
num_outputs: typing.Optional[int] = OMIT,
@@ -6656,7 +6618,7 @@ async def rag(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[DocSearchPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -6685,7 +6647,7 @@ async def rag(
query_instructions : typing.Optional[str]
- selected_model : typing.Optional[DocSearchPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
citation_style : typing.Optional[DocSearchPageRequestCitationStyle]
@@ -6812,12 +6774,12 @@ async def smart_gpt(
*,
input_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[SmartGptPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
cot_prompt: typing.Optional[str] = OMIT,
reflexion_prompt: typing.Optional[str] = OMIT,
dera_prompt: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[SmartGptPageRequestSelectedModel] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
avoid_repetition: typing.Optional[bool] = OMIT,
num_outputs: typing.Optional[int] = OMIT,
quality: typing.Optional[float] = OMIT,
@@ -6834,7 +6796,7 @@ async def smart_gpt(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[SmartGptPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -6845,7 +6807,7 @@ async def smart_gpt(
dera_prompt : typing.Optional[str]
- selected_model : typing.Optional[SmartGptPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
avoid_repetition : typing.Optional[bool]
@@ -6962,21 +6924,21 @@ async def doc_summary(
*,
documents: typing.List[core.File],
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[DocSummaryRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- task_instructions: typing.Optional[str] = OMIT,
- merge_instructions: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[DocSummaryRequestSelectedModel] = OMIT,
- chain_type: typing.Optional[typing.Literal["map_reduce"]] = OMIT,
- selected_asr_model: typing.Optional[DocSummaryRequestSelectedAsrModel] = OMIT,
- google_translate_target: typing.Optional[str] = OMIT,
- avoid_repetition: typing.Optional[bool] = OMIT,
- num_outputs: typing.Optional[int] = OMIT,
- quality: typing.Optional[float] = OMIT,
- max_tokens: typing.Optional[int] = OMIT,
- sampling_temperature: typing.Optional[float] = OMIT,
- response_format_type: typing.Optional[DocSummaryRequestResponseFormatType] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ task_instructions: typing.Optional[str] = None,
+ merge_instructions: typing.Optional[str] = None,
+ selected_model: typing.Optional[LargeLanguageModels] = None,
+ chain_type: typing.Optional[typing.Literal["map_reduce"]] = None,
+ selected_asr_model: typing.Optional[DocSummaryRequestSelectedAsrModel] = None,
+ google_translate_target: typing.Optional[str] = None,
+ avoid_repetition: typing.Optional[bool] = None,
+ num_outputs: typing.Optional[int] = None,
+ quality: typing.Optional[float] = None,
+ max_tokens: typing.Optional[int] = None,
+ sampling_temperature: typing.Optional[float] = None,
+ response_format_type: typing.Optional[DocSummaryRequestResponseFormatType] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> DocSummaryPageOutput:
"""
@@ -6987,7 +6949,7 @@ async def doc_summary(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[DocSummaryRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -6996,7 +6958,7 @@ async def doc_summary(
merge_instructions : typing.Optional[str]
- selected_model : typing.Optional[DocSummaryRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
chain_type : typing.Optional[typing.Literal["map_reduce"]]
@@ -7225,17 +7187,17 @@ async def lipsync(
self,
*,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[LipsyncRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- input_face: typing.Optional[core.File] = OMIT,
- face_padding_top: typing.Optional[int] = OMIT,
- face_padding_bottom: typing.Optional[int] = OMIT,
- face_padding_left: typing.Optional[int] = OMIT,
- face_padding_right: typing.Optional[int] = OMIT,
- sadtalker_settings: typing.Optional[LipsyncRequestSadtalkerSettings] = OMIT,
- selected_model: typing.Optional[LipsyncRequestSelectedModel] = OMIT,
- input_audio: typing.Optional[core.File] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ input_face: typing.Optional[core.File] = None,
+ face_padding_top: typing.Optional[int] = None,
+ face_padding_bottom: typing.Optional[int] = None,
+ face_padding_left: typing.Optional[int] = None,
+ face_padding_right: typing.Optional[int] = None,
+ sadtalker_settings: typing.Optional[SadTalkerSettings] = None,
+ selected_model: typing.Optional[LipsyncRequestSelectedModel] = None,
+ input_audio: typing.Optional[core.File] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> LipsyncPageOutput:
"""
@@ -7243,7 +7205,7 @@ async def lipsync(
----------
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[LipsyncRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -7259,7 +7221,7 @@ async def lipsync(
face_padding_right : typing.Optional[int]
- sadtalker_settings : typing.Optional[LipsyncRequestSadtalkerSettings]
+ sadtalker_settings : typing.Optional[SadTalkerSettings]
selected_model : typing.Optional[LipsyncRequestSelectedModel]
@@ -7366,34 +7328,34 @@ async def lipsync_tts(
*,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[LipsyncTtsRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- tts_provider: typing.Optional[LipsyncTtsRequestTtsProvider] = OMIT,
- uberduck_voice_name: typing.Optional[str] = OMIT,
- uberduck_speaking_rate: typing.Optional[float] = OMIT,
- google_voice_name: typing.Optional[str] = OMIT,
- google_speaking_rate: typing.Optional[float] = OMIT,
- google_pitch: typing.Optional[float] = OMIT,
- bark_history_prompt: typing.Optional[str] = OMIT,
- elevenlabs_voice_name: typing.Optional[str] = OMIT,
- elevenlabs_api_key: typing.Optional[str] = OMIT,
- elevenlabs_voice_id: typing.Optional[str] = OMIT,
- elevenlabs_model: typing.Optional[str] = OMIT,
- elevenlabs_stability: typing.Optional[float] = OMIT,
- elevenlabs_similarity_boost: typing.Optional[float] = OMIT,
- elevenlabs_style: typing.Optional[float] = OMIT,
- elevenlabs_speaker_boost: typing.Optional[bool] = OMIT,
- azure_voice_name: typing.Optional[str] = OMIT,
- openai_voice_name: typing.Optional[LipsyncTtsRequestOpenaiVoiceName] = OMIT,
- openai_tts_model: typing.Optional[LipsyncTtsRequestOpenaiTtsModel] = OMIT,
- input_face: typing.Optional[core.File] = OMIT,
- face_padding_top: typing.Optional[int] = OMIT,
- face_padding_bottom: typing.Optional[int] = OMIT,
- face_padding_left: typing.Optional[int] = OMIT,
- face_padding_right: typing.Optional[int] = OMIT,
- sadtalker_settings: typing.Optional[LipsyncTtsRequestSadtalkerSettings] = OMIT,
- selected_model: typing.Optional[LipsyncTtsRequestSelectedModel] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ tts_provider: typing.Optional[LipsyncTtsRequestTtsProvider] = None,
+ uberduck_voice_name: typing.Optional[str] = None,
+ uberduck_speaking_rate: typing.Optional[float] = None,
+ google_voice_name: typing.Optional[str] = None,
+ google_speaking_rate: typing.Optional[float] = None,
+ google_pitch: typing.Optional[float] = None,
+ bark_history_prompt: typing.Optional[str] = None,
+ elevenlabs_voice_name: typing.Optional[str] = None,
+ elevenlabs_api_key: typing.Optional[str] = None,
+ elevenlabs_voice_id: typing.Optional[str] = None,
+ elevenlabs_model: typing.Optional[str] = None,
+ elevenlabs_stability: typing.Optional[float] = None,
+ elevenlabs_similarity_boost: typing.Optional[float] = None,
+ elevenlabs_style: typing.Optional[float] = None,
+ elevenlabs_speaker_boost: typing.Optional[bool] = None,
+ azure_voice_name: typing.Optional[str] = None,
+ openai_voice_name: typing.Optional[LipsyncTtsRequestOpenaiVoiceName] = None,
+ openai_tts_model: typing.Optional[LipsyncTtsRequestOpenaiTtsModel] = None,
+ input_face: typing.Optional[core.File] = None,
+ face_padding_top: typing.Optional[int] = None,
+ face_padding_bottom: typing.Optional[int] = None,
+ face_padding_left: typing.Optional[int] = None,
+ face_padding_right: typing.Optional[int] = None,
+ sadtalker_settings: typing.Optional[SadTalkerSettings] = None,
+ selected_model: typing.Optional[LipsyncTtsRequestSelectedModel] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> LipsyncTtsPageOutput:
"""
@@ -7403,7 +7365,7 @@ async def lipsync_tts(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[LipsyncTtsRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -7456,7 +7418,7 @@ async def lipsync_tts(
face_padding_right : typing.Optional[int]
- sadtalker_settings : typing.Optional[LipsyncTtsRequestSadtalkerSettings]
+ sadtalker_settings : typing.Optional[SadTalkerSettings]
selected_model : typing.Optional[LipsyncTtsRequestSelectedModel]
@@ -7580,7 +7542,7 @@ async def text_to_speech(
*,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[TextToSpeechPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
tts_provider: typing.Optional[TextToSpeechPageRequestTtsProvider] = OMIT,
uberduck_voice_name: typing.Optional[str] = OMIT,
@@ -7610,7 +7572,7 @@ async def text_to_speech(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[TextToSpeechPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -7763,17 +7725,17 @@ async def speech_recognition(
*,
documents: typing.List[core.File],
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[SpeechRecognitionRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- selected_model: typing.Optional[SpeechRecognitionRequestSelectedModel] = OMIT,
- language: typing.Optional[str] = OMIT,
- translation_model: typing.Optional[SpeechRecognitionRequestTranslationModel] = OMIT,
- output_format: typing.Optional[SpeechRecognitionRequestOutputFormat] = OMIT,
- google_translate_target: typing.Optional[str] = OMIT,
- translation_source: typing.Optional[str] = OMIT,
- translation_target: typing.Optional[str] = OMIT,
- glossary_document: typing.Optional[core.File] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ selected_model: typing.Optional[SpeechRecognitionRequestSelectedModel] = None,
+ language: typing.Optional[str] = None,
+ translation_model: typing.Optional[SpeechRecognitionRequestTranslationModel] = None,
+ output_format: typing.Optional[SpeechRecognitionRequestOutputFormat] = None,
+ google_translate_target: typing.Optional[str] = None,
+ translation_source: typing.Optional[str] = None,
+ translation_target: typing.Optional[str] = None,
+ glossary_document: typing.Optional[core.File] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> AsrPageOutput:
"""
@@ -7784,7 +7746,7 @@ async def speech_recognition(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[SpeechRecognitionRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -7908,7 +7870,7 @@ async def text_to_music(
*,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[Text2AudioPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
negative_prompt: typing.Optional[str] = OMIT,
duration_sec: typing.Optional[float] = OMIT,
@@ -7928,7 +7890,7 @@ async def text_to_music(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[Text2AudioPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -8049,14 +8011,14 @@ async def translate(
self,
*,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[TranslateRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- texts: typing.Optional[typing.List[str]] = OMIT,
- selected_model: typing.Optional[TranslateRequestSelectedModel] = OMIT,
- translation_source: typing.Optional[str] = OMIT,
- translation_target: typing.Optional[str] = OMIT,
- glossary_document: typing.Optional[core.File] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ texts: typing.Optional[typing.List[str]] = None,
+ selected_model: typing.Optional[TranslateRequestSelectedModel] = None,
+ translation_source: typing.Optional[str] = None,
+ translation_target: typing.Optional[str] = None,
+ glossary_document: typing.Optional[core.File] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> TranslationPageOutput:
"""
@@ -8064,7 +8026,7 @@ async def translate(
----------
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[TranslateRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -8177,22 +8139,22 @@ async def remix_image(
*,
input_image: core.File,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[RemixImageRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- text_prompt: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[RemixImageRequestSelectedModel] = OMIT,
- selected_controlnet_model: typing.Optional[RemixImageRequestSelectedControlnetModel] = OMIT,
- negative_prompt: typing.Optional[str] = OMIT,
- num_outputs: typing.Optional[int] = OMIT,
- quality: typing.Optional[int] = OMIT,
- output_width: typing.Optional[int] = OMIT,
- output_height: typing.Optional[int] = OMIT,
- guidance_scale: typing.Optional[float] = OMIT,
- prompt_strength: typing.Optional[float] = OMIT,
- controlnet_conditioning_scale: typing.Optional[typing.List[float]] = OMIT,
- seed: typing.Optional[int] = OMIT,
- image_guidance_scale: typing.Optional[float] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ text_prompt: typing.Optional[str] = None,
+ selected_model: typing.Optional[RemixImageRequestSelectedModel] = None,
+ selected_controlnet_model: typing.Optional[RemixImageRequestSelectedControlnetModel] = None,
+ negative_prompt: typing.Optional[str] = None,
+ num_outputs: typing.Optional[int] = None,
+ quality: typing.Optional[int] = None,
+ output_width: typing.Optional[int] = None,
+ output_height: typing.Optional[int] = None,
+ guidance_scale: typing.Optional[float] = None,
+ prompt_strength: typing.Optional[float] = None,
+ controlnet_conditioning_scale: typing.Optional[typing.List[float]] = None,
+ seed: typing.Optional[int] = None,
+ image_guidance_scale: typing.Optional[float] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> Img2ImgPageOutput:
"""
@@ -8203,7 +8165,7 @@ async def remix_image(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[RemixImageRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -8340,7 +8302,7 @@ async def text_to_image(
*,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[CompareText2ImgPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
negative_prompt: typing.Optional[str] = OMIT,
output_width: typing.Optional[int] = OMIT,
@@ -8366,7 +8328,7 @@ async def text_to_image(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[CompareText2ImgPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -8507,22 +8469,22 @@ async def product_image(
input_image: core.File,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[ProductImageRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- obj_scale: typing.Optional[float] = OMIT,
- obj_pos_x: typing.Optional[float] = OMIT,
- obj_pos_y: typing.Optional[float] = OMIT,
- mask_threshold: typing.Optional[float] = OMIT,
- selected_model: typing.Optional[ProductImageRequestSelectedModel] = OMIT,
- negative_prompt: typing.Optional[str] = OMIT,
- num_outputs: typing.Optional[int] = OMIT,
- quality: typing.Optional[int] = OMIT,
- output_width: typing.Optional[int] = OMIT,
- output_height: typing.Optional[int] = OMIT,
- guidance_scale: typing.Optional[float] = OMIT,
- sd2upscaling: typing.Optional[bool] = OMIT,
- seed: typing.Optional[int] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ obj_scale: typing.Optional[float] = None,
+ obj_pos_x: typing.Optional[float] = None,
+ obj_pos_y: typing.Optional[float] = None,
+ mask_threshold: typing.Optional[float] = None,
+ selected_model: typing.Optional[ProductImageRequestSelectedModel] = None,
+ negative_prompt: typing.Optional[str] = None,
+ num_outputs: typing.Optional[int] = None,
+ quality: typing.Optional[int] = None,
+ output_width: typing.Optional[int] = None,
+ output_height: typing.Optional[int] = None,
+ guidance_scale: typing.Optional[float] = None,
+ sd2upscaling: typing.Optional[bool] = None,
+ seed: typing.Optional[int] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> ObjectInpaintingPageOutput:
"""
@@ -8535,7 +8497,7 @@ async def product_image(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[ProductImageRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -8676,21 +8638,21 @@ async def portrait(
input_image: core.File,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[PortraitRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- face_scale: typing.Optional[float] = OMIT,
- face_pos_x: typing.Optional[float] = OMIT,
- face_pos_y: typing.Optional[float] = OMIT,
- selected_model: typing.Optional[PortraitRequestSelectedModel] = OMIT,
- negative_prompt: typing.Optional[str] = OMIT,
- num_outputs: typing.Optional[int] = OMIT,
- quality: typing.Optional[int] = OMIT,
- upscale_factor: typing.Optional[float] = OMIT,
- output_width: typing.Optional[int] = OMIT,
- output_height: typing.Optional[int] = OMIT,
- guidance_scale: typing.Optional[float] = OMIT,
- seed: typing.Optional[int] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ face_scale: typing.Optional[float] = None,
+ face_pos_x: typing.Optional[float] = None,
+ face_pos_y: typing.Optional[float] = None,
+ selected_model: typing.Optional[PortraitRequestSelectedModel] = None,
+ negative_prompt: typing.Optional[str] = None,
+ num_outputs: typing.Optional[int] = None,
+ quality: typing.Optional[int] = None,
+ upscale_factor: typing.Optional[float] = None,
+ output_width: typing.Optional[int] = None,
+ output_height: typing.Optional[int] = None,
+ guidance_scale: typing.Optional[float] = None,
+ seed: typing.Optional[int] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> FaceInpaintingPageOutput:
"""
@@ -8703,7 +8665,7 @@ async def portrait(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[PortraitRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -8840,7 +8802,7 @@ async def image_from_email(
*,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[EmailFaceInpaintingPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
email_address: typing.Optional[str] = OMIT,
twitter_handle: typing.Optional[str] = OMIT,
@@ -8874,7 +8836,7 @@ async def image_from_email(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[EmailFaceInpaintingPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -9040,7 +9002,7 @@ async def image_from_web_search(
search_query: str,
text_prompt: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[GoogleImageGenPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
serp_search_location: typing.Optional[SerpSearchLocation] = OMIT,
scaleserp_locations: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -9065,7 +9027,7 @@ async def image_from_web_search(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[GoogleImageGenPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -9199,16 +9161,16 @@ async def remove_background(
*,
input_image: core.File,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[RemoveBackgroundRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- selected_model: typing.Optional[RemoveBackgroundRequestSelectedModel] = OMIT,
- mask_threshold: typing.Optional[float] = OMIT,
- rect_persepective_transform: typing.Optional[bool] = OMIT,
- reflection_opacity: typing.Optional[float] = OMIT,
- obj_scale: typing.Optional[float] = OMIT,
- obj_pos_x: typing.Optional[float] = OMIT,
- obj_pos_y: typing.Optional[float] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ selected_model: typing.Optional[RemoveBackgroundRequestSelectedModel] = None,
+ mask_threshold: typing.Optional[float] = None,
+ rect_persepective_transform: typing.Optional[bool] = None,
+ reflection_opacity: typing.Optional[float] = None,
+ obj_scale: typing.Optional[float] = None,
+ obj_pos_x: typing.Optional[float] = None,
+ obj_pos_y: typing.Optional[float] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> ImageSegmentationPageOutput:
"""
@@ -9219,7 +9181,7 @@ async def remove_background(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[RemoveBackgroundRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -9338,13 +9300,13 @@ async def upscale(
*,
scale: int,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[UpscaleRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- input_image: typing.Optional[core.File] = OMIT,
- input_video: typing.Optional[core.File] = OMIT,
- selected_models: typing.Optional[typing.List[UpscaleRequestSelectedModelsItem]] = OMIT,
- selected_bg_model: typing.Optional[typing.Literal["real_esrgan_x2"]] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[RecipeFunction]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ input_image: typing.Optional[core.File] = None,
+ input_video: typing.Optional[core.File] = None,
+ selected_models: typing.Optional[typing.List[UpscaleRequestSelectedModelsItem]] = None,
+ selected_bg_model: typing.Optional[typing.Literal["real_esrgan_x2"]] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> CompareUpscalerPageOutput:
"""
@@ -9355,7 +9317,7 @@ async def upscale(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.List[UpscaleRequestFunctionsItem]]
+ functions : typing.Optional[typing.List[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -9469,7 +9431,7 @@ async def embed(
*,
texts: typing.Sequence[str],
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[EmbeddingsPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
selected_model: typing.Optional[EmbeddingsPageRequestSelectedModel] = OMIT,
settings: typing.Optional[RunSettings] = OMIT,
@@ -9482,7 +9444,7 @@ async def embed(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[EmbeddingsPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -9583,7 +9545,7 @@ async def seo_people_also_ask_doc(
*,
search_query: str,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.Sequence[RelatedQnADocPageRequestFunctionsItem]] = OMIT,
+ functions: typing.Optional[typing.Sequence[RecipeFunction]] = OMIT,
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
keyword_query: typing.Optional[RelatedQnADocPageRequestKeywordQuery] = OMIT,
documents: typing.Optional[typing.Sequence[str]] = OMIT,
@@ -9595,7 +9557,7 @@ async def seo_people_also_ask_doc(
dense_weight: typing.Optional[float] = OMIT,
task_instructions: typing.Optional[str] = OMIT,
query_instructions: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[RelatedQnADocPageRequestSelectedModel] = OMIT,
+ selected_model: typing.Optional[LargeLanguageModels] = OMIT,
citation_style: typing.Optional[RelatedQnADocPageRequestCitationStyle] = OMIT,
avoid_repetition: typing.Optional[bool] = OMIT,
num_outputs: typing.Optional[int] = OMIT,
@@ -9617,7 +9579,7 @@ async def seo_people_also_ask_doc(
example_id : typing.Optional[str]
- functions : typing.Optional[typing.Sequence[RelatedQnADocPageRequestFunctionsItem]]
+ functions : typing.Optional[typing.Sequence[RecipeFunction]]
variables : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -9646,7 +9608,7 @@ async def seo_people_also_ask_doc(
query_instructions : typing.Optional[str]
- selected_model : typing.Optional[RelatedQnADocPageRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
citation_style : typing.Optional[RelatedQnADocPageRequestCitationStyle]
diff --git a/src/gooey/copilot/__init__.py b/src/gooey/copilot/__init__.py
index 5e2b26d..3234b31 100644
--- a/src/gooey/copilot/__init__.py
+++ b/src/gooey/copilot/__init__.py
@@ -7,18 +7,11 @@
CopilotCompletionRequestFunctionsItem,
CopilotCompletionRequestFunctionsItemTrigger,
CopilotCompletionRequestLipsyncModel,
- CopilotCompletionRequestMessagesItem,
- CopilotCompletionRequestMessagesItemContent,
- CopilotCompletionRequestMessagesItemContentItem,
- CopilotCompletionRequestMessagesItemContentItem_ImageUrl,
- CopilotCompletionRequestMessagesItemContentItem_Text,
- CopilotCompletionRequestMessagesItemRole,
CopilotCompletionRequestOpenaiTtsModel,
CopilotCompletionRequestOpenaiVoiceName,
CopilotCompletionRequestResponseFormatType,
CopilotCompletionRequestSadtalkerSettings,
CopilotCompletionRequestSadtalkerSettingsPreprocess,
- CopilotCompletionRequestSelectedModel,
CopilotCompletionRequestTranslationModel,
CopilotCompletionRequestTtsProvider,
)
@@ -30,18 +23,11 @@
"CopilotCompletionRequestFunctionsItem",
"CopilotCompletionRequestFunctionsItemTrigger",
"CopilotCompletionRequestLipsyncModel",
- "CopilotCompletionRequestMessagesItem",
- "CopilotCompletionRequestMessagesItemContent",
- "CopilotCompletionRequestMessagesItemContentItem",
- "CopilotCompletionRequestMessagesItemContentItem_ImageUrl",
- "CopilotCompletionRequestMessagesItemContentItem_Text",
- "CopilotCompletionRequestMessagesItemRole",
"CopilotCompletionRequestOpenaiTtsModel",
"CopilotCompletionRequestOpenaiVoiceName",
"CopilotCompletionRequestResponseFormatType",
"CopilotCompletionRequestSadtalkerSettings",
"CopilotCompletionRequestSadtalkerSettingsPreprocess",
- "CopilotCompletionRequestSelectedModel",
"CopilotCompletionRequestTranslationModel",
"CopilotCompletionRequestTtsProvider",
]
diff --git a/src/gooey/copilot/client.py b/src/gooey/copilot/client.py
index 2dbcc65..9dcc465 100644
--- a/src/gooey/copilot/client.py
+++ b/src/gooey/copilot/client.py
@@ -4,13 +4,14 @@
from ..core.client_wrapper import SyncClientWrapper
from .types.copilot_completion_request_functions_item import CopilotCompletionRequestFunctionsItem
from .. import core
-from .types.copilot_completion_request_messages_item import CopilotCompletionRequestMessagesItem
-from .types.copilot_completion_request_selected_model import CopilotCompletionRequestSelectedModel
+from ..types.conversation_entry import ConversationEntry
+from ..types.large_language_models import LargeLanguageModels
from .types.copilot_completion_request_embedding_model import CopilotCompletionRequestEmbeddingModel
from .types.copilot_completion_request_citation_style import CopilotCompletionRequestCitationStyle
from .types.copilot_completion_request_asr_model import CopilotCompletionRequestAsrModel
from .types.copilot_completion_request_translation_model import CopilotCompletionRequestTranslationModel
from .types.copilot_completion_request_lipsync_model import CopilotCompletionRequestLipsyncModel
+from ..types.llm_tools import LlmTools
from .types.copilot_completion_request_response_format_type import CopilotCompletionRequestResponseFormatType
from .types.copilot_completion_request_tts_provider import CopilotCompletionRequestTtsProvider
from .types.copilot_completion_request_openai_voice_name import CopilotCompletionRequestOpenaiVoiceName
@@ -41,67 +42,67 @@ def completion(
self,
*,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[CopilotCompletionRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- input_prompt: typing.Optional[str] = OMIT,
- input_audio: typing.Optional[str] = OMIT,
- input_images: typing.Optional[typing.List[core.File]] = OMIT,
- input_documents: typing.Optional[typing.List[core.File]] = OMIT,
- doc_extract_url: typing.Optional[str] = OMIT,
- messages: typing.Optional[typing.List[CopilotCompletionRequestMessagesItem]] = OMIT,
- bot_script: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[CopilotCompletionRequestSelectedModel] = OMIT,
- document_model: typing.Optional[str] = OMIT,
- task_instructions: typing.Optional[str] = OMIT,
- query_instructions: typing.Optional[str] = OMIT,
- keyword_instructions: typing.Optional[str] = OMIT,
- documents: typing.Optional[typing.List[core.File]] = OMIT,
- max_references: typing.Optional[int] = OMIT,
- max_context_words: typing.Optional[int] = OMIT,
- scroll_jump: typing.Optional[int] = OMIT,
- embedding_model: typing.Optional[CopilotCompletionRequestEmbeddingModel] = OMIT,
- dense_weight: typing.Optional[float] = OMIT,
- citation_style: typing.Optional[CopilotCompletionRequestCitationStyle] = OMIT,
- use_url_shortener: typing.Optional[bool] = OMIT,
- asr_model: typing.Optional[CopilotCompletionRequestAsrModel] = OMIT,
- asr_language: typing.Optional[str] = OMIT,
- translation_model: typing.Optional[CopilotCompletionRequestTranslationModel] = OMIT,
- user_language: typing.Optional[str] = OMIT,
- input_glossary_document: typing.Optional[core.File] = OMIT,
- output_glossary_document: typing.Optional[core.File] = OMIT,
- lipsync_model: typing.Optional[CopilotCompletionRequestLipsyncModel] = OMIT,
- tools: typing.Optional[typing.List[typing.Literal["json_to_pdf"]]] = OMIT,
- avoid_repetition: typing.Optional[bool] = OMIT,
- num_outputs: typing.Optional[int] = OMIT,
- quality: typing.Optional[float] = OMIT,
- max_tokens: typing.Optional[int] = OMIT,
- sampling_temperature: typing.Optional[float] = OMIT,
- response_format_type: typing.Optional[CopilotCompletionRequestResponseFormatType] = OMIT,
- tts_provider: typing.Optional[CopilotCompletionRequestTtsProvider] = OMIT,
- uberduck_voice_name: typing.Optional[str] = OMIT,
- uberduck_speaking_rate: typing.Optional[float] = OMIT,
- google_voice_name: typing.Optional[str] = OMIT,
- google_speaking_rate: typing.Optional[float] = OMIT,
- google_pitch: typing.Optional[float] = OMIT,
- bark_history_prompt: typing.Optional[str] = OMIT,
- elevenlabs_voice_name: typing.Optional[str] = OMIT,
- elevenlabs_api_key: typing.Optional[str] = OMIT,
- elevenlabs_voice_id: typing.Optional[str] = OMIT,
- elevenlabs_model: typing.Optional[str] = OMIT,
- elevenlabs_stability: typing.Optional[float] = OMIT,
- elevenlabs_similarity_boost: typing.Optional[float] = OMIT,
- elevenlabs_style: typing.Optional[float] = OMIT,
- elevenlabs_speaker_boost: typing.Optional[bool] = OMIT,
- azure_voice_name: typing.Optional[str] = OMIT,
- openai_voice_name: typing.Optional[CopilotCompletionRequestOpenaiVoiceName] = OMIT,
- openai_tts_model: typing.Optional[CopilotCompletionRequestOpenaiTtsModel] = OMIT,
- input_face: typing.Optional[core.File] = OMIT,
- face_padding_top: typing.Optional[int] = OMIT,
- face_padding_bottom: typing.Optional[int] = OMIT,
- face_padding_left: typing.Optional[int] = OMIT,
- face_padding_right: typing.Optional[int] = OMIT,
- sadtalker_settings: typing.Optional[CopilotCompletionRequestSadtalkerSettings] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[CopilotCompletionRequestFunctionsItem]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ input_prompt: typing.Optional[str] = None,
+ input_audio: typing.Optional[str] = None,
+ input_images: typing.Optional[typing.List[core.File]] = None,
+ input_documents: typing.Optional[typing.List[core.File]] = None,
+ doc_extract_url: typing.Optional[str] = None,
+ messages: typing.Optional[typing.List[ConversationEntry]] = None,
+ bot_script: typing.Optional[str] = None,
+ selected_model: typing.Optional[LargeLanguageModels] = None,
+ document_model: typing.Optional[str] = None,
+ task_instructions: typing.Optional[str] = None,
+ query_instructions: typing.Optional[str] = None,
+ keyword_instructions: typing.Optional[str] = None,
+ documents: typing.Optional[typing.List[core.File]] = None,
+ max_references: typing.Optional[int] = None,
+ max_context_words: typing.Optional[int] = None,
+ scroll_jump: typing.Optional[int] = None,
+ embedding_model: typing.Optional[CopilotCompletionRequestEmbeddingModel] = None,
+ dense_weight: typing.Optional[float] = None,
+ citation_style: typing.Optional[CopilotCompletionRequestCitationStyle] = None,
+ use_url_shortener: typing.Optional[bool] = None,
+ asr_model: typing.Optional[CopilotCompletionRequestAsrModel] = None,
+ asr_language: typing.Optional[str] = None,
+ translation_model: typing.Optional[CopilotCompletionRequestTranslationModel] = None,
+ user_language: typing.Optional[str] = None,
+ input_glossary_document: typing.Optional[core.File] = None,
+ output_glossary_document: typing.Optional[core.File] = None,
+ lipsync_model: typing.Optional[CopilotCompletionRequestLipsyncModel] = None,
+ tools: typing.Optional[typing.List[LlmTools]] = None,
+ avoid_repetition: typing.Optional[bool] = None,
+ num_outputs: typing.Optional[int] = None,
+ quality: typing.Optional[float] = None,
+ max_tokens: typing.Optional[int] = None,
+ sampling_temperature: typing.Optional[float] = None,
+ response_format_type: typing.Optional[CopilotCompletionRequestResponseFormatType] = None,
+ tts_provider: typing.Optional[CopilotCompletionRequestTtsProvider] = None,
+ uberduck_voice_name: typing.Optional[str] = None,
+ uberduck_speaking_rate: typing.Optional[float] = None,
+ google_voice_name: typing.Optional[str] = None,
+ google_speaking_rate: typing.Optional[float] = None,
+ google_pitch: typing.Optional[float] = None,
+ bark_history_prompt: typing.Optional[str] = None,
+ elevenlabs_voice_name: typing.Optional[str] = None,
+ elevenlabs_api_key: typing.Optional[str] = None,
+ elevenlabs_voice_id: typing.Optional[str] = None,
+ elevenlabs_model: typing.Optional[str] = None,
+ elevenlabs_stability: typing.Optional[float] = None,
+ elevenlabs_similarity_boost: typing.Optional[float] = None,
+ elevenlabs_style: typing.Optional[float] = None,
+ elevenlabs_speaker_boost: typing.Optional[bool] = None,
+ azure_voice_name: typing.Optional[str] = None,
+ openai_voice_name: typing.Optional[CopilotCompletionRequestOpenaiVoiceName] = None,
+ openai_tts_model: typing.Optional[CopilotCompletionRequestOpenaiTtsModel] = None,
+ input_face: typing.Optional[core.File] = None,
+ face_padding_top: typing.Optional[int] = None,
+ face_padding_bottom: typing.Optional[int] = None,
+ face_padding_left: typing.Optional[int] = None,
+ face_padding_right: typing.Optional[int] = None,
+ sadtalker_settings: typing.Optional[CopilotCompletionRequestSadtalkerSettings] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> VideoBotsPageOutput:
"""
@@ -127,11 +128,11 @@ def completion(
doc_extract_url : typing.Optional[str]
Select a workflow to extract text from documents and images.
- messages : typing.Optional[typing.List[CopilotCompletionRequestMessagesItem]]
+ messages : typing.Optional[typing.List[ConversationEntry]]
bot_script : typing.Optional[str]
- selected_model : typing.Optional[CopilotCompletionRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
document_model : typing.Optional[str]
When your copilot users upload a photo or pdf, what kind of document are they mostly likely to upload? (via [Azure](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/use-sdk-rest-api?view=doc-intel-3.1.0&tabs=linux&pivots=programming-language-rest-api))
@@ -182,7 +183,7 @@ def completion(
lipsync_model : typing.Optional[CopilotCompletionRequestLipsyncModel]
- tools : typing.Optional[typing.List[typing.Literal["json_to_pdf"]]]
+ tools : typing.Optional[typing.List[LlmTools]]
Give your copilot superpowers by giving it access to tools. Powered by [Function calling](https://platform.openai.com/docs/guides/function-calling).
avoid_repetition : typing.Optional[bool]
@@ -393,67 +394,67 @@ async def completion(
self,
*,
example_id: typing.Optional[str] = None,
- functions: typing.Optional[typing.List[CopilotCompletionRequestFunctionsItem]] = OMIT,
- variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
- input_prompt: typing.Optional[str] = OMIT,
- input_audio: typing.Optional[str] = OMIT,
- input_images: typing.Optional[typing.List[core.File]] = OMIT,
- input_documents: typing.Optional[typing.List[core.File]] = OMIT,
- doc_extract_url: typing.Optional[str] = OMIT,
- messages: typing.Optional[typing.List[CopilotCompletionRequestMessagesItem]] = OMIT,
- bot_script: typing.Optional[str] = OMIT,
- selected_model: typing.Optional[CopilotCompletionRequestSelectedModel] = OMIT,
- document_model: typing.Optional[str] = OMIT,
- task_instructions: typing.Optional[str] = OMIT,
- query_instructions: typing.Optional[str] = OMIT,
- keyword_instructions: typing.Optional[str] = OMIT,
- documents: typing.Optional[typing.List[core.File]] = OMIT,
- max_references: typing.Optional[int] = OMIT,
- max_context_words: typing.Optional[int] = OMIT,
- scroll_jump: typing.Optional[int] = OMIT,
- embedding_model: typing.Optional[CopilotCompletionRequestEmbeddingModel] = OMIT,
- dense_weight: typing.Optional[float] = OMIT,
- citation_style: typing.Optional[CopilotCompletionRequestCitationStyle] = OMIT,
- use_url_shortener: typing.Optional[bool] = OMIT,
- asr_model: typing.Optional[CopilotCompletionRequestAsrModel] = OMIT,
- asr_language: typing.Optional[str] = OMIT,
- translation_model: typing.Optional[CopilotCompletionRequestTranslationModel] = OMIT,
- user_language: typing.Optional[str] = OMIT,
- input_glossary_document: typing.Optional[core.File] = OMIT,
- output_glossary_document: typing.Optional[core.File] = OMIT,
- lipsync_model: typing.Optional[CopilotCompletionRequestLipsyncModel] = OMIT,
- tools: typing.Optional[typing.List[typing.Literal["json_to_pdf"]]] = OMIT,
- avoid_repetition: typing.Optional[bool] = OMIT,
- num_outputs: typing.Optional[int] = OMIT,
- quality: typing.Optional[float] = OMIT,
- max_tokens: typing.Optional[int] = OMIT,
- sampling_temperature: typing.Optional[float] = OMIT,
- response_format_type: typing.Optional[CopilotCompletionRequestResponseFormatType] = OMIT,
- tts_provider: typing.Optional[CopilotCompletionRequestTtsProvider] = OMIT,
- uberduck_voice_name: typing.Optional[str] = OMIT,
- uberduck_speaking_rate: typing.Optional[float] = OMIT,
- google_voice_name: typing.Optional[str] = OMIT,
- google_speaking_rate: typing.Optional[float] = OMIT,
- google_pitch: typing.Optional[float] = OMIT,
- bark_history_prompt: typing.Optional[str] = OMIT,
- elevenlabs_voice_name: typing.Optional[str] = OMIT,
- elevenlabs_api_key: typing.Optional[str] = OMIT,
- elevenlabs_voice_id: typing.Optional[str] = OMIT,
- elevenlabs_model: typing.Optional[str] = OMIT,
- elevenlabs_stability: typing.Optional[float] = OMIT,
- elevenlabs_similarity_boost: typing.Optional[float] = OMIT,
- elevenlabs_style: typing.Optional[float] = OMIT,
- elevenlabs_speaker_boost: typing.Optional[bool] = OMIT,
- azure_voice_name: typing.Optional[str] = OMIT,
- openai_voice_name: typing.Optional[CopilotCompletionRequestOpenaiVoiceName] = OMIT,
- openai_tts_model: typing.Optional[CopilotCompletionRequestOpenaiTtsModel] = OMIT,
- input_face: typing.Optional[core.File] = OMIT,
- face_padding_top: typing.Optional[int] = OMIT,
- face_padding_bottom: typing.Optional[int] = OMIT,
- face_padding_left: typing.Optional[int] = OMIT,
- face_padding_right: typing.Optional[int] = OMIT,
- sadtalker_settings: typing.Optional[CopilotCompletionRequestSadtalkerSettings] = OMIT,
- settings: typing.Optional[RunSettings] = OMIT,
+ functions: typing.Optional[typing.List[CopilotCompletionRequestFunctionsItem]] = None,
+ variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None,
+ input_prompt: typing.Optional[str] = None,
+ input_audio: typing.Optional[str] = None,
+ input_images: typing.Optional[typing.List[core.File]] = None,
+ input_documents: typing.Optional[typing.List[core.File]] = None,
+ doc_extract_url: typing.Optional[str] = None,
+ messages: typing.Optional[typing.List[ConversationEntry]] = None,
+ bot_script: typing.Optional[str] = None,
+ selected_model: typing.Optional[LargeLanguageModels] = None,
+ document_model: typing.Optional[str] = None,
+ task_instructions: typing.Optional[str] = None,
+ query_instructions: typing.Optional[str] = None,
+ keyword_instructions: typing.Optional[str] = None,
+ documents: typing.Optional[typing.List[core.File]] = None,
+ max_references: typing.Optional[int] = None,
+ max_context_words: typing.Optional[int] = None,
+ scroll_jump: typing.Optional[int] = None,
+ embedding_model: typing.Optional[CopilotCompletionRequestEmbeddingModel] = None,
+ dense_weight: typing.Optional[float] = None,
+ citation_style: typing.Optional[CopilotCompletionRequestCitationStyle] = None,
+ use_url_shortener: typing.Optional[bool] = None,
+ asr_model: typing.Optional[CopilotCompletionRequestAsrModel] = None,
+ asr_language: typing.Optional[str] = None,
+ translation_model: typing.Optional[CopilotCompletionRequestTranslationModel] = None,
+ user_language: typing.Optional[str] = None,
+ input_glossary_document: typing.Optional[core.File] = None,
+ output_glossary_document: typing.Optional[core.File] = None,
+ lipsync_model: typing.Optional[CopilotCompletionRequestLipsyncModel] = None,
+ tools: typing.Optional[typing.List[LlmTools]] = None,
+ avoid_repetition: typing.Optional[bool] = None,
+ num_outputs: typing.Optional[int] = None,
+ quality: typing.Optional[float] = None,
+ max_tokens: typing.Optional[int] = None,
+ sampling_temperature: typing.Optional[float] = None,
+ response_format_type: typing.Optional[CopilotCompletionRequestResponseFormatType] = None,
+ tts_provider: typing.Optional[CopilotCompletionRequestTtsProvider] = None,
+ uberduck_voice_name: typing.Optional[str] = None,
+ uberduck_speaking_rate: typing.Optional[float] = None,
+ google_voice_name: typing.Optional[str] = None,
+ google_speaking_rate: typing.Optional[float] = None,
+ google_pitch: typing.Optional[float] = None,
+ bark_history_prompt: typing.Optional[str] = None,
+ elevenlabs_voice_name: typing.Optional[str] = None,
+ elevenlabs_api_key: typing.Optional[str] = None,
+ elevenlabs_voice_id: typing.Optional[str] = None,
+ elevenlabs_model: typing.Optional[str] = None,
+ elevenlabs_stability: typing.Optional[float] = None,
+ elevenlabs_similarity_boost: typing.Optional[float] = None,
+ elevenlabs_style: typing.Optional[float] = None,
+ elevenlabs_speaker_boost: typing.Optional[bool] = None,
+ azure_voice_name: typing.Optional[str] = None,
+ openai_voice_name: typing.Optional[CopilotCompletionRequestOpenaiVoiceName] = None,
+ openai_tts_model: typing.Optional[CopilotCompletionRequestOpenaiTtsModel] = None,
+ input_face: typing.Optional[core.File] = None,
+ face_padding_top: typing.Optional[int] = None,
+ face_padding_bottom: typing.Optional[int] = None,
+ face_padding_left: typing.Optional[int] = None,
+ face_padding_right: typing.Optional[int] = None,
+ sadtalker_settings: typing.Optional[CopilotCompletionRequestSadtalkerSettings] = None,
+ settings: typing.Optional[RunSettings] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> VideoBotsPageOutput:
"""
@@ -479,11 +480,11 @@ async def completion(
doc_extract_url : typing.Optional[str]
Select a workflow to extract text from documents and images.
- messages : typing.Optional[typing.List[CopilotCompletionRequestMessagesItem]]
+ messages : typing.Optional[typing.List[ConversationEntry]]
bot_script : typing.Optional[str]
- selected_model : typing.Optional[CopilotCompletionRequestSelectedModel]
+ selected_model : typing.Optional[LargeLanguageModels]
document_model : typing.Optional[str]
When your copilot users upload a photo or pdf, what kind of document are they mostly likely to upload? (via [Azure](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/use-sdk-rest-api?view=doc-intel-3.1.0&tabs=linux&pivots=programming-language-rest-api))
@@ -534,7 +535,7 @@ async def completion(
lipsync_model : typing.Optional[CopilotCompletionRequestLipsyncModel]
- tools : typing.Optional[typing.List[typing.Literal["json_to_pdf"]]]
+ tools : typing.Optional[typing.List[LlmTools]]
Give your copilot superpowers by giving it access to tools. Powered by [Function calling](https://platform.openai.com/docs/guides/function-calling).
avoid_repetition : typing.Optional[bool]
diff --git a/src/gooey/copilot/types/__init__.py b/src/gooey/copilot/types/__init__.py
index 211d87d..1cdf619 100644
--- a/src/gooey/copilot/types/__init__.py
+++ b/src/gooey/copilot/types/__init__.py
@@ -6,14 +6,6 @@
from .copilot_completion_request_functions_item import CopilotCompletionRequestFunctionsItem
from .copilot_completion_request_functions_item_trigger import CopilotCompletionRequestFunctionsItemTrigger
from .copilot_completion_request_lipsync_model import CopilotCompletionRequestLipsyncModel
-from .copilot_completion_request_messages_item import CopilotCompletionRequestMessagesItem
-from .copilot_completion_request_messages_item_content import CopilotCompletionRequestMessagesItemContent
-from .copilot_completion_request_messages_item_content_item import (
- CopilotCompletionRequestMessagesItemContentItem,
- CopilotCompletionRequestMessagesItemContentItem_ImageUrl,
- CopilotCompletionRequestMessagesItemContentItem_Text,
-)
-from .copilot_completion_request_messages_item_role import CopilotCompletionRequestMessagesItemRole
from .copilot_completion_request_openai_tts_model import CopilotCompletionRequestOpenaiTtsModel
from .copilot_completion_request_openai_voice_name import CopilotCompletionRequestOpenaiVoiceName
from .copilot_completion_request_response_format_type import CopilotCompletionRequestResponseFormatType
@@ -21,7 +13,6 @@
from .copilot_completion_request_sadtalker_settings_preprocess import (
CopilotCompletionRequestSadtalkerSettingsPreprocess,
)
-from .copilot_completion_request_selected_model import CopilotCompletionRequestSelectedModel
from .copilot_completion_request_translation_model import CopilotCompletionRequestTranslationModel
from .copilot_completion_request_tts_provider import CopilotCompletionRequestTtsProvider
@@ -32,18 +23,11 @@
"CopilotCompletionRequestFunctionsItem",
"CopilotCompletionRequestFunctionsItemTrigger",
"CopilotCompletionRequestLipsyncModel",
- "CopilotCompletionRequestMessagesItem",
- "CopilotCompletionRequestMessagesItemContent",
- "CopilotCompletionRequestMessagesItemContentItem",
- "CopilotCompletionRequestMessagesItemContentItem_ImageUrl",
- "CopilotCompletionRequestMessagesItemContentItem_Text",
- "CopilotCompletionRequestMessagesItemRole",
"CopilotCompletionRequestOpenaiTtsModel",
"CopilotCompletionRequestOpenaiVoiceName",
"CopilotCompletionRequestResponseFormatType",
"CopilotCompletionRequestSadtalkerSettings",
"CopilotCompletionRequestSadtalkerSettingsPreprocess",
- "CopilotCompletionRequestSelectedModel",
"CopilotCompletionRequestTranslationModel",
"CopilotCompletionRequestTtsProvider",
]
diff --git a/src/gooey/copilot/types/copilot_completion_request_messages_item.py b/src/gooey/copilot/types/copilot_completion_request_messages_item.py
deleted file mode 100644
index 2cd2637..0000000
--- a/src/gooey/copilot/types/copilot_completion_request_messages_item.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ...core.pydantic_utilities import UniversalBaseModel
-from .copilot_completion_request_messages_item_role import CopilotCompletionRequestMessagesItemRole
-from .copilot_completion_request_messages_item_content import CopilotCompletionRequestMessagesItemContent
-import typing
-from ...core.pydantic_utilities import IS_PYDANTIC_V2
-import pydantic
-
-
-class CopilotCompletionRequestMessagesItem(UniversalBaseModel):
- role: CopilotCompletionRequestMessagesItemRole
- content: CopilotCompletionRequestMessagesItemContent
- display_name: typing.Optional[str] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/copilot/types/copilot_completion_request_messages_item_content.py b/src/gooey/copilot/types/copilot_completion_request_messages_item_content.py
deleted file mode 100644
index 960ab0b..0000000
--- a/src/gooey/copilot/types/copilot_completion_request_messages_item_content.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-from .copilot_completion_request_messages_item_content_item import CopilotCompletionRequestMessagesItemContentItem
-
-CopilotCompletionRequestMessagesItemContent = typing.Union[
- str, typing.List[CopilotCompletionRequestMessagesItemContentItem]
-]
diff --git a/src/gooey/copilot/types/copilot_completion_request_messages_item_content_item.py b/src/gooey/copilot/types/copilot_completion_request_messages_item_content_item.py
deleted file mode 100644
index 266cd54..0000000
--- a/src/gooey/copilot/types/copilot_completion_request_messages_item_content_item.py
+++ /dev/null
@@ -1,41 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from __future__ import annotations
-from ...core.pydantic_utilities import UniversalBaseModel
-import typing
-from ...core.pydantic_utilities import IS_PYDANTIC_V2
-import pydantic
-from ...types.image_url import ImageUrl
-
-
-class CopilotCompletionRequestMessagesItemContentItem_Text(UniversalBaseModel):
- type: typing.Literal["text"] = "text"
- text: typing.Optional[str] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
-
-
-class CopilotCompletionRequestMessagesItemContentItem_ImageUrl(UniversalBaseModel):
- type: typing.Literal["image_url"] = "image_url"
- image_url: typing.Optional[ImageUrl] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
-
-
-CopilotCompletionRequestMessagesItemContentItem = typing.Union[
- CopilotCompletionRequestMessagesItemContentItem_Text, CopilotCompletionRequestMessagesItemContentItem_ImageUrl
-]
diff --git a/src/gooey/copilot/types/copilot_completion_request_messages_item_role.py b/src/gooey/copilot/types/copilot_completion_request_messages_item_role.py
deleted file mode 100644
index e974d99..0000000
--- a/src/gooey/copilot/types/copilot_completion_request_messages_item_role.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-CopilotCompletionRequestMessagesItemRole = typing.Union[typing.Literal["user", "system", "assistant"], typing.Any]
diff --git a/src/gooey/copilot/types/copilot_completion_request_selected_model.py b/src/gooey/copilot/types/copilot_completion_request_selected_model.py
deleted file mode 100644
index 34cea21..0000000
--- a/src/gooey/copilot/types/copilot_completion_request_selected_model.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-CopilotCompletionRequestSelectedModel = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]
diff --git a/src/gooey/core/client_wrapper.py b/src/gooey/core/client_wrapper.py
index 871c0fd..d25497a 100644
--- a/src/gooey/core/client_wrapper.py
+++ b/src/gooey/core/client_wrapper.py
@@ -22,7 +22,7 @@ def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "gooeyai",
- "X-Fern-SDK-Version": "0.0.1-beta17",
+ "X-Fern-SDK-Version": "0.0.1-beta18",
}
headers["Authorization"] = f"Bearer {self._get_api_key()}"
return headers
diff --git a/src/gooey/types/__init__.py b/src/gooey/types/__init__.py
index 9d53b3f..9087b38 100644
--- a/src/gooey/types/__init__.py
+++ b/src/gooey/types/__init__.py
@@ -10,8 +10,6 @@
from .asr_page_output import AsrPageOutput
from .asr_page_output_output_text_item import AsrPageOutputOutputTextItem
from .asr_page_request import AsrPageRequest
-from .asr_page_request_functions_item import AsrPageRequestFunctionsItem
-from .asr_page_request_functions_item_trigger import AsrPageRequestFunctionsItemTrigger
from .asr_page_request_output_format import AsrPageRequestOutputFormat
from .asr_page_request_selected_model import AsrPageRequestSelectedModel
from .asr_page_request_translation_model import AsrPageRequestTranslationModel
@@ -21,20 +19,10 @@
from .bot_broadcast_filters import BotBroadcastFilters
from .bot_broadcast_request_model import BotBroadcastRequestModel
from .bulk_eval_page_output import BulkEvalPageOutput
-from .bulk_eval_page_request_agg_functions_item import BulkEvalPageRequestAggFunctionsItem
-from .bulk_eval_page_request_agg_functions_item_function import BulkEvalPageRequestAggFunctionsItemFunction
-from .bulk_eval_page_request_eval_prompts_item import BulkEvalPageRequestEvalPromptsItem
-from .bulk_eval_page_request_functions_item import BulkEvalPageRequestFunctionsItem
-from .bulk_eval_page_request_functions_item_trigger import BulkEvalPageRequestFunctionsItemTrigger
from .bulk_eval_page_request_response_format_type import BulkEvalPageRequestResponseFormatType
-from .bulk_eval_page_request_selected_model import BulkEvalPageRequestSelectedModel
from .bulk_eval_page_status_response import BulkEvalPageStatusResponse
-from .bulk_run_request_functions_item import BulkRunRequestFunctionsItem
-from .bulk_run_request_functions_item_trigger import BulkRunRequestFunctionsItemTrigger
from .bulk_runner_page_output import BulkRunnerPageOutput
from .bulk_runner_page_request import BulkRunnerPageRequest
-from .bulk_runner_page_request_functions_item import BulkRunnerPageRequestFunctionsItem
-from .bulk_runner_page_request_functions_item_trigger import BulkRunnerPageRequestFunctionsItemTrigger
from .bulk_runner_page_status_response import BulkRunnerPageStatusResponse
from .button_pressed import ButtonPressed
from .called_function_response import CalledFunctionResponse
@@ -43,25 +31,16 @@
from .chat_completion_content_part_text_param import ChatCompletionContentPartTextParam
from .chyron_plant_page_output import ChyronPlantPageOutput
from .chyron_plant_page_request import ChyronPlantPageRequest
-from .chyron_plant_page_request_functions_item import ChyronPlantPageRequestFunctionsItem
-from .chyron_plant_page_request_functions_item_trigger import ChyronPlantPageRequestFunctionsItemTrigger
from .chyron_plant_page_status_response import ChyronPlantPageStatusResponse
from .compare_llm_page_output import CompareLlmPageOutput
-from .compare_llm_page_request_functions_item import CompareLlmPageRequestFunctionsItem
-from .compare_llm_page_request_functions_item_trigger import CompareLlmPageRequestFunctionsItemTrigger
from .compare_llm_page_request_response_format_type import CompareLlmPageRequestResponseFormatType
-from .compare_llm_page_request_selected_models_item import CompareLlmPageRequestSelectedModelsItem
from .compare_llm_page_status_response import CompareLlmPageStatusResponse
from .compare_text2img_page_output import CompareText2ImgPageOutput
-from .compare_text2img_page_request_functions_item import CompareText2ImgPageRequestFunctionsItem
-from .compare_text2img_page_request_functions_item_trigger import CompareText2ImgPageRequestFunctionsItemTrigger
from .compare_text2img_page_request_scheduler import CompareText2ImgPageRequestScheduler
from .compare_text2img_page_request_selected_models_item import CompareText2ImgPageRequestSelectedModelsItem
from .compare_text2img_page_status_response import CompareText2ImgPageStatusResponse
from .compare_upscaler_page_output import CompareUpscalerPageOutput
from .compare_upscaler_page_request import CompareUpscalerPageRequest
-from .compare_upscaler_page_request_functions_item import CompareUpscalerPageRequestFunctionsItem
-from .compare_upscaler_page_request_functions_item_trigger import CompareUpscalerPageRequestFunctionsItemTrigger
from .compare_upscaler_page_request_selected_models_item import CompareUpscalerPageRequestSelectedModelsItem
from .compare_upscaler_page_status_response import CompareUpscalerPageStatusResponse
from .console_logs import ConsoleLogs
@@ -83,63 +62,39 @@
from .create_stream_request_openai_tts_model import CreateStreamRequestOpenaiTtsModel
from .create_stream_request_openai_voice_name import CreateStreamRequestOpenaiVoiceName
from .create_stream_request_response_format_type import CreateStreamRequestResponseFormatType
-from .create_stream_request_selected_model import CreateStreamRequestSelectedModel
from .create_stream_request_translation_model import CreateStreamRequestTranslationModel
from .create_stream_request_tts_provider import CreateStreamRequestTtsProvider
from .create_stream_response import CreateStreamResponse
from .deforum_sd_page_output import DeforumSdPageOutput
-from .deforum_sd_page_request_animation_prompts_item import DeforumSdPageRequestAnimationPromptsItem
-from .deforum_sd_page_request_functions_item import DeforumSdPageRequestFunctionsItem
-from .deforum_sd_page_request_functions_item_trigger import DeforumSdPageRequestFunctionsItemTrigger
from .deforum_sd_page_request_selected_model import DeforumSdPageRequestSelectedModel
from .deforum_sd_page_status_response import DeforumSdPageStatusResponse
from .doc_extract_page_output import DocExtractPageOutput
from .doc_extract_page_request import DocExtractPageRequest
-from .doc_extract_page_request_functions_item import DocExtractPageRequestFunctionsItem
-from .doc_extract_page_request_functions_item_trigger import DocExtractPageRequestFunctionsItemTrigger
from .doc_extract_page_request_response_format_type import DocExtractPageRequestResponseFormatType
from .doc_extract_page_request_selected_asr_model import DocExtractPageRequestSelectedAsrModel
-from .doc_extract_page_request_selected_model import DocExtractPageRequestSelectedModel
from .doc_extract_page_status_response import DocExtractPageStatusResponse
from .doc_search_page_output import DocSearchPageOutput
from .doc_search_page_request_citation_style import DocSearchPageRequestCitationStyle
from .doc_search_page_request_embedding_model import DocSearchPageRequestEmbeddingModel
-from .doc_search_page_request_functions_item import DocSearchPageRequestFunctionsItem
-from .doc_search_page_request_functions_item_trigger import DocSearchPageRequestFunctionsItemTrigger
from .doc_search_page_request_keyword_query import DocSearchPageRequestKeywordQuery
from .doc_search_page_request_response_format_type import DocSearchPageRequestResponseFormatType
-from .doc_search_page_request_selected_model import DocSearchPageRequestSelectedModel
from .doc_search_page_status_response import DocSearchPageStatusResponse
from .doc_summary_page_output import DocSummaryPageOutput
from .doc_summary_page_request import DocSummaryPageRequest
-from .doc_summary_page_request_functions_item import DocSummaryPageRequestFunctionsItem
-from .doc_summary_page_request_functions_item_trigger import DocSummaryPageRequestFunctionsItemTrigger
from .doc_summary_page_request_response_format_type import DocSummaryPageRequestResponseFormatType
from .doc_summary_page_request_selected_asr_model import DocSummaryPageRequestSelectedAsrModel
-from .doc_summary_page_request_selected_model import DocSummaryPageRequestSelectedModel
from .doc_summary_page_status_response import DocSummaryPageStatusResponse
-from .doc_summary_request_functions_item import DocSummaryRequestFunctionsItem
-from .doc_summary_request_functions_item_trigger import DocSummaryRequestFunctionsItemTrigger
from .doc_summary_request_response_format_type import DocSummaryRequestResponseFormatType
from .doc_summary_request_selected_asr_model import DocSummaryRequestSelectedAsrModel
-from .doc_summary_request_selected_model import DocSummaryRequestSelectedModel
from .email_face_inpainting_page_output import EmailFaceInpaintingPageOutput
-from .email_face_inpainting_page_request_functions_item import EmailFaceInpaintingPageRequestFunctionsItem
-from .email_face_inpainting_page_request_functions_item_trigger import (
- EmailFaceInpaintingPageRequestFunctionsItemTrigger,
-)
from .email_face_inpainting_page_request_selected_model import EmailFaceInpaintingPageRequestSelectedModel
from .email_face_inpainting_page_status_response import EmailFaceInpaintingPageStatusResponse
from .embeddings_page_output import EmbeddingsPageOutput
-from .embeddings_page_request_functions_item import EmbeddingsPageRequestFunctionsItem
-from .embeddings_page_request_functions_item_trigger import EmbeddingsPageRequestFunctionsItemTrigger
from .embeddings_page_request_selected_model import EmbeddingsPageRequestSelectedModel
from .embeddings_page_status_response import EmbeddingsPageStatusResponse
from .eval_prompt import EvalPrompt
from .face_inpainting_page_output import FaceInpaintingPageOutput
from .face_inpainting_page_request import FaceInpaintingPageRequest
-from .face_inpainting_page_request_functions_item import FaceInpaintingPageRequestFunctionsItem
-from .face_inpainting_page_request_functions_item_trigger import FaceInpaintingPageRequestFunctionsItemTrigger
from .face_inpainting_page_request_selected_model import FaceInpaintingPageRequestSelectedModel
from .face_inpainting_page_status_response import FaceInpaintingPageStatusResponse
from .final_response import FinalResponse
@@ -149,105 +104,66 @@
from .generic_error_response_detail import GenericErrorResponseDetail
from .google_gpt_page_output import GoogleGptPageOutput
from .google_gpt_page_request_embedding_model import GoogleGptPageRequestEmbeddingModel
-from .google_gpt_page_request_functions_item import GoogleGptPageRequestFunctionsItem
-from .google_gpt_page_request_functions_item_trigger import GoogleGptPageRequestFunctionsItemTrigger
from .google_gpt_page_request_response_format_type import GoogleGptPageRequestResponseFormatType
-from .google_gpt_page_request_selected_model import GoogleGptPageRequestSelectedModel
from .google_gpt_page_status_response import GoogleGptPageStatusResponse
from .google_image_gen_page_output import GoogleImageGenPageOutput
-from .google_image_gen_page_request_functions_item import GoogleImageGenPageRequestFunctionsItem
-from .google_image_gen_page_request_functions_item_trigger import GoogleImageGenPageRequestFunctionsItemTrigger
from .google_image_gen_page_request_selected_model import GoogleImageGenPageRequestSelectedModel
from .google_image_gen_page_status_response import GoogleImageGenPageStatusResponse
from .http_validation_error import HttpValidationError
from .image_segmentation_page_output import ImageSegmentationPageOutput
from .image_segmentation_page_request import ImageSegmentationPageRequest
-from .image_segmentation_page_request_functions_item import ImageSegmentationPageRequestFunctionsItem
-from .image_segmentation_page_request_functions_item_trigger import ImageSegmentationPageRequestFunctionsItemTrigger
from .image_segmentation_page_request_selected_model import ImageSegmentationPageRequestSelectedModel
from .image_segmentation_page_status_response import ImageSegmentationPageStatusResponse
from .image_url import ImageUrl
from .image_url_detail import ImageUrlDetail
from .img2img_page_output import Img2ImgPageOutput
from .img2img_page_request import Img2ImgPageRequest
-from .img2img_page_request_functions_item import Img2ImgPageRequestFunctionsItem
-from .img2img_page_request_functions_item_trigger import Img2ImgPageRequestFunctionsItemTrigger
from .img2img_page_request_selected_controlnet_model import Img2ImgPageRequestSelectedControlnetModel
from .img2img_page_request_selected_controlnet_model_item import Img2ImgPageRequestSelectedControlnetModelItem
from .img2img_page_request_selected_model import Img2ImgPageRequestSelectedModel
from .img2img_page_status_response import Img2ImgPageStatusResponse
+from .large_language_models import LargeLanguageModels
from .letter_writer_page_output import LetterWriterPageOutput
from .letter_writer_page_request import LetterWriterPageRequest
-from .letter_writer_page_request_example_letters_item import LetterWriterPageRequestExampleLettersItem
-from .letter_writer_page_request_functions_item import LetterWriterPageRequestFunctionsItem
-from .letter_writer_page_request_functions_item_trigger import LetterWriterPageRequestFunctionsItemTrigger
from .letter_writer_page_status_response import LetterWriterPageStatusResponse
from .lipsync_page_output import LipsyncPageOutput
from .lipsync_page_request import LipsyncPageRequest
-from .lipsync_page_request_functions_item import LipsyncPageRequestFunctionsItem
-from .lipsync_page_request_functions_item_trigger import LipsyncPageRequestFunctionsItemTrigger
-from .lipsync_page_request_sadtalker_settings import LipsyncPageRequestSadtalkerSettings
-from .lipsync_page_request_sadtalker_settings_preprocess import LipsyncPageRequestSadtalkerSettingsPreprocess
from .lipsync_page_request_selected_model import LipsyncPageRequestSelectedModel
from .lipsync_page_status_response import LipsyncPageStatusResponse
-from .lipsync_request_functions_item import LipsyncRequestFunctionsItem
-from .lipsync_request_functions_item_trigger import LipsyncRequestFunctionsItemTrigger
-from .lipsync_request_sadtalker_settings import LipsyncRequestSadtalkerSettings
-from .lipsync_request_sadtalker_settings_preprocess import LipsyncRequestSadtalkerSettingsPreprocess
from .lipsync_request_selected_model import LipsyncRequestSelectedModel
from .lipsync_tts_page_output import LipsyncTtsPageOutput
from .lipsync_tts_page_request import LipsyncTtsPageRequest
-from .lipsync_tts_page_request_functions_item import LipsyncTtsPageRequestFunctionsItem
-from .lipsync_tts_page_request_functions_item_trigger import LipsyncTtsPageRequestFunctionsItemTrigger
from .lipsync_tts_page_request_openai_tts_model import LipsyncTtsPageRequestOpenaiTtsModel
from .lipsync_tts_page_request_openai_voice_name import LipsyncTtsPageRequestOpenaiVoiceName
-from .lipsync_tts_page_request_sadtalker_settings import LipsyncTtsPageRequestSadtalkerSettings
-from .lipsync_tts_page_request_sadtalker_settings_preprocess import LipsyncTtsPageRequestSadtalkerSettingsPreprocess
from .lipsync_tts_page_request_selected_model import LipsyncTtsPageRequestSelectedModel
from .lipsync_tts_page_request_tts_provider import LipsyncTtsPageRequestTtsProvider
from .lipsync_tts_page_status_response import LipsyncTtsPageStatusResponse
-from .lipsync_tts_request_functions_item import LipsyncTtsRequestFunctionsItem
-from .lipsync_tts_request_functions_item_trigger import LipsyncTtsRequestFunctionsItemTrigger
from .lipsync_tts_request_openai_tts_model import LipsyncTtsRequestOpenaiTtsModel
from .lipsync_tts_request_openai_voice_name import LipsyncTtsRequestOpenaiVoiceName
-from .lipsync_tts_request_sadtalker_settings import LipsyncTtsRequestSadtalkerSettings
-from .lipsync_tts_request_sadtalker_settings_preprocess import LipsyncTtsRequestSadtalkerSettingsPreprocess
from .lipsync_tts_request_selected_model import LipsyncTtsRequestSelectedModel
from .lipsync_tts_request_tts_provider import LipsyncTtsRequestTtsProvider
from .llm_tools import LlmTools
from .message_part import MessagePart
from .object_inpainting_page_output import ObjectInpaintingPageOutput
from .object_inpainting_page_request import ObjectInpaintingPageRequest
-from .object_inpainting_page_request_functions_item import ObjectInpaintingPageRequestFunctionsItem
-from .object_inpainting_page_request_functions_item_trigger import ObjectInpaintingPageRequestFunctionsItemTrigger
from .object_inpainting_page_request_selected_model import ObjectInpaintingPageRequestSelectedModel
from .object_inpainting_page_status_response import ObjectInpaintingPageStatusResponse
-from .portrait_request_functions_item import PortraitRequestFunctionsItem
-from .portrait_request_functions_item_trigger import PortraitRequestFunctionsItemTrigger
from .portrait_request_selected_model import PortraitRequestSelectedModel
-from .product_image_request_functions_item import ProductImageRequestFunctionsItem
-from .product_image_request_functions_item_trigger import ProductImageRequestFunctionsItemTrigger
from .product_image_request_selected_model import ProductImageRequestSelectedModel
from .prompt_tree_node import PromptTreeNode
from .prompt_tree_node_prompt import PromptTreeNodePrompt
from .qr_code_generator_page_output import QrCodeGeneratorPageOutput
from .qr_code_generator_page_request import QrCodeGeneratorPageRequest
-from .qr_code_generator_page_request_functions_item import QrCodeGeneratorPageRequestFunctionsItem
-from .qr_code_generator_page_request_functions_item_trigger import QrCodeGeneratorPageRequestFunctionsItemTrigger
from .qr_code_generator_page_request_image_prompt_controlnet_models_item import (
QrCodeGeneratorPageRequestImagePromptControlnetModelsItem,
)
-from .qr_code_generator_page_request_qr_code_vcard import QrCodeGeneratorPageRequestQrCodeVcard
from .qr_code_generator_page_request_scheduler import QrCodeGeneratorPageRequestScheduler
from .qr_code_generator_page_request_selected_controlnet_model_item import (
QrCodeGeneratorPageRequestSelectedControlnetModelItem,
)
from .qr_code_generator_page_request_selected_model import QrCodeGeneratorPageRequestSelectedModel
from .qr_code_generator_page_status_response import QrCodeGeneratorPageStatusResponse
-from .qr_code_request_functions_item import QrCodeRequestFunctionsItem
-from .qr_code_request_functions_item_trigger import QrCodeRequestFunctionsItemTrigger
from .qr_code_request_image_prompt_controlnet_models_item import QrCodeRequestImagePromptControlnetModelsItem
-from .qr_code_request_qr_code_vcard import QrCodeRequestQrCodeVcard
from .qr_code_request_scheduler import QrCodeRequestScheduler
from .qr_code_request_selected_controlnet_model_item import QrCodeRequestSelectedControlnetModelItem
from .qr_code_request_selected_model import QrCodeRequestSelectedModel
@@ -259,26 +175,16 @@
from .related_qn_a_doc_page_output import RelatedQnADocPageOutput
from .related_qn_a_doc_page_request_citation_style import RelatedQnADocPageRequestCitationStyle
from .related_qn_a_doc_page_request_embedding_model import RelatedQnADocPageRequestEmbeddingModel
-from .related_qn_a_doc_page_request_functions_item import RelatedQnADocPageRequestFunctionsItem
-from .related_qn_a_doc_page_request_functions_item_trigger import RelatedQnADocPageRequestFunctionsItemTrigger
from .related_qn_a_doc_page_request_keyword_query import RelatedQnADocPageRequestKeywordQuery
from .related_qn_a_doc_page_request_response_format_type import RelatedQnADocPageRequestResponseFormatType
-from .related_qn_a_doc_page_request_selected_model import RelatedQnADocPageRequestSelectedModel
from .related_qn_a_doc_page_status_response import RelatedQnADocPageStatusResponse
from .related_qn_a_page_output import RelatedQnAPageOutput
from .related_qn_a_page_request_embedding_model import RelatedQnAPageRequestEmbeddingModel
-from .related_qn_a_page_request_functions_item import RelatedQnAPageRequestFunctionsItem
-from .related_qn_a_page_request_functions_item_trigger import RelatedQnAPageRequestFunctionsItemTrigger
from .related_qn_a_page_request_response_format_type import RelatedQnAPageRequestResponseFormatType
-from .related_qn_a_page_request_selected_model import RelatedQnAPageRequestSelectedModel
from .related_qn_a_page_status_response import RelatedQnAPageStatusResponse
-from .remix_image_request_functions_item import RemixImageRequestFunctionsItem
-from .remix_image_request_functions_item_trigger import RemixImageRequestFunctionsItemTrigger
from .remix_image_request_selected_controlnet_model import RemixImageRequestSelectedControlnetModel
from .remix_image_request_selected_controlnet_model_item import RemixImageRequestSelectedControlnetModelItem
from .remix_image_request_selected_model import RemixImageRequestSelectedModel
-from .remove_background_request_functions_item import RemoveBackgroundRequestFunctionsItem
-from .remove_background_request_functions_item_trigger import RemoveBackgroundRequestFunctionsItemTrigger
from .remove_background_request_selected_model import RemoveBackgroundRequestSelectedModel
from .reply_button import ReplyButton
from .response_model import ResponseModel
@@ -292,56 +198,34 @@
from .search_reference import SearchReference
from .seo_summary_page_output import SeoSummaryPageOutput
from .seo_summary_page_request_response_format_type import SeoSummaryPageRequestResponseFormatType
-from .seo_summary_page_request_selected_model import SeoSummaryPageRequestSelectedModel
from .seo_summary_page_status_response import SeoSummaryPageStatusResponse
from .serp_search_location import SerpSearchLocation
from .serp_search_type import SerpSearchType
from .smart_gpt_page_output import SmartGptPageOutput
-from .smart_gpt_page_request_functions_item import SmartGptPageRequestFunctionsItem
-from .smart_gpt_page_request_functions_item_trigger import SmartGptPageRequestFunctionsItemTrigger
from .smart_gpt_page_request_response_format_type import SmartGptPageRequestResponseFormatType
-from .smart_gpt_page_request_selected_model import SmartGptPageRequestSelectedModel
from .smart_gpt_page_status_response import SmartGptPageStatusResponse
from .social_lookup_email_page_output import SocialLookupEmailPageOutput
-from .social_lookup_email_page_request_functions_item import SocialLookupEmailPageRequestFunctionsItem
-from .social_lookup_email_page_request_functions_item_trigger import SocialLookupEmailPageRequestFunctionsItemTrigger
from .social_lookup_email_page_request_response_format_type import SocialLookupEmailPageRequestResponseFormatType
-from .social_lookup_email_page_request_selected_model import SocialLookupEmailPageRequestSelectedModel
from .social_lookup_email_page_status_response import SocialLookupEmailPageStatusResponse
-from .speech_recognition_request_functions_item import SpeechRecognitionRequestFunctionsItem
-from .speech_recognition_request_functions_item_trigger import SpeechRecognitionRequestFunctionsItemTrigger
from .speech_recognition_request_output_format import SpeechRecognitionRequestOutputFormat
from .speech_recognition_request_selected_model import SpeechRecognitionRequestSelectedModel
from .speech_recognition_request_translation_model import SpeechRecognitionRequestTranslationModel
from .stream_error import StreamError
-from .synthesize_data_request_functions_item import SynthesizeDataRequestFunctionsItem
-from .synthesize_data_request_functions_item_trigger import SynthesizeDataRequestFunctionsItemTrigger
from .synthesize_data_request_response_format_type import SynthesizeDataRequestResponseFormatType
from .synthesize_data_request_selected_asr_model import SynthesizeDataRequestSelectedAsrModel
-from .synthesize_data_request_selected_model import SynthesizeDataRequestSelectedModel
from .text2audio_page_output import Text2AudioPageOutput
-from .text2audio_page_request_functions_item import Text2AudioPageRequestFunctionsItem
-from .text2audio_page_request_functions_item_trigger import Text2AudioPageRequestFunctionsItemTrigger
from .text2audio_page_status_response import Text2AudioPageStatusResponse
from .text_to_speech_page_output import TextToSpeechPageOutput
-from .text_to_speech_page_request_functions_item import TextToSpeechPageRequestFunctionsItem
-from .text_to_speech_page_request_functions_item_trigger import TextToSpeechPageRequestFunctionsItemTrigger
from .text_to_speech_page_request_openai_tts_model import TextToSpeechPageRequestOpenaiTtsModel
from .text_to_speech_page_request_openai_voice_name import TextToSpeechPageRequestOpenaiVoiceName
from .text_to_speech_page_request_tts_provider import TextToSpeechPageRequestTtsProvider
from .text_to_speech_page_status_response import TextToSpeechPageStatusResponse
from .training_data_model import TrainingDataModel
-from .translate_request_functions_item import TranslateRequestFunctionsItem
-from .translate_request_functions_item_trigger import TranslateRequestFunctionsItemTrigger
from .translate_request_selected_model import TranslateRequestSelectedModel
from .translation_page_output import TranslationPageOutput
from .translation_page_request import TranslationPageRequest
-from .translation_page_request_functions_item import TranslationPageRequestFunctionsItem
-from .translation_page_request_functions_item_trigger import TranslationPageRequestFunctionsItemTrigger
from .translation_page_request_selected_model import TranslationPageRequestSelectedModel
from .translation_page_status_response import TranslationPageStatusResponse
-from .upscale_request_functions_item import UpscaleRequestFunctionsItem
-from .upscale_request_functions_item_trigger import UpscaleRequestFunctionsItemTrigger
from .upscale_request_selected_models_item import UpscaleRequestSelectedModelsItem
from .validation_error import ValidationError
from .validation_error_loc_item import ValidationErrorLocItem
@@ -356,20 +240,11 @@
from .video_bots_page_request_functions_item import VideoBotsPageRequestFunctionsItem
from .video_bots_page_request_functions_item_trigger import VideoBotsPageRequestFunctionsItemTrigger
from .video_bots_page_request_lipsync_model import VideoBotsPageRequestLipsyncModel
-from .video_bots_page_request_messages_item import VideoBotsPageRequestMessagesItem
-from .video_bots_page_request_messages_item_content import VideoBotsPageRequestMessagesItemContent
-from .video_bots_page_request_messages_item_content_item import (
- VideoBotsPageRequestMessagesItemContentItem,
- VideoBotsPageRequestMessagesItemContentItem_ImageUrl,
- VideoBotsPageRequestMessagesItemContentItem_Text,
-)
-from .video_bots_page_request_messages_item_role import VideoBotsPageRequestMessagesItemRole
from .video_bots_page_request_openai_tts_model import VideoBotsPageRequestOpenaiTtsModel
from .video_bots_page_request_openai_voice_name import VideoBotsPageRequestOpenaiVoiceName
from .video_bots_page_request_response_format_type import VideoBotsPageRequestResponseFormatType
from .video_bots_page_request_sadtalker_settings import VideoBotsPageRequestSadtalkerSettings
from .video_bots_page_request_sadtalker_settings_preprocess import VideoBotsPageRequestSadtalkerSettingsPreprocess
-from .video_bots_page_request_selected_model import VideoBotsPageRequestSelectedModel
from .video_bots_page_request_translation_model import VideoBotsPageRequestTranslationModel
from .video_bots_page_request_tts_provider import VideoBotsPageRequestTtsProvider
from .video_bots_page_status_response import VideoBotsPageStatusResponse
@@ -385,8 +260,6 @@
"AsrPageOutput",
"AsrPageOutputOutputTextItem",
"AsrPageRequest",
- "AsrPageRequestFunctionsItem",
- "AsrPageRequestFunctionsItemTrigger",
"AsrPageRequestOutputFormat",
"AsrPageRequestSelectedModel",
"AsrPageRequestTranslationModel",
@@ -396,20 +269,10 @@
"BotBroadcastFilters",
"BotBroadcastRequestModel",
"BulkEvalPageOutput",
- "BulkEvalPageRequestAggFunctionsItem",
- "BulkEvalPageRequestAggFunctionsItemFunction",
- "BulkEvalPageRequestEvalPromptsItem",
- "BulkEvalPageRequestFunctionsItem",
- "BulkEvalPageRequestFunctionsItemTrigger",
"BulkEvalPageRequestResponseFormatType",
- "BulkEvalPageRequestSelectedModel",
"BulkEvalPageStatusResponse",
- "BulkRunRequestFunctionsItem",
- "BulkRunRequestFunctionsItemTrigger",
"BulkRunnerPageOutput",
"BulkRunnerPageRequest",
- "BulkRunnerPageRequestFunctionsItem",
- "BulkRunnerPageRequestFunctionsItemTrigger",
"BulkRunnerPageStatusResponse",
"ButtonPressed",
"CalledFunctionResponse",
@@ -418,25 +281,16 @@
"ChatCompletionContentPartTextParam",
"ChyronPlantPageOutput",
"ChyronPlantPageRequest",
- "ChyronPlantPageRequestFunctionsItem",
- "ChyronPlantPageRequestFunctionsItemTrigger",
"ChyronPlantPageStatusResponse",
"CompareLlmPageOutput",
- "CompareLlmPageRequestFunctionsItem",
- "CompareLlmPageRequestFunctionsItemTrigger",
"CompareLlmPageRequestResponseFormatType",
- "CompareLlmPageRequestSelectedModelsItem",
"CompareLlmPageStatusResponse",
"CompareText2ImgPageOutput",
- "CompareText2ImgPageRequestFunctionsItem",
- "CompareText2ImgPageRequestFunctionsItemTrigger",
"CompareText2ImgPageRequestScheduler",
"CompareText2ImgPageRequestSelectedModelsItem",
"CompareText2ImgPageStatusResponse",
"CompareUpscalerPageOutput",
"CompareUpscalerPageRequest",
- "CompareUpscalerPageRequestFunctionsItem",
- "CompareUpscalerPageRequestFunctionsItemTrigger",
"CompareUpscalerPageRequestSelectedModelsItem",
"CompareUpscalerPageStatusResponse",
"ConsoleLogs",
@@ -456,61 +310,39 @@
"CreateStreamRequestOpenaiTtsModel",
"CreateStreamRequestOpenaiVoiceName",
"CreateStreamRequestResponseFormatType",
- "CreateStreamRequestSelectedModel",
"CreateStreamRequestTranslationModel",
"CreateStreamRequestTtsProvider",
"CreateStreamResponse",
"DeforumSdPageOutput",
- "DeforumSdPageRequestAnimationPromptsItem",
- "DeforumSdPageRequestFunctionsItem",
- "DeforumSdPageRequestFunctionsItemTrigger",
"DeforumSdPageRequestSelectedModel",
"DeforumSdPageStatusResponse",
"DocExtractPageOutput",
"DocExtractPageRequest",
- "DocExtractPageRequestFunctionsItem",
- "DocExtractPageRequestFunctionsItemTrigger",
"DocExtractPageRequestResponseFormatType",
"DocExtractPageRequestSelectedAsrModel",
- "DocExtractPageRequestSelectedModel",
"DocExtractPageStatusResponse",
"DocSearchPageOutput",
"DocSearchPageRequestCitationStyle",
"DocSearchPageRequestEmbeddingModel",
- "DocSearchPageRequestFunctionsItem",
- "DocSearchPageRequestFunctionsItemTrigger",
"DocSearchPageRequestKeywordQuery",
"DocSearchPageRequestResponseFormatType",
- "DocSearchPageRequestSelectedModel",
"DocSearchPageStatusResponse",
"DocSummaryPageOutput",
"DocSummaryPageRequest",
- "DocSummaryPageRequestFunctionsItem",
- "DocSummaryPageRequestFunctionsItemTrigger",
"DocSummaryPageRequestResponseFormatType",
"DocSummaryPageRequestSelectedAsrModel",
- "DocSummaryPageRequestSelectedModel",
"DocSummaryPageStatusResponse",
- "DocSummaryRequestFunctionsItem",
- "DocSummaryRequestFunctionsItemTrigger",
"DocSummaryRequestResponseFormatType",
"DocSummaryRequestSelectedAsrModel",
- "DocSummaryRequestSelectedModel",
"EmailFaceInpaintingPageOutput",
- "EmailFaceInpaintingPageRequestFunctionsItem",
- "EmailFaceInpaintingPageRequestFunctionsItemTrigger",
"EmailFaceInpaintingPageRequestSelectedModel",
"EmailFaceInpaintingPageStatusResponse",
"EmbeddingsPageOutput",
- "EmbeddingsPageRequestFunctionsItem",
- "EmbeddingsPageRequestFunctionsItemTrigger",
"EmbeddingsPageRequestSelectedModel",
"EmbeddingsPageStatusResponse",
"EvalPrompt",
"FaceInpaintingPageOutput",
"FaceInpaintingPageRequest",
- "FaceInpaintingPageRequestFunctionsItem",
- "FaceInpaintingPageRequestFunctionsItemTrigger",
"FaceInpaintingPageRequestSelectedModel",
"FaceInpaintingPageStatusResponse",
"FinalResponse",
@@ -520,101 +352,62 @@
"GenericErrorResponseDetail",
"GoogleGptPageOutput",
"GoogleGptPageRequestEmbeddingModel",
- "GoogleGptPageRequestFunctionsItem",
- "GoogleGptPageRequestFunctionsItemTrigger",
"GoogleGptPageRequestResponseFormatType",
- "GoogleGptPageRequestSelectedModel",
"GoogleGptPageStatusResponse",
"GoogleImageGenPageOutput",
- "GoogleImageGenPageRequestFunctionsItem",
- "GoogleImageGenPageRequestFunctionsItemTrigger",
"GoogleImageGenPageRequestSelectedModel",
"GoogleImageGenPageStatusResponse",
"HttpValidationError",
"ImageSegmentationPageOutput",
"ImageSegmentationPageRequest",
- "ImageSegmentationPageRequestFunctionsItem",
- "ImageSegmentationPageRequestFunctionsItemTrigger",
"ImageSegmentationPageRequestSelectedModel",
"ImageSegmentationPageStatusResponse",
"ImageUrl",
"ImageUrlDetail",
"Img2ImgPageOutput",
"Img2ImgPageRequest",
- "Img2ImgPageRequestFunctionsItem",
- "Img2ImgPageRequestFunctionsItemTrigger",
"Img2ImgPageRequestSelectedControlnetModel",
"Img2ImgPageRequestSelectedControlnetModelItem",
"Img2ImgPageRequestSelectedModel",
"Img2ImgPageStatusResponse",
+ "LargeLanguageModels",
"LetterWriterPageOutput",
"LetterWriterPageRequest",
- "LetterWriterPageRequestExampleLettersItem",
- "LetterWriterPageRequestFunctionsItem",
- "LetterWriterPageRequestFunctionsItemTrigger",
"LetterWriterPageStatusResponse",
"LipsyncPageOutput",
"LipsyncPageRequest",
- "LipsyncPageRequestFunctionsItem",
- "LipsyncPageRequestFunctionsItemTrigger",
- "LipsyncPageRequestSadtalkerSettings",
- "LipsyncPageRequestSadtalkerSettingsPreprocess",
"LipsyncPageRequestSelectedModel",
"LipsyncPageStatusResponse",
- "LipsyncRequestFunctionsItem",
- "LipsyncRequestFunctionsItemTrigger",
- "LipsyncRequestSadtalkerSettings",
- "LipsyncRequestSadtalkerSettingsPreprocess",
"LipsyncRequestSelectedModel",
"LipsyncTtsPageOutput",
"LipsyncTtsPageRequest",
- "LipsyncTtsPageRequestFunctionsItem",
- "LipsyncTtsPageRequestFunctionsItemTrigger",
"LipsyncTtsPageRequestOpenaiTtsModel",
"LipsyncTtsPageRequestOpenaiVoiceName",
- "LipsyncTtsPageRequestSadtalkerSettings",
- "LipsyncTtsPageRequestSadtalkerSettingsPreprocess",
"LipsyncTtsPageRequestSelectedModel",
"LipsyncTtsPageRequestTtsProvider",
"LipsyncTtsPageStatusResponse",
- "LipsyncTtsRequestFunctionsItem",
- "LipsyncTtsRequestFunctionsItemTrigger",
"LipsyncTtsRequestOpenaiTtsModel",
"LipsyncTtsRequestOpenaiVoiceName",
- "LipsyncTtsRequestSadtalkerSettings",
- "LipsyncTtsRequestSadtalkerSettingsPreprocess",
"LipsyncTtsRequestSelectedModel",
"LipsyncTtsRequestTtsProvider",
"LlmTools",
"MessagePart",
"ObjectInpaintingPageOutput",
"ObjectInpaintingPageRequest",
- "ObjectInpaintingPageRequestFunctionsItem",
- "ObjectInpaintingPageRequestFunctionsItemTrigger",
"ObjectInpaintingPageRequestSelectedModel",
"ObjectInpaintingPageStatusResponse",
- "PortraitRequestFunctionsItem",
- "PortraitRequestFunctionsItemTrigger",
"PortraitRequestSelectedModel",
- "ProductImageRequestFunctionsItem",
- "ProductImageRequestFunctionsItemTrigger",
"ProductImageRequestSelectedModel",
"PromptTreeNode",
"PromptTreeNodePrompt",
"QrCodeGeneratorPageOutput",
"QrCodeGeneratorPageRequest",
- "QrCodeGeneratorPageRequestFunctionsItem",
- "QrCodeGeneratorPageRequestFunctionsItemTrigger",
"QrCodeGeneratorPageRequestImagePromptControlnetModelsItem",
- "QrCodeGeneratorPageRequestQrCodeVcard",
"QrCodeGeneratorPageRequestScheduler",
"QrCodeGeneratorPageRequestSelectedControlnetModelItem",
"QrCodeGeneratorPageRequestSelectedModel",
"QrCodeGeneratorPageStatusResponse",
- "QrCodeRequestFunctionsItem",
- "QrCodeRequestFunctionsItemTrigger",
"QrCodeRequestImagePromptControlnetModelsItem",
- "QrCodeRequestQrCodeVcard",
"QrCodeRequestScheduler",
"QrCodeRequestSelectedControlnetModelItem",
"QrCodeRequestSelectedModel",
@@ -626,26 +419,16 @@
"RelatedQnADocPageOutput",
"RelatedQnADocPageRequestCitationStyle",
"RelatedQnADocPageRequestEmbeddingModel",
- "RelatedQnADocPageRequestFunctionsItem",
- "RelatedQnADocPageRequestFunctionsItemTrigger",
"RelatedQnADocPageRequestKeywordQuery",
"RelatedQnADocPageRequestResponseFormatType",
- "RelatedQnADocPageRequestSelectedModel",
"RelatedQnADocPageStatusResponse",
"RelatedQnAPageOutput",
"RelatedQnAPageRequestEmbeddingModel",
- "RelatedQnAPageRequestFunctionsItem",
- "RelatedQnAPageRequestFunctionsItemTrigger",
"RelatedQnAPageRequestResponseFormatType",
- "RelatedQnAPageRequestSelectedModel",
"RelatedQnAPageStatusResponse",
- "RemixImageRequestFunctionsItem",
- "RemixImageRequestFunctionsItemTrigger",
"RemixImageRequestSelectedControlnetModel",
"RemixImageRequestSelectedControlnetModelItem",
"RemixImageRequestSelectedModel",
- "RemoveBackgroundRequestFunctionsItem",
- "RemoveBackgroundRequestFunctionsItemTrigger",
"RemoveBackgroundRequestSelectedModel",
"ReplyButton",
"ResponseModel",
@@ -659,56 +442,34 @@
"SearchReference",
"SeoSummaryPageOutput",
"SeoSummaryPageRequestResponseFormatType",
- "SeoSummaryPageRequestSelectedModel",
"SeoSummaryPageStatusResponse",
"SerpSearchLocation",
"SerpSearchType",
"SmartGptPageOutput",
- "SmartGptPageRequestFunctionsItem",
- "SmartGptPageRequestFunctionsItemTrigger",
"SmartGptPageRequestResponseFormatType",
- "SmartGptPageRequestSelectedModel",
"SmartGptPageStatusResponse",
"SocialLookupEmailPageOutput",
- "SocialLookupEmailPageRequestFunctionsItem",
- "SocialLookupEmailPageRequestFunctionsItemTrigger",
"SocialLookupEmailPageRequestResponseFormatType",
- "SocialLookupEmailPageRequestSelectedModel",
"SocialLookupEmailPageStatusResponse",
- "SpeechRecognitionRequestFunctionsItem",
- "SpeechRecognitionRequestFunctionsItemTrigger",
"SpeechRecognitionRequestOutputFormat",
"SpeechRecognitionRequestSelectedModel",
"SpeechRecognitionRequestTranslationModel",
"StreamError",
- "SynthesizeDataRequestFunctionsItem",
- "SynthesizeDataRequestFunctionsItemTrigger",
"SynthesizeDataRequestResponseFormatType",
"SynthesizeDataRequestSelectedAsrModel",
- "SynthesizeDataRequestSelectedModel",
"Text2AudioPageOutput",
- "Text2AudioPageRequestFunctionsItem",
- "Text2AudioPageRequestFunctionsItemTrigger",
"Text2AudioPageStatusResponse",
"TextToSpeechPageOutput",
- "TextToSpeechPageRequestFunctionsItem",
- "TextToSpeechPageRequestFunctionsItemTrigger",
"TextToSpeechPageRequestOpenaiTtsModel",
"TextToSpeechPageRequestOpenaiVoiceName",
"TextToSpeechPageRequestTtsProvider",
"TextToSpeechPageStatusResponse",
"TrainingDataModel",
- "TranslateRequestFunctionsItem",
- "TranslateRequestFunctionsItemTrigger",
"TranslateRequestSelectedModel",
"TranslationPageOutput",
"TranslationPageRequest",
- "TranslationPageRequestFunctionsItem",
- "TranslationPageRequestFunctionsItemTrigger",
"TranslationPageRequestSelectedModel",
"TranslationPageStatusResponse",
- "UpscaleRequestFunctionsItem",
- "UpscaleRequestFunctionsItemTrigger",
"UpscaleRequestSelectedModelsItem",
"ValidationError",
"ValidationErrorLocItem",
@@ -723,18 +484,11 @@
"VideoBotsPageRequestFunctionsItem",
"VideoBotsPageRequestFunctionsItemTrigger",
"VideoBotsPageRequestLipsyncModel",
- "VideoBotsPageRequestMessagesItem",
- "VideoBotsPageRequestMessagesItemContent",
- "VideoBotsPageRequestMessagesItemContentItem",
- "VideoBotsPageRequestMessagesItemContentItem_ImageUrl",
- "VideoBotsPageRequestMessagesItemContentItem_Text",
- "VideoBotsPageRequestMessagesItemRole",
"VideoBotsPageRequestOpenaiTtsModel",
"VideoBotsPageRequestOpenaiVoiceName",
"VideoBotsPageRequestResponseFormatType",
"VideoBotsPageRequestSadtalkerSettings",
"VideoBotsPageRequestSadtalkerSettingsPreprocess",
- "VideoBotsPageRequestSelectedModel",
"VideoBotsPageRequestTranslationModel",
"VideoBotsPageRequestTtsProvider",
"VideoBotsPageStatusResponse",
diff --git a/src/gooey/types/asr_page_request.py b/src/gooey/types/asr_page_request.py
index 6cd22a5..1d35181 100644
--- a/src/gooey/types/asr_page_request.py
+++ b/src/gooey/types/asr_page_request.py
@@ -2,7 +2,7 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .asr_page_request_functions_item import AsrPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
from .asr_page_request_selected_model import AsrPageRequestSelectedModel
from .asr_page_request_translation_model import AsrPageRequestTranslationModel
@@ -12,7 +12,7 @@
class AsrPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[AsrPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
diff --git a/src/gooey/types/asr_page_request_functions_item.py b/src/gooey/types/asr_page_request_functions_item.py
deleted file mode 100644
index 4b3e69d..0000000
--- a/src/gooey/types/asr_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .asr_page_request_functions_item_trigger import AsrPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class AsrPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: AsrPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/asr_page_request_functions_item_trigger.py b/src/gooey/types/asr_page_request_functions_item_trigger.py
deleted file mode 100644
index adf037c..0000000
--- a/src/gooey/types/asr_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-AsrPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/bulk_eval_page_request_agg_functions_item.py b/src/gooey/types/bulk_eval_page_request_agg_functions_item.py
deleted file mode 100644
index b7f5cd7..0000000
--- a/src/gooey/types/bulk_eval_page_request_agg_functions_item.py
+++ /dev/null
@@ -1,21 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-import typing
-from .bulk_eval_page_request_agg_functions_item_function import BulkEvalPageRequestAggFunctionsItemFunction
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import pydantic
-
-
-class BulkEvalPageRequestAggFunctionsItem(UniversalBaseModel):
- column: typing.Optional[str] = None
- function: BulkEvalPageRequestAggFunctionsItemFunction
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/bulk_eval_page_request_agg_functions_item_function.py b/src/gooey/types/bulk_eval_page_request_agg_functions_item_function.py
deleted file mode 100644
index cecef30..0000000
--- a/src/gooey/types/bulk_eval_page_request_agg_functions_item_function.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-BulkEvalPageRequestAggFunctionsItemFunction = typing.Union[
- typing.Literal[
- "mean",
- "median",
- "min",
- "max",
- "sum",
- "cumsum",
- "prod",
- "cumprod",
- "std",
- "var",
- "first",
- "last",
- "count",
- "cumcount",
- "nunique",
- "rank",
- ],
- typing.Any,
-]
diff --git a/src/gooey/types/bulk_eval_page_request_eval_prompts_item.py b/src/gooey/types/bulk_eval_page_request_eval_prompts_item.py
deleted file mode 100644
index 7d3956d..0000000
--- a/src/gooey/types/bulk_eval_page_request_eval_prompts_item.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-import pydantic
-
-
-class BulkEvalPageRequestEvalPromptsItem(UniversalBaseModel):
- name: str
- prompt: str
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/bulk_eval_page_request_functions_item.py b/src/gooey/types/bulk_eval_page_request_functions_item.py
deleted file mode 100644
index b89037c..0000000
--- a/src/gooey/types/bulk_eval_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .bulk_eval_page_request_functions_item_trigger import BulkEvalPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class BulkEvalPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: BulkEvalPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/bulk_eval_page_request_functions_item_trigger.py b/src/gooey/types/bulk_eval_page_request_functions_item_trigger.py
deleted file mode 100644
index f2726cc..0000000
--- a/src/gooey/types/bulk_eval_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-BulkEvalPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/bulk_eval_page_request_selected_model.py b/src/gooey/types/bulk_eval_page_request_selected_model.py
deleted file mode 100644
index 853cf33..0000000
--- a/src/gooey/types/bulk_eval_page_request_selected_model.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-BulkEvalPageRequestSelectedModel = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]
diff --git a/src/gooey/types/bulk_run_request_functions_item.py b/src/gooey/types/bulk_run_request_functions_item.py
deleted file mode 100644
index fd948fe..0000000
--- a/src/gooey/types/bulk_run_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .bulk_run_request_functions_item_trigger import BulkRunRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class BulkRunRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: BulkRunRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/bulk_run_request_functions_item_trigger.py b/src/gooey/types/bulk_run_request_functions_item_trigger.py
deleted file mode 100644
index e932588..0000000
--- a/src/gooey/types/bulk_run_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-BulkRunRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/bulk_runner_page_request.py b/src/gooey/types/bulk_runner_page_request.py
index 78f996c..a4129d9 100644
--- a/src/gooey/types/bulk_runner_page_request.py
+++ b/src/gooey/types/bulk_runner_page_request.py
@@ -2,14 +2,14 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .bulk_runner_page_request_functions_item import BulkRunnerPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
from .run_settings import RunSettings
from ..core.pydantic_utilities import IS_PYDANTIC_V2
class BulkRunnerPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[BulkRunnerPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
diff --git a/src/gooey/types/bulk_runner_page_request_functions_item.py b/src/gooey/types/bulk_runner_page_request_functions_item.py
deleted file mode 100644
index a0a1fd5..0000000
--- a/src/gooey/types/bulk_runner_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .bulk_runner_page_request_functions_item_trigger import BulkRunnerPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class BulkRunnerPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: BulkRunnerPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/bulk_runner_page_request_functions_item_trigger.py b/src/gooey/types/bulk_runner_page_request_functions_item_trigger.py
deleted file mode 100644
index e63024b..0000000
--- a/src/gooey/types/bulk_runner_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-BulkRunnerPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/chyron_plant_page_request.py b/src/gooey/types/chyron_plant_page_request.py
index c03c35a..e0733de 100644
--- a/src/gooey/types/chyron_plant_page_request.py
+++ b/src/gooey/types/chyron_plant_page_request.py
@@ -2,14 +2,14 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .chyron_plant_page_request_functions_item import ChyronPlantPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
from .run_settings import RunSettings
from ..core.pydantic_utilities import IS_PYDANTIC_V2
class ChyronPlantPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[ChyronPlantPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
diff --git a/src/gooey/types/chyron_plant_page_request_functions_item.py b/src/gooey/types/chyron_plant_page_request_functions_item.py
deleted file mode 100644
index 9e42d2c..0000000
--- a/src/gooey/types/chyron_plant_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .chyron_plant_page_request_functions_item_trigger import ChyronPlantPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class ChyronPlantPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: ChyronPlantPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/chyron_plant_page_request_functions_item_trigger.py b/src/gooey/types/chyron_plant_page_request_functions_item_trigger.py
deleted file mode 100644
index a260d69..0000000
--- a/src/gooey/types/chyron_plant_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-ChyronPlantPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/compare_llm_page_request_functions_item.py b/src/gooey/types/compare_llm_page_request_functions_item.py
deleted file mode 100644
index c30e9e4..0000000
--- a/src/gooey/types/compare_llm_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .compare_llm_page_request_functions_item_trigger import CompareLlmPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class CompareLlmPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: CompareLlmPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/compare_llm_page_request_functions_item_trigger.py b/src/gooey/types/compare_llm_page_request_functions_item_trigger.py
deleted file mode 100644
index 6c3fce3..0000000
--- a/src/gooey/types/compare_llm_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-CompareLlmPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/compare_llm_page_request_selected_models_item.py b/src/gooey/types/compare_llm_page_request_selected_models_item.py
deleted file mode 100644
index d3564b6..0000000
--- a/src/gooey/types/compare_llm_page_request_selected_models_item.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-CompareLlmPageRequestSelectedModelsItem = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]
diff --git a/src/gooey/types/compare_text2img_page_request_functions_item.py b/src/gooey/types/compare_text2img_page_request_functions_item.py
deleted file mode 100644
index ce23010..0000000
--- a/src/gooey/types/compare_text2img_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .compare_text2img_page_request_functions_item_trigger import CompareText2ImgPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class CompareText2ImgPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: CompareText2ImgPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/compare_text2img_page_request_functions_item_trigger.py b/src/gooey/types/compare_text2img_page_request_functions_item_trigger.py
deleted file mode 100644
index 31a6df3..0000000
--- a/src/gooey/types/compare_text2img_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-CompareText2ImgPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/compare_upscaler_page_request.py b/src/gooey/types/compare_upscaler_page_request.py
index 4c6c073..8cfb4e7 100644
--- a/src/gooey/types/compare_upscaler_page_request.py
+++ b/src/gooey/types/compare_upscaler_page_request.py
@@ -2,7 +2,7 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .compare_upscaler_page_request_functions_item import CompareUpscalerPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
from .compare_upscaler_page_request_selected_models_item import CompareUpscalerPageRequestSelectedModelsItem
from .run_settings import RunSettings
@@ -10,7 +10,7 @@
class CompareUpscalerPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[CompareUpscalerPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
diff --git a/src/gooey/types/compare_upscaler_page_request_functions_item.py b/src/gooey/types/compare_upscaler_page_request_functions_item.py
deleted file mode 100644
index 555f3be..0000000
--- a/src/gooey/types/compare_upscaler_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .compare_upscaler_page_request_functions_item_trigger import CompareUpscalerPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class CompareUpscalerPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: CompareUpscalerPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/compare_upscaler_page_request_functions_item_trigger.py b/src/gooey/types/compare_upscaler_page_request_functions_item_trigger.py
deleted file mode 100644
index 6d20867..0000000
--- a/src/gooey/types/compare_upscaler_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-CompareUpscalerPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/create_stream_request.py b/src/gooey/types/create_stream_request.py
index 70b1625..2d4745b 100644
--- a/src/gooey/types/create_stream_request.py
+++ b/src/gooey/types/create_stream_request.py
@@ -6,7 +6,7 @@
from .button_pressed import ButtonPressed
from .recipe_function import RecipeFunction
from .conversation_entry import ConversationEntry
-from .create_stream_request_selected_model import CreateStreamRequestSelectedModel
+from .large_language_models import LargeLanguageModels
from .create_stream_request_embedding_model import CreateStreamRequestEmbeddingModel
from .create_stream_request_citation_style import CreateStreamRequestCitationStyle
from .create_stream_request_asr_model import CreateStreamRequestAsrModel
@@ -72,7 +72,7 @@ class CreateStreamRequest(UniversalBaseModel):
messages: typing.Optional[typing.List[ConversationEntry]] = None
bot_script: typing.Optional[str] = None
- selected_model: typing.Optional[CreateStreamRequestSelectedModel] = None
+ selected_model: typing.Optional[LargeLanguageModels] = None
document_model: typing.Optional[str] = pydantic.Field(default=None)
"""
When your copilot users upload a photo or pdf, what kind of document are they mostly likely to upload? (via [Azure](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/use-sdk-rest-api?view=doc-intel-3.1.0&tabs=linux&pivots=programming-language-rest-api))
diff --git a/src/gooey/types/create_stream_request_selected_model.py b/src/gooey/types/create_stream_request_selected_model.py
deleted file mode 100644
index 7227a94..0000000
--- a/src/gooey/types/create_stream_request_selected_model.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-CreateStreamRequestSelectedModel = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]
diff --git a/src/gooey/types/deforum_sd_page_request_animation_prompts_item.py b/src/gooey/types/deforum_sd_page_request_animation_prompts_item.py
deleted file mode 100644
index fedd42c..0000000
--- a/src/gooey/types/deforum_sd_page_request_animation_prompts_item.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-import pydantic
-
-
-class DeforumSdPageRequestAnimationPromptsItem(UniversalBaseModel):
- frame: str
- prompt: str
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/deforum_sd_page_request_functions_item.py b/src/gooey/types/deforum_sd_page_request_functions_item.py
deleted file mode 100644
index d8b171d..0000000
--- a/src/gooey/types/deforum_sd_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .deforum_sd_page_request_functions_item_trigger import DeforumSdPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class DeforumSdPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: DeforumSdPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/deforum_sd_page_request_functions_item_trigger.py b/src/gooey/types/deforum_sd_page_request_functions_item_trigger.py
deleted file mode 100644
index 8dce880..0000000
--- a/src/gooey/types/deforum_sd_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-DeforumSdPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/doc_extract_page_request.py b/src/gooey/types/doc_extract_page_request.py
index 4a9b0a4..9690c6c 100644
--- a/src/gooey/types/doc_extract_page_request.py
+++ b/src/gooey/types/doc_extract_page_request.py
@@ -2,17 +2,17 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .doc_extract_page_request_functions_item import DocExtractPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
from .doc_extract_page_request_selected_asr_model import DocExtractPageRequestSelectedAsrModel
-from .doc_extract_page_request_selected_model import DocExtractPageRequestSelectedModel
+from .large_language_models import LargeLanguageModels
from .doc_extract_page_request_response_format_type import DocExtractPageRequestResponseFormatType
from .run_settings import RunSettings
from ..core.pydantic_utilities import IS_PYDANTIC_V2
class DocExtractPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[DocExtractPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -24,7 +24,7 @@ class DocExtractPageRequest(UniversalBaseModel):
google_translate_target: typing.Optional[str] = None
glossary_document: typing.Optional[str] = None
task_instructions: typing.Optional[str] = None
- selected_model: typing.Optional[DocExtractPageRequestSelectedModel] = None
+ selected_model: typing.Optional[LargeLanguageModels] = None
avoid_repetition: typing.Optional[bool] = None
num_outputs: typing.Optional[int] = None
quality: typing.Optional[float] = None
diff --git a/src/gooey/types/doc_extract_page_request_functions_item.py b/src/gooey/types/doc_extract_page_request_functions_item.py
deleted file mode 100644
index 178e55c..0000000
--- a/src/gooey/types/doc_extract_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .doc_extract_page_request_functions_item_trigger import DocExtractPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class DocExtractPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: DocExtractPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/doc_extract_page_request_functions_item_trigger.py b/src/gooey/types/doc_extract_page_request_functions_item_trigger.py
deleted file mode 100644
index f80f6ac..0000000
--- a/src/gooey/types/doc_extract_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-DocExtractPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/doc_extract_page_request_selected_model.py b/src/gooey/types/doc_extract_page_request_selected_model.py
deleted file mode 100644
index 1872929..0000000
--- a/src/gooey/types/doc_extract_page_request_selected_model.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-DocExtractPageRequestSelectedModel = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]
diff --git a/src/gooey/types/doc_search_page_request_functions_item.py b/src/gooey/types/doc_search_page_request_functions_item.py
deleted file mode 100644
index 5589d3c..0000000
--- a/src/gooey/types/doc_search_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .doc_search_page_request_functions_item_trigger import DocSearchPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class DocSearchPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: DocSearchPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/doc_search_page_request_functions_item_trigger.py b/src/gooey/types/doc_search_page_request_functions_item_trigger.py
deleted file mode 100644
index 81cfbc8..0000000
--- a/src/gooey/types/doc_search_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-DocSearchPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/doc_search_page_request_selected_model.py b/src/gooey/types/doc_search_page_request_selected_model.py
deleted file mode 100644
index 3b793b6..0000000
--- a/src/gooey/types/doc_search_page_request_selected_model.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-DocSearchPageRequestSelectedModel = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]
diff --git a/src/gooey/types/doc_summary_page_request.py b/src/gooey/types/doc_summary_page_request.py
index cc657a9..466ddc1 100644
--- a/src/gooey/types/doc_summary_page_request.py
+++ b/src/gooey/types/doc_summary_page_request.py
@@ -2,9 +2,9 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .doc_summary_page_request_functions_item import DocSummaryPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
-from .doc_summary_page_request_selected_model import DocSummaryPageRequestSelectedModel
+from .large_language_models import LargeLanguageModels
from .doc_summary_page_request_selected_asr_model import DocSummaryPageRequestSelectedAsrModel
from .doc_summary_page_request_response_format_type import DocSummaryPageRequestResponseFormatType
from .run_settings import RunSettings
@@ -12,7 +12,7 @@
class DocSummaryPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[DocSummaryPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -21,7 +21,7 @@ class DocSummaryPageRequest(UniversalBaseModel):
documents: typing.List[str]
task_instructions: typing.Optional[str] = None
merge_instructions: typing.Optional[str] = None
- selected_model: typing.Optional[DocSummaryPageRequestSelectedModel] = None
+ selected_model: typing.Optional[LargeLanguageModels] = None
chain_type: typing.Optional[typing.Literal["map_reduce"]] = None
selected_asr_model: typing.Optional[DocSummaryPageRequestSelectedAsrModel] = None
google_translate_target: typing.Optional[str] = None
diff --git a/src/gooey/types/doc_summary_page_request_functions_item.py b/src/gooey/types/doc_summary_page_request_functions_item.py
deleted file mode 100644
index 164dde2..0000000
--- a/src/gooey/types/doc_summary_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .doc_summary_page_request_functions_item_trigger import DocSummaryPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class DocSummaryPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: DocSummaryPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/doc_summary_page_request_functions_item_trigger.py b/src/gooey/types/doc_summary_page_request_functions_item_trigger.py
deleted file mode 100644
index 66b8074..0000000
--- a/src/gooey/types/doc_summary_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-DocSummaryPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/doc_summary_page_request_selected_model.py b/src/gooey/types/doc_summary_page_request_selected_model.py
deleted file mode 100644
index 6da70f6..0000000
--- a/src/gooey/types/doc_summary_page_request_selected_model.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-DocSummaryPageRequestSelectedModel = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]
diff --git a/src/gooey/types/doc_summary_request_functions_item.py b/src/gooey/types/doc_summary_request_functions_item.py
deleted file mode 100644
index b3b893b..0000000
--- a/src/gooey/types/doc_summary_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .doc_summary_request_functions_item_trigger import DocSummaryRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class DocSummaryRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: DocSummaryRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/doc_summary_request_functions_item_trigger.py b/src/gooey/types/doc_summary_request_functions_item_trigger.py
deleted file mode 100644
index 482357f..0000000
--- a/src/gooey/types/doc_summary_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-DocSummaryRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/email_face_inpainting_page_request_functions_item.py b/src/gooey/types/email_face_inpainting_page_request_functions_item.py
deleted file mode 100644
index cee7dbd..0000000
--- a/src/gooey/types/email_face_inpainting_page_request_functions_item.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .email_face_inpainting_page_request_functions_item_trigger import (
- EmailFaceInpaintingPageRequestFunctionsItemTrigger,
-)
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class EmailFaceInpaintingPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: EmailFaceInpaintingPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/email_face_inpainting_page_request_functions_item_trigger.py b/src/gooey/types/email_face_inpainting_page_request_functions_item_trigger.py
deleted file mode 100644
index 5ed78eb..0000000
--- a/src/gooey/types/email_face_inpainting_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-EmailFaceInpaintingPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/embeddings_page_request_functions_item.py b/src/gooey/types/embeddings_page_request_functions_item.py
deleted file mode 100644
index 3a58b4a..0000000
--- a/src/gooey/types/embeddings_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .embeddings_page_request_functions_item_trigger import EmbeddingsPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class EmbeddingsPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: EmbeddingsPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/embeddings_page_request_functions_item_trigger.py b/src/gooey/types/embeddings_page_request_functions_item_trigger.py
deleted file mode 100644
index 1e03d0b..0000000
--- a/src/gooey/types/embeddings_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-EmbeddingsPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/face_inpainting_page_request.py b/src/gooey/types/face_inpainting_page_request.py
index 79b7b1b..a653205 100644
--- a/src/gooey/types/face_inpainting_page_request.py
+++ b/src/gooey/types/face_inpainting_page_request.py
@@ -2,7 +2,7 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .face_inpainting_page_request_functions_item import FaceInpaintingPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
from .face_inpainting_page_request_selected_model import FaceInpaintingPageRequestSelectedModel
from .run_settings import RunSettings
@@ -10,7 +10,7 @@
class FaceInpaintingPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[FaceInpaintingPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
diff --git a/src/gooey/types/face_inpainting_page_request_functions_item.py b/src/gooey/types/face_inpainting_page_request_functions_item.py
deleted file mode 100644
index 56e47b0..0000000
--- a/src/gooey/types/face_inpainting_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .face_inpainting_page_request_functions_item_trigger import FaceInpaintingPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class FaceInpaintingPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: FaceInpaintingPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/face_inpainting_page_request_functions_item_trigger.py b/src/gooey/types/face_inpainting_page_request_functions_item_trigger.py
deleted file mode 100644
index 87301c5..0000000
--- a/src/gooey/types/face_inpainting_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-FaceInpaintingPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/google_gpt_page_request_functions_item.py b/src/gooey/types/google_gpt_page_request_functions_item.py
deleted file mode 100644
index 6339fa4..0000000
--- a/src/gooey/types/google_gpt_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .google_gpt_page_request_functions_item_trigger import GoogleGptPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class GoogleGptPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: GoogleGptPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/google_gpt_page_request_functions_item_trigger.py b/src/gooey/types/google_gpt_page_request_functions_item_trigger.py
deleted file mode 100644
index 1012309..0000000
--- a/src/gooey/types/google_gpt_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-GoogleGptPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/google_gpt_page_request_selected_model.py b/src/gooey/types/google_gpt_page_request_selected_model.py
deleted file mode 100644
index 719ae61..0000000
--- a/src/gooey/types/google_gpt_page_request_selected_model.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-GoogleGptPageRequestSelectedModel = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]
diff --git a/src/gooey/types/google_image_gen_page_request_functions_item.py b/src/gooey/types/google_image_gen_page_request_functions_item.py
deleted file mode 100644
index b5d99e7..0000000
--- a/src/gooey/types/google_image_gen_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .google_image_gen_page_request_functions_item_trigger import GoogleImageGenPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class GoogleImageGenPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: GoogleImageGenPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/google_image_gen_page_request_functions_item_trigger.py b/src/gooey/types/google_image_gen_page_request_functions_item_trigger.py
deleted file mode 100644
index 0637b1e..0000000
--- a/src/gooey/types/google_image_gen_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-GoogleImageGenPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/image_segmentation_page_request.py b/src/gooey/types/image_segmentation_page_request.py
index ffc2606..a2ea60d 100644
--- a/src/gooey/types/image_segmentation_page_request.py
+++ b/src/gooey/types/image_segmentation_page_request.py
@@ -2,7 +2,7 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .image_segmentation_page_request_functions_item import ImageSegmentationPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
from .image_segmentation_page_request_selected_model import ImageSegmentationPageRequestSelectedModel
from .run_settings import RunSettings
@@ -10,7 +10,7 @@
class ImageSegmentationPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[ImageSegmentationPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
diff --git a/src/gooey/types/image_segmentation_page_request_functions_item.py b/src/gooey/types/image_segmentation_page_request_functions_item.py
deleted file mode 100644
index e8f0607..0000000
--- a/src/gooey/types/image_segmentation_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .image_segmentation_page_request_functions_item_trigger import ImageSegmentationPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class ImageSegmentationPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: ImageSegmentationPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/image_segmentation_page_request_functions_item_trigger.py b/src/gooey/types/image_segmentation_page_request_functions_item_trigger.py
deleted file mode 100644
index f27b327..0000000
--- a/src/gooey/types/image_segmentation_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-ImageSegmentationPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/img2img_page_request.py b/src/gooey/types/img2img_page_request.py
index 980aa47..f3cfd2f 100644
--- a/src/gooey/types/img2img_page_request.py
+++ b/src/gooey/types/img2img_page_request.py
@@ -2,7 +2,7 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .img2img_page_request_functions_item import Img2ImgPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
from .img2img_page_request_selected_model import Img2ImgPageRequestSelectedModel
from .img2img_page_request_selected_controlnet_model import Img2ImgPageRequestSelectedControlnetModel
@@ -11,7 +11,7 @@
class Img2ImgPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[Img2ImgPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
diff --git a/src/gooey/types/img2img_page_request_functions_item.py b/src/gooey/types/img2img_page_request_functions_item.py
deleted file mode 100644
index 96bc64b..0000000
--- a/src/gooey/types/img2img_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .img2img_page_request_functions_item_trigger import Img2ImgPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class Img2ImgPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: Img2ImgPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/img2img_page_request_functions_item_trigger.py b/src/gooey/types/img2img_page_request_functions_item_trigger.py
deleted file mode 100644
index be448b1..0000000
--- a/src/gooey/types/img2img_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-Img2ImgPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/doc_summary_request_selected_model.py b/src/gooey/types/large_language_models.py
similarity index 96%
rename from src/gooey/types/doc_summary_request_selected_model.py
rename to src/gooey/types/large_language_models.py
index db13c45..0e66b04 100644
--- a/src/gooey/types/doc_summary_request_selected_model.py
+++ b/src/gooey/types/large_language_models.py
@@ -2,7 +2,7 @@
import typing
-DocSummaryRequestSelectedModel = typing.Union[
+LargeLanguageModels = typing.Union[
typing.Literal[
"gpt_4_o",
"gpt_4_o_mini",
diff --git a/src/gooey/types/letter_writer_page_request.py b/src/gooey/types/letter_writer_page_request.py
index 8a7dab4..5706083 100644
--- a/src/gooey/types/letter_writer_page_request.py
+++ b/src/gooey/types/letter_writer_page_request.py
@@ -2,15 +2,15 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .letter_writer_page_request_functions_item import LetterWriterPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
-from .letter_writer_page_request_example_letters_item import LetterWriterPageRequestExampleLettersItem
+from .training_data_model import TrainingDataModel
from .run_settings import RunSettings
from ..core.pydantic_utilities import IS_PYDANTIC_V2
class LetterWriterPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[LetterWriterPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -18,7 +18,7 @@ class LetterWriterPageRequest(UniversalBaseModel):
action_id: str
prompt_header: typing.Optional[str] = None
- example_letters: typing.Optional[typing.List[LetterWriterPageRequestExampleLettersItem]] = None
+ example_letters: typing.Optional[typing.List[TrainingDataModel]] = None
lm_selected_api: typing.Optional[str] = None
lm_selected_engine: typing.Optional[str] = None
num_outputs: typing.Optional[int] = None
diff --git a/src/gooey/types/letter_writer_page_request_example_letters_item.py b/src/gooey/types/letter_writer_page_request_example_letters_item.py
deleted file mode 100644
index 20ecac1..0000000
--- a/src/gooey/types/letter_writer_page_request_example_letters_item.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-import pydantic
-
-
-class LetterWriterPageRequestExampleLettersItem(UniversalBaseModel):
- prompt: str
- completion: str
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/letter_writer_page_request_functions_item.py b/src/gooey/types/letter_writer_page_request_functions_item.py
deleted file mode 100644
index 034066d..0000000
--- a/src/gooey/types/letter_writer_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .letter_writer_page_request_functions_item_trigger import LetterWriterPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class LetterWriterPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: LetterWriterPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/letter_writer_page_request_functions_item_trigger.py b/src/gooey/types/letter_writer_page_request_functions_item_trigger.py
deleted file mode 100644
index 49b7234..0000000
--- a/src/gooey/types/letter_writer_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-LetterWriterPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/lipsync_page_request.py b/src/gooey/types/lipsync_page_request.py
index a99de87..2914a1e 100644
--- a/src/gooey/types/lipsync_page_request.py
+++ b/src/gooey/types/lipsync_page_request.py
@@ -2,16 +2,16 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .lipsync_page_request_functions_item import LipsyncPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
-from .lipsync_page_request_sadtalker_settings import LipsyncPageRequestSadtalkerSettings
+from .sad_talker_settings import SadTalkerSettings
from .lipsync_page_request_selected_model import LipsyncPageRequestSelectedModel
from .run_settings import RunSettings
from ..core.pydantic_utilities import IS_PYDANTIC_V2
class LipsyncPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[LipsyncPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -22,7 +22,7 @@ class LipsyncPageRequest(UniversalBaseModel):
face_padding_bottom: typing.Optional[int] = None
face_padding_left: typing.Optional[int] = None
face_padding_right: typing.Optional[int] = None
- sadtalker_settings: typing.Optional[LipsyncPageRequestSadtalkerSettings] = None
+ sadtalker_settings: typing.Optional[SadTalkerSettings] = None
selected_model: typing.Optional[LipsyncPageRequestSelectedModel] = None
input_audio: typing.Optional[str] = None
settings: typing.Optional[RunSettings] = None
diff --git a/src/gooey/types/lipsync_page_request_functions_item.py b/src/gooey/types/lipsync_page_request_functions_item.py
deleted file mode 100644
index 330b29c..0000000
--- a/src/gooey/types/lipsync_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .lipsync_page_request_functions_item_trigger import LipsyncPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class LipsyncPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: LipsyncPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/lipsync_page_request_functions_item_trigger.py b/src/gooey/types/lipsync_page_request_functions_item_trigger.py
deleted file mode 100644
index 4b4ff8d..0000000
--- a/src/gooey/types/lipsync_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-LipsyncPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/lipsync_page_request_sadtalker_settings.py b/src/gooey/types/lipsync_page_request_sadtalker_settings.py
deleted file mode 100644
index 99f993c..0000000
--- a/src/gooey/types/lipsync_page_request_sadtalker_settings.py
+++ /dev/null
@@ -1,40 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-import typing
-from .lipsync_page_request_sadtalker_settings_preprocess import LipsyncPageRequestSadtalkerSettingsPreprocess
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-
-
-class LipsyncPageRequestSadtalkerSettings(UniversalBaseModel):
- still: typing.Optional[bool] = None
- preprocess: typing.Optional[LipsyncPageRequestSadtalkerSettingsPreprocess] = pydantic.Field(default=None)
- """
- SadTalker only generates 512x512 output. 'crop' handles this by cropping the input to 512x512. 'resize' scales down the input to fit 512x512 and scales it back up after lipsyncing (does not work well for full person images, better for portraits). 'full' processes the cropped region and pastes it back into the original input. 'extcrop' and 'extfull' are similar to 'crop' and 'full' but with extended cropping.
- """
-
- pose_style: typing.Optional[int] = pydantic.Field(default=None)
- """
- Random seed 0-45 inclusive that affects how the pose is animated.
- """
-
- expression_scale: typing.Optional[float] = pydantic.Field(default=None)
- """
- Scale the amount of expression motion. 1.0 is normal, 0.5 is very reduced, and 2.0 is quite a lot.
- """
-
- ref_eyeblink: typing.Optional[str] = None
- ref_pose: typing.Optional[str] = None
- input_yaw: typing.Optional[typing.List[int]] = None
- input_pitch: typing.Optional[typing.List[int]] = None
- input_roll: typing.Optional[typing.List[int]] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/lipsync_page_request_sadtalker_settings_preprocess.py b/src/gooey/types/lipsync_page_request_sadtalker_settings_preprocess.py
deleted file mode 100644
index 32c814a..0000000
--- a/src/gooey/types/lipsync_page_request_sadtalker_settings_preprocess.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-LipsyncPageRequestSadtalkerSettingsPreprocess = typing.Union[
- typing.Literal["crop", "extcrop", "resize", "full", "extfull"], typing.Any
-]
diff --git a/src/gooey/types/lipsync_request_functions_item.py b/src/gooey/types/lipsync_request_functions_item.py
deleted file mode 100644
index 0ac74de..0000000
--- a/src/gooey/types/lipsync_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .lipsync_request_functions_item_trigger import LipsyncRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class LipsyncRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: LipsyncRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/lipsync_request_functions_item_trigger.py b/src/gooey/types/lipsync_request_functions_item_trigger.py
deleted file mode 100644
index ee6b518..0000000
--- a/src/gooey/types/lipsync_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-LipsyncRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/lipsync_request_sadtalker_settings.py b/src/gooey/types/lipsync_request_sadtalker_settings.py
deleted file mode 100644
index affdb1e..0000000
--- a/src/gooey/types/lipsync_request_sadtalker_settings.py
+++ /dev/null
@@ -1,40 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-import typing
-from .lipsync_request_sadtalker_settings_preprocess import LipsyncRequestSadtalkerSettingsPreprocess
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-
-
-class LipsyncRequestSadtalkerSettings(UniversalBaseModel):
- still: typing.Optional[bool] = None
- preprocess: typing.Optional[LipsyncRequestSadtalkerSettingsPreprocess] = pydantic.Field(default=None)
- """
- SadTalker only generates 512x512 output. 'crop' handles this by cropping the input to 512x512. 'resize' scales down the input to fit 512x512 and scales it back up after lipsyncing (does not work well for full person images, better for portraits). 'full' processes the cropped region and pastes it back into the original input. 'extcrop' and 'extfull' are similar to 'crop' and 'full' but with extended cropping.
- """
-
- pose_style: typing.Optional[int] = pydantic.Field(default=None)
- """
- Random seed 0-45 inclusive that affects how the pose is animated.
- """
-
- expression_scale: typing.Optional[float] = pydantic.Field(default=None)
- """
- Scale the amount of expression motion. 1.0 is normal, 0.5 is very reduced, and 2.0 is quite a lot.
- """
-
- ref_eyeblink: typing.Optional[str] = None
- ref_pose: typing.Optional[str] = None
- input_yaw: typing.Optional[typing.List[int]] = None
- input_pitch: typing.Optional[typing.List[int]] = None
- input_roll: typing.Optional[typing.List[int]] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/lipsync_request_sadtalker_settings_preprocess.py b/src/gooey/types/lipsync_request_sadtalker_settings_preprocess.py
deleted file mode 100644
index 42be9c8..0000000
--- a/src/gooey/types/lipsync_request_sadtalker_settings_preprocess.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-LipsyncRequestSadtalkerSettingsPreprocess = typing.Union[
- typing.Literal["crop", "extcrop", "resize", "full", "extfull"], typing.Any
-]
diff --git a/src/gooey/types/lipsync_tts_page_request.py b/src/gooey/types/lipsync_tts_page_request.py
index 97d1379..f4f5293 100644
--- a/src/gooey/types/lipsync_tts_page_request.py
+++ b/src/gooey/types/lipsync_tts_page_request.py
@@ -2,19 +2,19 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .lipsync_tts_page_request_functions_item import LipsyncTtsPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
from .lipsync_tts_page_request_tts_provider import LipsyncTtsPageRequestTtsProvider
from .lipsync_tts_page_request_openai_voice_name import LipsyncTtsPageRequestOpenaiVoiceName
from .lipsync_tts_page_request_openai_tts_model import LipsyncTtsPageRequestOpenaiTtsModel
-from .lipsync_tts_page_request_sadtalker_settings import LipsyncTtsPageRequestSadtalkerSettings
+from .sad_talker_settings import SadTalkerSettings
from .lipsync_tts_page_request_selected_model import LipsyncTtsPageRequestSelectedModel
from .run_settings import RunSettings
from ..core.pydantic_utilities import IS_PYDANTIC_V2
class LipsyncTtsPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[LipsyncTtsPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -48,7 +48,7 @@ class LipsyncTtsPageRequest(UniversalBaseModel):
face_padding_bottom: typing.Optional[int] = None
face_padding_left: typing.Optional[int] = None
face_padding_right: typing.Optional[int] = None
- sadtalker_settings: typing.Optional[LipsyncTtsPageRequestSadtalkerSettings] = None
+ sadtalker_settings: typing.Optional[SadTalkerSettings] = None
selected_model: typing.Optional[LipsyncTtsPageRequestSelectedModel] = None
settings: typing.Optional[RunSettings] = None
diff --git a/src/gooey/types/lipsync_tts_page_request_functions_item.py b/src/gooey/types/lipsync_tts_page_request_functions_item.py
deleted file mode 100644
index 7557dd6..0000000
--- a/src/gooey/types/lipsync_tts_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .lipsync_tts_page_request_functions_item_trigger import LipsyncTtsPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class LipsyncTtsPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: LipsyncTtsPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/lipsync_tts_page_request_functions_item_trigger.py b/src/gooey/types/lipsync_tts_page_request_functions_item_trigger.py
deleted file mode 100644
index 0502725..0000000
--- a/src/gooey/types/lipsync_tts_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-LipsyncTtsPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/lipsync_tts_page_request_sadtalker_settings.py b/src/gooey/types/lipsync_tts_page_request_sadtalker_settings.py
deleted file mode 100644
index eaeb372..0000000
--- a/src/gooey/types/lipsync_tts_page_request_sadtalker_settings.py
+++ /dev/null
@@ -1,40 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-import typing
-from .lipsync_tts_page_request_sadtalker_settings_preprocess import LipsyncTtsPageRequestSadtalkerSettingsPreprocess
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-
-
-class LipsyncTtsPageRequestSadtalkerSettings(UniversalBaseModel):
- still: typing.Optional[bool] = None
- preprocess: typing.Optional[LipsyncTtsPageRequestSadtalkerSettingsPreprocess] = pydantic.Field(default=None)
- """
- SadTalker only generates 512x512 output. 'crop' handles this by cropping the input to 512x512. 'resize' scales down the input to fit 512x512 and scales it back up after lipsyncing (does not work well for full person images, better for portraits). 'full' processes the cropped region and pastes it back into the original input. 'extcrop' and 'extfull' are similar to 'crop' and 'full' but with extended cropping.
- """
-
- pose_style: typing.Optional[int] = pydantic.Field(default=None)
- """
- Random seed 0-45 inclusive that affects how the pose is animated.
- """
-
- expression_scale: typing.Optional[float] = pydantic.Field(default=None)
- """
- Scale the amount of expression motion. 1.0 is normal, 0.5 is very reduced, and 2.0 is quite a lot.
- """
-
- ref_eyeblink: typing.Optional[str] = None
- ref_pose: typing.Optional[str] = None
- input_yaw: typing.Optional[typing.List[int]] = None
- input_pitch: typing.Optional[typing.List[int]] = None
- input_roll: typing.Optional[typing.List[int]] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/lipsync_tts_page_request_sadtalker_settings_preprocess.py b/src/gooey/types/lipsync_tts_page_request_sadtalker_settings_preprocess.py
deleted file mode 100644
index 02b229c..0000000
--- a/src/gooey/types/lipsync_tts_page_request_sadtalker_settings_preprocess.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-LipsyncTtsPageRequestSadtalkerSettingsPreprocess = typing.Union[
- typing.Literal["crop", "extcrop", "resize", "full", "extfull"], typing.Any
-]
diff --git a/src/gooey/types/lipsync_tts_request_functions_item.py b/src/gooey/types/lipsync_tts_request_functions_item.py
deleted file mode 100644
index 566c643..0000000
--- a/src/gooey/types/lipsync_tts_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .lipsync_tts_request_functions_item_trigger import LipsyncTtsRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class LipsyncTtsRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: LipsyncTtsRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/lipsync_tts_request_functions_item_trigger.py b/src/gooey/types/lipsync_tts_request_functions_item_trigger.py
deleted file mode 100644
index c31400f..0000000
--- a/src/gooey/types/lipsync_tts_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-LipsyncTtsRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/lipsync_tts_request_sadtalker_settings.py b/src/gooey/types/lipsync_tts_request_sadtalker_settings.py
deleted file mode 100644
index e7a4abb..0000000
--- a/src/gooey/types/lipsync_tts_request_sadtalker_settings.py
+++ /dev/null
@@ -1,40 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-import typing
-from .lipsync_tts_request_sadtalker_settings_preprocess import LipsyncTtsRequestSadtalkerSettingsPreprocess
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-
-
-class LipsyncTtsRequestSadtalkerSettings(UniversalBaseModel):
- still: typing.Optional[bool] = None
- preprocess: typing.Optional[LipsyncTtsRequestSadtalkerSettingsPreprocess] = pydantic.Field(default=None)
- """
- SadTalker only generates 512x512 output. 'crop' handles this by cropping the input to 512x512. 'resize' scales down the input to fit 512x512 and scales it back up after lipsyncing (does not work well for full person images, better for portraits). 'full' processes the cropped region and pastes it back into the original input. 'extcrop' and 'extfull' are similar to 'crop' and 'full' but with extended cropping.
- """
-
- pose_style: typing.Optional[int] = pydantic.Field(default=None)
- """
- Random seed 0-45 inclusive that affects how the pose is animated.
- """
-
- expression_scale: typing.Optional[float] = pydantic.Field(default=None)
- """
- Scale the amount of expression motion. 1.0 is normal, 0.5 is very reduced, and 2.0 is quite a lot.
- """
-
- ref_eyeblink: typing.Optional[str] = None
- ref_pose: typing.Optional[str] = None
- input_yaw: typing.Optional[typing.List[int]] = None
- input_pitch: typing.Optional[typing.List[int]] = None
- input_roll: typing.Optional[typing.List[int]] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/lipsync_tts_request_sadtalker_settings_preprocess.py b/src/gooey/types/lipsync_tts_request_sadtalker_settings_preprocess.py
deleted file mode 100644
index 10ee6d5..0000000
--- a/src/gooey/types/lipsync_tts_request_sadtalker_settings_preprocess.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-LipsyncTtsRequestSadtalkerSettingsPreprocess = typing.Union[
- typing.Literal["crop", "extcrop", "resize", "full", "extfull"], typing.Any
-]
diff --git a/src/gooey/types/object_inpainting_page_request.py b/src/gooey/types/object_inpainting_page_request.py
index 3757017..50b5b72 100644
--- a/src/gooey/types/object_inpainting_page_request.py
+++ b/src/gooey/types/object_inpainting_page_request.py
@@ -2,7 +2,7 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .object_inpainting_page_request_functions_item import ObjectInpaintingPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
from .object_inpainting_page_request_selected_model import ObjectInpaintingPageRequestSelectedModel
from .run_settings import RunSettings
@@ -10,7 +10,7 @@
class ObjectInpaintingPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[ObjectInpaintingPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
diff --git a/src/gooey/types/object_inpainting_page_request_functions_item.py b/src/gooey/types/object_inpainting_page_request_functions_item.py
deleted file mode 100644
index 17d230e..0000000
--- a/src/gooey/types/object_inpainting_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .object_inpainting_page_request_functions_item_trigger import ObjectInpaintingPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class ObjectInpaintingPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: ObjectInpaintingPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/object_inpainting_page_request_functions_item_trigger.py b/src/gooey/types/object_inpainting_page_request_functions_item_trigger.py
deleted file mode 100644
index 6412226..0000000
--- a/src/gooey/types/object_inpainting_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-ObjectInpaintingPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/portrait_request_functions_item.py b/src/gooey/types/portrait_request_functions_item.py
deleted file mode 100644
index 697af03..0000000
--- a/src/gooey/types/portrait_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .portrait_request_functions_item_trigger import PortraitRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class PortraitRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: PortraitRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/portrait_request_functions_item_trigger.py b/src/gooey/types/portrait_request_functions_item_trigger.py
deleted file mode 100644
index 3311280..0000000
--- a/src/gooey/types/portrait_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-PortraitRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/product_image_request_functions_item.py b/src/gooey/types/product_image_request_functions_item.py
deleted file mode 100644
index edf0725..0000000
--- a/src/gooey/types/product_image_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .product_image_request_functions_item_trigger import ProductImageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class ProductImageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: ProductImageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/product_image_request_functions_item_trigger.py b/src/gooey/types/product_image_request_functions_item_trigger.py
deleted file mode 100644
index 126411b..0000000
--- a/src/gooey/types/product_image_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-ProductImageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/qr_code_generator_page_request.py b/src/gooey/types/qr_code_generator_page_request.py
index f411ce1..68f3730 100644
--- a/src/gooey/types/qr_code_generator_page_request.py
+++ b/src/gooey/types/qr_code_generator_page_request.py
@@ -2,9 +2,9 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .qr_code_generator_page_request_functions_item import QrCodeGeneratorPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
-from .qr_code_generator_page_request_qr_code_vcard import QrCodeGeneratorPageRequestQrCodeVcard
+from .vcard import Vcard
from .qr_code_generator_page_request_image_prompt_controlnet_models_item import (
QrCodeGeneratorPageRequestImagePromptControlnetModelsItem,
)
@@ -18,7 +18,7 @@
class QrCodeGeneratorPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[QrCodeGeneratorPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
@@ -26,7 +26,7 @@ class QrCodeGeneratorPageRequest(UniversalBaseModel):
qr_code_data: typing.Optional[str] = None
qr_code_input_image: typing.Optional[str] = None
- qr_code_vcard: typing.Optional[QrCodeGeneratorPageRequestQrCodeVcard] = None
+ qr_code_vcard: typing.Optional[Vcard] = None
qr_code_file: typing.Optional[str] = None
use_url_shortener: typing.Optional[bool] = None
text_prompt: str
diff --git a/src/gooey/types/qr_code_generator_page_request_functions_item.py b/src/gooey/types/qr_code_generator_page_request_functions_item.py
deleted file mode 100644
index bfa8fc1..0000000
--- a/src/gooey/types/qr_code_generator_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .qr_code_generator_page_request_functions_item_trigger import QrCodeGeneratorPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class QrCodeGeneratorPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: QrCodeGeneratorPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/qr_code_generator_page_request_functions_item_trigger.py b/src/gooey/types/qr_code_generator_page_request_functions_item_trigger.py
deleted file mode 100644
index af392bc..0000000
--- a/src/gooey/types/qr_code_generator_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-QrCodeGeneratorPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/qr_code_generator_page_request_qr_code_vcard.py b/src/gooey/types/qr_code_generator_page_request_qr_code_vcard.py
deleted file mode 100644
index 956b8c1..0000000
--- a/src/gooey/types/qr_code_generator_page_request_qr_code_vcard.py
+++ /dev/null
@@ -1,44 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-import typing
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import pydantic
-
-
-class QrCodeGeneratorPageRequestQrCodeVcard(UniversalBaseModel):
- format_name: str
- email: typing.Optional[str] = None
- gender: typing.Optional[str] = None
- birthday_year: typing.Optional[int] = None
- birthday_month: typing.Optional[int] = None
- birthday_day: typing.Optional[int] = None
- family_name: typing.Optional[str] = None
- given_name: typing.Optional[str] = None
- middle_names: typing.Optional[str] = None
- honorific_prefixes: typing.Optional[str] = None
- honorific_suffixes: typing.Optional[str] = None
- impp: typing.Optional[str] = None
- address: typing.Optional[str] = None
- calendar_url: typing.Optional[str] = None
- comma_separated_categories: typing.Optional[str] = None
- kind: typing.Optional[str] = None
- language: typing.Optional[str] = None
- organization: typing.Optional[str] = None
- photo_url: typing.Optional[str] = None
- logo_url: typing.Optional[str] = None
- role: typing.Optional[str] = None
- timezone: typing.Optional[str] = None
- job_title: typing.Optional[str] = None
- urls: typing.Optional[typing.List[str]] = None
- tel: typing.Optional[str] = None
- note: typing.Optional[str] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/qr_code_request_functions_item.py b/src/gooey/types/qr_code_request_functions_item.py
deleted file mode 100644
index 3ce28d9..0000000
--- a/src/gooey/types/qr_code_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .qr_code_request_functions_item_trigger import QrCodeRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class QrCodeRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: QrCodeRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/qr_code_request_functions_item_trigger.py b/src/gooey/types/qr_code_request_functions_item_trigger.py
deleted file mode 100644
index 5ee88c7..0000000
--- a/src/gooey/types/qr_code_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-QrCodeRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/qr_code_request_qr_code_vcard.py b/src/gooey/types/qr_code_request_qr_code_vcard.py
deleted file mode 100644
index 28b6dee..0000000
--- a/src/gooey/types/qr_code_request_qr_code_vcard.py
+++ /dev/null
@@ -1,44 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-import typing
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import pydantic
-
-
-class QrCodeRequestQrCodeVcard(UniversalBaseModel):
- format_name: str
- email: typing.Optional[str] = None
- gender: typing.Optional[str] = None
- birthday_year: typing.Optional[int] = None
- birthday_month: typing.Optional[int] = None
- birthday_day: typing.Optional[int] = None
- family_name: typing.Optional[str] = None
- given_name: typing.Optional[str] = None
- middle_names: typing.Optional[str] = None
- honorific_prefixes: typing.Optional[str] = None
- honorific_suffixes: typing.Optional[str] = None
- impp: typing.Optional[str] = None
- address: typing.Optional[str] = None
- calendar_url: typing.Optional[str] = None
- comma_separated_categories: typing.Optional[str] = None
- kind: typing.Optional[str] = None
- language: typing.Optional[str] = None
- organization: typing.Optional[str] = None
- photo_url: typing.Optional[str] = None
- logo_url: typing.Optional[str] = None
- role: typing.Optional[str] = None
- timezone: typing.Optional[str] = None
- job_title: typing.Optional[str] = None
- urls: typing.Optional[typing.List[str]] = None
- tel: typing.Optional[str] = None
- note: typing.Optional[str] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/related_qn_a_doc_page_request_functions_item.py b/src/gooey/types/related_qn_a_doc_page_request_functions_item.py
deleted file mode 100644
index 5fdda28..0000000
--- a/src/gooey/types/related_qn_a_doc_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .related_qn_a_doc_page_request_functions_item_trigger import RelatedQnADocPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class RelatedQnADocPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: RelatedQnADocPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/related_qn_a_doc_page_request_functions_item_trigger.py b/src/gooey/types/related_qn_a_doc_page_request_functions_item_trigger.py
deleted file mode 100644
index efa683c..0000000
--- a/src/gooey/types/related_qn_a_doc_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-RelatedQnADocPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/related_qn_a_doc_page_request_selected_model.py b/src/gooey/types/related_qn_a_doc_page_request_selected_model.py
deleted file mode 100644
index 2591cf1..0000000
--- a/src/gooey/types/related_qn_a_doc_page_request_selected_model.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-RelatedQnADocPageRequestSelectedModel = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]
diff --git a/src/gooey/types/related_qn_a_page_request_functions_item.py b/src/gooey/types/related_qn_a_page_request_functions_item.py
deleted file mode 100644
index 0300307..0000000
--- a/src/gooey/types/related_qn_a_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .related_qn_a_page_request_functions_item_trigger import RelatedQnAPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class RelatedQnAPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: RelatedQnAPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/related_qn_a_page_request_functions_item_trigger.py b/src/gooey/types/related_qn_a_page_request_functions_item_trigger.py
deleted file mode 100644
index 4276d4a..0000000
--- a/src/gooey/types/related_qn_a_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-RelatedQnAPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/related_qn_a_page_request_selected_model.py b/src/gooey/types/related_qn_a_page_request_selected_model.py
deleted file mode 100644
index 211bdbc..0000000
--- a/src/gooey/types/related_qn_a_page_request_selected_model.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-RelatedQnAPageRequestSelectedModel = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]
diff --git a/src/gooey/types/remix_image_request_functions_item.py b/src/gooey/types/remix_image_request_functions_item.py
deleted file mode 100644
index e8b6f67..0000000
--- a/src/gooey/types/remix_image_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .remix_image_request_functions_item_trigger import RemixImageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class RemixImageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: RemixImageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/remix_image_request_functions_item_trigger.py b/src/gooey/types/remix_image_request_functions_item_trigger.py
deleted file mode 100644
index b131ae6..0000000
--- a/src/gooey/types/remix_image_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-RemixImageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/remove_background_request_functions_item.py b/src/gooey/types/remove_background_request_functions_item.py
deleted file mode 100644
index 09ab9cc..0000000
--- a/src/gooey/types/remove_background_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .remove_background_request_functions_item_trigger import RemoveBackgroundRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class RemoveBackgroundRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: RemoveBackgroundRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/remove_background_request_functions_item_trigger.py b/src/gooey/types/remove_background_request_functions_item_trigger.py
deleted file mode 100644
index d240cf2..0000000
--- a/src/gooey/types/remove_background_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-RemoveBackgroundRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/seo_summary_page_request_selected_model.py b/src/gooey/types/seo_summary_page_request_selected_model.py
deleted file mode 100644
index 7030bfd..0000000
--- a/src/gooey/types/seo_summary_page_request_selected_model.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-SeoSummaryPageRequestSelectedModel = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]
diff --git a/src/gooey/types/smart_gpt_page_request_functions_item.py b/src/gooey/types/smart_gpt_page_request_functions_item.py
deleted file mode 100644
index edb2c83..0000000
--- a/src/gooey/types/smart_gpt_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .smart_gpt_page_request_functions_item_trigger import SmartGptPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class SmartGptPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: SmartGptPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/smart_gpt_page_request_functions_item_trigger.py b/src/gooey/types/smart_gpt_page_request_functions_item_trigger.py
deleted file mode 100644
index 09deb0a..0000000
--- a/src/gooey/types/smart_gpt_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-SmartGptPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/smart_gpt_page_request_selected_model.py b/src/gooey/types/smart_gpt_page_request_selected_model.py
deleted file mode 100644
index 9142b8f..0000000
--- a/src/gooey/types/smart_gpt_page_request_selected_model.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-SmartGptPageRequestSelectedModel = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]
diff --git a/src/gooey/types/social_lookup_email_page_request_functions_item.py b/src/gooey/types/social_lookup_email_page_request_functions_item.py
deleted file mode 100644
index cdd44bd..0000000
--- a/src/gooey/types/social_lookup_email_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .social_lookup_email_page_request_functions_item_trigger import SocialLookupEmailPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class SocialLookupEmailPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: SocialLookupEmailPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/social_lookup_email_page_request_functions_item_trigger.py b/src/gooey/types/social_lookup_email_page_request_functions_item_trigger.py
deleted file mode 100644
index 2dc85c6..0000000
--- a/src/gooey/types/social_lookup_email_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-SocialLookupEmailPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/social_lookup_email_page_request_selected_model.py b/src/gooey/types/social_lookup_email_page_request_selected_model.py
deleted file mode 100644
index 1a0cba7..0000000
--- a/src/gooey/types/social_lookup_email_page_request_selected_model.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-SocialLookupEmailPageRequestSelectedModel = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]
diff --git a/src/gooey/types/speech_recognition_request_functions_item.py b/src/gooey/types/speech_recognition_request_functions_item.py
deleted file mode 100644
index f4f0a12..0000000
--- a/src/gooey/types/speech_recognition_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .speech_recognition_request_functions_item_trigger import SpeechRecognitionRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class SpeechRecognitionRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: SpeechRecognitionRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/speech_recognition_request_functions_item_trigger.py b/src/gooey/types/speech_recognition_request_functions_item_trigger.py
deleted file mode 100644
index a842118..0000000
--- a/src/gooey/types/speech_recognition_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-SpeechRecognitionRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/synthesize_data_request_functions_item.py b/src/gooey/types/synthesize_data_request_functions_item.py
deleted file mode 100644
index 264f3cc..0000000
--- a/src/gooey/types/synthesize_data_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .synthesize_data_request_functions_item_trigger import SynthesizeDataRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class SynthesizeDataRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: SynthesizeDataRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/synthesize_data_request_functions_item_trigger.py b/src/gooey/types/synthesize_data_request_functions_item_trigger.py
deleted file mode 100644
index 53d88fa..0000000
--- a/src/gooey/types/synthesize_data_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-SynthesizeDataRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/synthesize_data_request_selected_model.py b/src/gooey/types/synthesize_data_request_selected_model.py
deleted file mode 100644
index 42bde95..0000000
--- a/src/gooey/types/synthesize_data_request_selected_model.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-SynthesizeDataRequestSelectedModel = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]
diff --git a/src/gooey/types/text2audio_page_request_functions_item.py b/src/gooey/types/text2audio_page_request_functions_item.py
deleted file mode 100644
index a8cacb6..0000000
--- a/src/gooey/types/text2audio_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .text2audio_page_request_functions_item_trigger import Text2AudioPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class Text2AudioPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: Text2AudioPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/text2audio_page_request_functions_item_trigger.py b/src/gooey/types/text2audio_page_request_functions_item_trigger.py
deleted file mode 100644
index 921a95a..0000000
--- a/src/gooey/types/text2audio_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-Text2AudioPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/text_to_speech_page_request_functions_item.py b/src/gooey/types/text_to_speech_page_request_functions_item.py
deleted file mode 100644
index 4c4effd..0000000
--- a/src/gooey/types/text_to_speech_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .text_to_speech_page_request_functions_item_trigger import TextToSpeechPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class TextToSpeechPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: TextToSpeechPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/text_to_speech_page_request_functions_item_trigger.py b/src/gooey/types/text_to_speech_page_request_functions_item_trigger.py
deleted file mode 100644
index 0712d26..0000000
--- a/src/gooey/types/text_to_speech_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-TextToSpeechPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/translate_request_functions_item.py b/src/gooey/types/translate_request_functions_item.py
deleted file mode 100644
index 7b8674c..0000000
--- a/src/gooey/types/translate_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .translate_request_functions_item_trigger import TranslateRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class TranslateRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: TranslateRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/translate_request_functions_item_trigger.py b/src/gooey/types/translate_request_functions_item_trigger.py
deleted file mode 100644
index 8066e6f..0000000
--- a/src/gooey/types/translate_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-TranslateRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/translation_page_request.py b/src/gooey/types/translation_page_request.py
index a1931cd..9c033a6 100644
--- a/src/gooey/types/translation_page_request.py
+++ b/src/gooey/types/translation_page_request.py
@@ -2,7 +2,7 @@
from ..core.pydantic_utilities import UniversalBaseModel
import typing
-from .translation_page_request_functions_item import TranslationPageRequestFunctionsItem
+from .recipe_function import RecipeFunction
import pydantic
from .translation_page_request_selected_model import TranslationPageRequestSelectedModel
from .run_settings import RunSettings
@@ -10,7 +10,7 @@
class TranslationPageRequest(UniversalBaseModel):
- functions: typing.Optional[typing.List[TranslationPageRequestFunctionsItem]] = None
+ functions: typing.Optional[typing.List[RecipeFunction]] = None
variables: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
"""
Variables to be used as Jinja prompt templates and in functions as arguments
diff --git a/src/gooey/types/translation_page_request_functions_item.py b/src/gooey/types/translation_page_request_functions_item.py
deleted file mode 100644
index 522e42b..0000000
--- a/src/gooey/types/translation_page_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .translation_page_request_functions_item_trigger import TranslationPageRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class TranslationPageRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: TranslationPageRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/translation_page_request_functions_item_trigger.py b/src/gooey/types/translation_page_request_functions_item_trigger.py
deleted file mode 100644
index 980bb69..0000000
--- a/src/gooey/types/translation_page_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-TranslationPageRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/upscale_request_functions_item.py b/src/gooey/types/upscale_request_functions_item.py
deleted file mode 100644
index c2c2c3b..0000000
--- a/src/gooey/types/upscale_request_functions_item.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .upscale_request_functions_item_trigger import UpscaleRequestFunctionsItemTrigger
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import typing
-
-
-class UpscaleRequestFunctionsItem(UniversalBaseModel):
- url: str
- trigger: UpscaleRequestFunctionsItemTrigger = pydantic.Field()
- """
- When to run this function. `pre` runs before the recipe, `post` runs after the recipe.
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/upscale_request_functions_item_trigger.py b/src/gooey/types/upscale_request_functions_item_trigger.py
deleted file mode 100644
index f5813c0..0000000
--- a/src/gooey/types/upscale_request_functions_item_trigger.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-UpscaleRequestFunctionsItemTrigger = typing.Union[typing.Literal["pre", "post"], typing.Any]
diff --git a/src/gooey/types/video_bots_page_request.py b/src/gooey/types/video_bots_page_request.py
index 5b69081..6fb8b5e 100644
--- a/src/gooey/types/video_bots_page_request.py
+++ b/src/gooey/types/video_bots_page_request.py
@@ -4,13 +4,14 @@
import typing
from .video_bots_page_request_functions_item import VideoBotsPageRequestFunctionsItem
import pydantic
-from .video_bots_page_request_messages_item import VideoBotsPageRequestMessagesItem
-from .video_bots_page_request_selected_model import VideoBotsPageRequestSelectedModel
+from .conversation_entry import ConversationEntry
+from .large_language_models import LargeLanguageModels
from .video_bots_page_request_embedding_model import VideoBotsPageRequestEmbeddingModel
from .video_bots_page_request_citation_style import VideoBotsPageRequestCitationStyle
from .video_bots_page_request_asr_model import VideoBotsPageRequestAsrModel
from .video_bots_page_request_translation_model import VideoBotsPageRequestTranslationModel
from .video_bots_page_request_lipsync_model import VideoBotsPageRequestLipsyncModel
+from .llm_tools import LlmTools
from .video_bots_page_request_response_format_type import VideoBotsPageRequestResponseFormatType
from .video_bots_page_request_tts_provider import VideoBotsPageRequestTtsProvider
from .video_bots_page_request_openai_voice_name import VideoBotsPageRequestOpenaiVoiceName
@@ -36,9 +37,9 @@ class VideoBotsPageRequest(UniversalBaseModel):
Select a workflow to extract text from documents and images.
"""
- messages: typing.Optional[typing.List[VideoBotsPageRequestMessagesItem]] = None
+ messages: typing.Optional[typing.List[ConversationEntry]] = None
bot_script: typing.Optional[str] = None
- selected_model: typing.Optional[VideoBotsPageRequestSelectedModel] = None
+ selected_model: typing.Optional[LargeLanguageModels] = None
document_model: typing.Optional[str] = pydantic.Field(default=None)
"""
When your copilot users upload a photo or pdf, what kind of document are they mostly likely to upload? (via [Azure](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/use-sdk-rest-api?view=doc-intel-3.1.0&tabs=linux&pivots=programming-language-rest-api))
@@ -79,7 +80,7 @@ class VideoBotsPageRequest(UniversalBaseModel):
input_glossary_document: typing.Optional[str] = None
output_glossary_document: typing.Optional[str] = None
lipsync_model: typing.Optional[VideoBotsPageRequestLipsyncModel] = None
- tools: typing.Optional[typing.List[typing.Literal["json_to_pdf"]]] = pydantic.Field(default=None)
+ tools: typing.Optional[typing.List[LlmTools]] = pydantic.Field(default=None)
"""
Give your copilot superpowers by giving it access to tools. Powered by [Function calling](https://platform.openai.com/docs/guides/function-calling).
"""
diff --git a/src/gooey/types/video_bots_page_request_messages_item.py b/src/gooey/types/video_bots_page_request_messages_item.py
deleted file mode 100644
index 004df6d..0000000
--- a/src/gooey/types/video_bots_page_request_messages_item.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from ..core.pydantic_utilities import UniversalBaseModel
-from .video_bots_page_request_messages_item_role import VideoBotsPageRequestMessagesItemRole
-from .video_bots_page_request_messages_item_content import VideoBotsPageRequestMessagesItemContent
-import typing
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import pydantic
-
-
-class VideoBotsPageRequestMessagesItem(UniversalBaseModel):
- role: VideoBotsPageRequestMessagesItemRole
- content: VideoBotsPageRequestMessagesItemContent
- display_name: typing.Optional[str] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/gooey/types/video_bots_page_request_messages_item_content.py b/src/gooey/types/video_bots_page_request_messages_item_content.py
deleted file mode 100644
index 1c8efb4..0000000
--- a/src/gooey/types/video_bots_page_request_messages_item_content.py
+++ /dev/null
@@ -1,6 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-from .video_bots_page_request_messages_item_content_item import VideoBotsPageRequestMessagesItemContentItem
-
-VideoBotsPageRequestMessagesItemContent = typing.Union[str, typing.List[VideoBotsPageRequestMessagesItemContentItem]]
diff --git a/src/gooey/types/video_bots_page_request_messages_item_content_item.py b/src/gooey/types/video_bots_page_request_messages_item_content_item.py
deleted file mode 100644
index b7235db..0000000
--- a/src/gooey/types/video_bots_page_request_messages_item_content_item.py
+++ /dev/null
@@ -1,41 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-from __future__ import annotations
-from ..core.pydantic_utilities import UniversalBaseModel
-import typing
-from ..core.pydantic_utilities import IS_PYDANTIC_V2
-import pydantic
-from .image_url import ImageUrl
-
-
-class VideoBotsPageRequestMessagesItemContentItem_Text(UniversalBaseModel):
- type: typing.Literal["text"] = "text"
- text: typing.Optional[str] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
-
-
-class VideoBotsPageRequestMessagesItemContentItem_ImageUrl(UniversalBaseModel):
- type: typing.Literal["image_url"] = "image_url"
- image_url: typing.Optional[ImageUrl] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
-
-
-VideoBotsPageRequestMessagesItemContentItem = typing.Union[
- VideoBotsPageRequestMessagesItemContentItem_Text, VideoBotsPageRequestMessagesItemContentItem_ImageUrl
-]
diff --git a/src/gooey/types/video_bots_page_request_messages_item_role.py b/src/gooey/types/video_bots_page_request_messages_item_role.py
deleted file mode 100644
index a2053c0..0000000
--- a/src/gooey/types/video_bots_page_request_messages_item_role.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-VideoBotsPageRequestMessagesItemRole = typing.Union[typing.Literal["user", "system", "assistant"], typing.Any]
diff --git a/src/gooey/types/video_bots_page_request_selected_model.py b/src/gooey/types/video_bots_page_request_selected_model.py
deleted file mode 100644
index e327a7d..0000000
--- a/src/gooey/types/video_bots_page_request_selected_model.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-VideoBotsPageRequestSelectedModel = typing.Union[
- typing.Literal[
- "gpt_4_o",
- "gpt_4_o_mini",
- "chatgpt_4_o",
- "gpt_4_turbo_vision",
- "gpt_4_vision",
- "gpt_4_turbo",
- "gpt_4",
- "gpt_4_32k",
- "gpt_3_5_turbo",
- "gpt_3_5_turbo_16k",
- "gpt_3_5_turbo_instruct",
- "llama3_70b",
- "llama_3_groq_70b_tool_use",
- "llama3_8b",
- "llama_3_groq_8b_tool_use",
- "llama2_70b_chat",
- "mixtral_8x7b_instruct_0_1",
- "gemma_2_9b_it",
- "gemma_7b_it",
- "gemini_1_5_flash",
- "gemini_1_5_pro",
- "gemini_1_pro_vision",
- "gemini_1_pro",
- "palm2_chat",
- "palm2_text",
- "claude_3_5_sonnet",
- "claude_3_opus",
- "claude_3_sonnet",
- "claude_3_haiku",
- "sea_lion_7b_instruct",
- "llama3_8b_cpt_sea_lion_v2_instruct",
- "sarvam_2b",
- "text_davinci_003",
- "text_davinci_002",
- "code_davinci_002",
- "text_curie_001",
- "text_babbage_001",
- "text_ada_001",
- ],
- typing.Any,
-]