Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions clients/python/llmengine/data_types/gen/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ class Prompt(BaseModel):


class Prompt1Item(BaseModel):
__root__: Annotated[List[int], Field(min_items=1)]
__root__: Annotated[List[int], Field()]


class Prompt1(BaseModel):
Expand Down Expand Up @@ -1440,7 +1440,7 @@ class Input1(BaseModel):


class Input2Item(BaseModel):
__root__: Annotated[List[int], Field(min_items=1)]
__root__: Annotated[List[int], Field()]


class Input2(BaseModel):
Expand Down Expand Up @@ -6875,7 +6875,7 @@ class VectorStoreObject(BaseModel):


class QueryItem(BaseModel):
__root__: Annotated[str, Field(description="A list of queries to search for.", min_items=1)]
__root__: Annotated[str, Field(description="A list of queries to search for.")]


class RankingOptions(BaseModel):
Expand Down Expand Up @@ -6937,7 +6937,7 @@ class Config:


class SearchQueryItem(BaseModel):
__root__: Annotated[str, Field(description="The query used for this search.", min_items=1)]
__root__: Annotated[str, Field(description="The query used for this search.")]


class VectorStoreSearchResultsPage(BaseModel):
Expand Down Expand Up @@ -11515,9 +11515,7 @@ class EvalRunList(BaseModel):


class InputItem(BaseModel):
__root__: Annotated[
Union[EasyInputMessage, Item, ItemReferenceParam], Field(discriminator="type")
]
__root__: Annotated[Union[EasyInputMessage, Item, ItemReferenceParam], Field()]
Comment thread
greptile-apps[bot] marked this conversation as resolved.


class ListAssistantsResponse(BaseModel):
Expand Down
Loading