mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 00:34: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
|
||||
token: str | None = None
|
||||
consistency_level: str = "Strong"
|
||||
# TLS-related options
|
||||
secure: bool = False
|
||||
server_pem_path: Optional[str] = None
|
||||
|
||||
class Config:
|
||||
extra = "allow"
|
||||
|
||||
@classmethod
|
||||
|
||||
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