llama-stack-mirror/llama_stack/providers/utils
Dinesh Yeduguru 0850ad656a
unregister for memory banks and remove update API (#458)
The semantics of an Update on resources is very tricky to reason about
especially for memory banks and models. The best way to go forward here
is for the user to unregister and register a new resource. We don't have
a compelling reason to support update APIs.


Tests:
pytest -v -s llama_stack/providers/tests/memory/test_memory.py -m
"chroma" --env CHROMA_HOST=localhost --env CHROMA_PORT=8000

pytest -v -s llama_stack/providers/tests/memory/test_memory.py -m
"pgvector" --env PGVECTOR_DB=postgres --env PGVECTOR_USER=postgres --env
PGVECTOR_PASSWORD=mysecretpassword --env PGVECTOR_HOST=0.0.0.0

$CONDA_PREFIX/bin/pytest -v -s -m "ollama"
llama_stack/providers/tests/inference/test_model_registration.py

---------

Co-authored-by: Dinesh Yeduguru <dineshyv@fb.com>
2024-11-14 17:12:11 -08:00
..
bedrock add bedrock distribution code (#358) 2024-11-06 14:39:11 -08:00
datasetio [Evals API][11/n] huggingface dataset provider + mmlu scoring fn (#392) 2024-11-11 14:49:50 -05:00
inference model registration in ollama and vllm check against the available models in the provider (#446) 2024-11-13 13:04:06 -08:00
kvstore fix postgres config validation (#380) 2024-11-05 15:09:04 -08:00
memory unregister for memory banks and remove update API (#458) 2024-11-14 17:12:11 -08:00
scoring fix tests after registration migration & rename meta-reference -> basic / llm_as_judge provider (#424) 2024-11-12 10:35:44 -05:00
telemetry telemetry WARNING->WARN fix 2024-10-21 18:52:48 -07:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00