mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-06 20:44:58 +00:00
Refactor Weaviate config to include cluster URL in memory adapter
This commit is contained in:
parent
2fc9bd95a6
commit
ba8044d243
3 changed files with 11 additions and 8 deletions
|
@ -11,8 +11,8 @@ class WeaviateRequestProviderData(BaseModel):
|
|||
# if there _is_ provider data, it must specify the API KEY
|
||||
# if you want it to be optional, use Optional[str]
|
||||
weaviate_api_key: str
|
||||
weaviate_cluster_url: str
|
||||
|
||||
@json_schema_type
|
||||
class WeaviateConfig(BaseModel):
|
||||
url: str = Field(default="http://localhost:8080")
|
||||
collection: str = Field(default="MemoryBank")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue