mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 08:44:44 +00:00
Made Changes based on review comments
This commit is contained in:
parent
2c682b086a
commit
67db749d15
1 changed files with 6 additions and 5 deletions
|
@ -16,12 +16,13 @@ class MilvusVectorIOConfig(BaseModel):
|
||||||
uri: str
|
uri: str
|
||||||
token: str | None = None
|
token: str | None = None
|
||||||
consistency_level: str = "Strong"
|
consistency_level: str = "Strong"
|
||||||
# TLS-related options
|
|
||||||
secure: bool = False
|
class Config:
|
||||||
server_pem_path: Optional[str] = None
|
extra = "allow"
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
||||||
def sample_run_config(cls, __distro_dir__: str, **kwargs: Any) -> Dict[str, Any]:
|
def sample_run_config(cls, __distro_dir__: str, **kwargs: Any) -> Dict[str, Any]:
|
||||||
return {"uri": "${env.MILVUS_ENDPOINT}", "token": "${env.MILVUS_TOKEN}","secure": True,
|
|
||||||
"server_pem_path": "/path/to/ca.crt"}
|
return {"uri": "${env.MILVUS_ENDPOINT}", "token": "${env.MILVUS_TOKEN}"}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue