mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
add VertexMultimodalEmbeddingRequest type
This commit is contained in:
parent
9dbd1b089b
commit
dd00cf2a97
1 changed files with 16 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import json
|
||||
from enum import Enum
|
||||
from typing import Any, Dict, List, Literal, Optional, TypedDict, Union
|
||||
from typing import Any, Dict, List, Literal, Optional, Tuple, TypedDict, Union
|
||||
|
||||
from typing_extensions import (
|
||||
Protocol,
|
||||
|
|
@ -305,3 +305,18 @@ class ResponseTuningJob(TypedDict):
|
|||
]
|
||||
createTime: Optional[str]
|
||||
updateTime: Optional[str]
|
||||
|
||||
|
||||
class InstanceVideo(TypedDict, total=False):
|
||||
gcsUri: str
|
||||
videoSegmentConfig: Tuple[float, float, float]
|
||||
|
||||
|
||||
class Instance(TypedDict, total=False):
|
||||
text: str
|
||||
image: Dict[str, str]
|
||||
video: InstanceVideo
|
||||
|
||||
|
||||
class VertexMultimodalEmbeddingRequest(TypedDict, total=False):
|
||||
instances: List[Instance]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue