forked from phoenix-oss/llama-stack-mirror
See https://github.com/meta-llama/llama-stack/issues/827 for the broader design. This is the first part: - delete other kinds of memory banks (keyvalue, keyword, graph) for now; we will introduce a keyvalue store API as part of this design but not use it in the RAG tool yet. - renaming of the APIs
17 lines
436 B
Python
17 lines
436 B
Python
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under the terms described in the LICENSE file in
|
|
# the root directory of this source tree.
|
|
|
|
from typing import Any, Dict
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class ChromaInlineImplConfig(BaseModel):
|
|
db_path: str
|
|
|
|
@classmethod
|
|
def sample_config(cls) -> Dict[str, Any]:
|
|
return {"db_path": "{env.CHROMADB_PATH}"}
|