mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 03:52:26 +00:00
feat(vector-io): add OpenGauss vector database provider
Implement OpenGauss vector database integration for Llama Stack with the following features: - Add OpenGaussVectorIOAdapter for vector storage and retrieval - Support native vector similarity search operations - Implement connection and query management with psycopg2 - Provide configuration template for easy setup - Add comprehensive unit tests The implementation allows Llama Stack users to leverage OpenGauss as an enterprise-grade vector database for RAG applications. Users can configure their environment through a simple YAML configuration and environment variables.
This commit is contained in:
parent
d880c2df0e
commit
5e9c394500
10 changed files with 854 additions and 0 deletions
9
llama_stack/templates/opengauss-demo/__init__.py
Normal file
9
llama_stack/templates/opengauss-demo/__init__.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# 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 .mymilvus_demo import get_distribution_template
|
||||
|
||||
# __all__ = ["get_distribution_template"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue