Skip to content

Commit

Permalink
fix: embeddings encoding format
Browse files Browse the repository at this point in the history
  • Loading branch information
leoguillaumegouv committed Oct 8, 2024
1 parent 88e56c5 commit 52fca61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/schemas/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class EmbeddingsRequest(BaseModel):
input: Union[List[int], List[List[int]], str, List[str]]
model: str
dimensions: Optional[int] = None
encoding_format: Optional[Literal["float", "base64"]] = "float"
encoding_format: Optional[Literal["float"]] = "float"
user: Optional[str] = None


Expand Down

0 comments on commit 52fca61

Please sign in to comment.