mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 23:51:00 +00:00
client fix
This commit is contained in:
parent
949b82fc6d
commit
cf416cb6b8
1 changed files with 3 additions and 3 deletions
|
@ -100,12 +100,12 @@ async def run_main(host: str, port: int, stream: bool):
|
|||
|
||||
# register memory bank for the first time
|
||||
response = await client.register_memory_bank(
|
||||
VectorMemoryBank(
|
||||
identifier="test_bank2",
|
||||
memory_bank_id="test_bank2",
|
||||
params=VectorMemoryBankParams(
|
||||
embedding_model="all-MiniLM-L6-v2",
|
||||
chunk_size_in_tokens=512,
|
||||
overlap_size_in_tokens=64,
|
||||
)
|
||||
),
|
||||
)
|
||||
cprint(f"register_memory_bank response={response}", "blue")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue