Elffuss BraidHub

kikocis/llama-stack public

main · 468 BRawPermalink
1# Copyright (c) Meta Platforms, Inc. and affiliates.
2# All rights reserved.
3#
4# This source code is licensed under the terms described in the LICENSE file in
5# the root directory of this source tree.
6
7from llama_stack.distribution.datatypes import RemoteProviderConfig
8
9
10async def get_adapter_impl(config: RemoteProviderConfig, _deps):
11 from .chroma import ChromaMemoryAdapter
12
13 impl = ChromaMemoryAdapter(config.url)
14 await impl.initialize()
15 return impl