mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-15 22:19:28 +00:00
fix: extract llama-stack params from model_extra, not as explicit fields
This commit is contained in:
parent
8fa91f98ef
commit
3568ccdc81
3 changed files with 23 additions and 32 deletions
|
|
@ -477,9 +477,6 @@ class OpenAICreateVectorStoreRequestWithExtraBody(BaseModel, extra="allow"):
|
|||
:param expires_after: (Optional) Expiration policy for the vector store
|
||||
:param chunking_strategy: (Optional) Strategy for splitting files into chunks
|
||||
:param metadata: Set of key-value pairs that can be attached to the vector store
|
||||
:param embedding_model: (Optional) The embedding model to use for this vector store
|
||||
:param embedding_dimension: (Optional) The dimension of the embedding vectors (default: 384)
|
||||
:param provider_id: (Optional) The ID of the provider to use for this vector store
|
||||
"""
|
||||
|
||||
name: str | None = None
|
||||
|
|
@ -487,9 +484,6 @@ class OpenAICreateVectorStoreRequestWithExtraBody(BaseModel, extra="allow"):
|
|||
expires_after: dict[str, Any] | None = None
|
||||
chunking_strategy: dict[str, Any] | None = None
|
||||
metadata: dict[str, Any] | None = None
|
||||
embedding_model: str | None = None
|
||||
embedding_dimension: int | None = 384
|
||||
provider_id: str | None = None
|
||||
|
||||
|
||||
# extra_body can be accessed via .model_extra
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue