Skip to content
Snippets Groups Projects
Unverified Commit 9ac6f27e authored by Huu Le (Lee)'s avatar Huu Le (Lee) Committed by GitHub
Browse files

change MILVUS_USER TO MILVUS_USERNAME (#9)

parent 9f6a0efe
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ def generate_datasource():
documents = get_documents()
store = MilvusVectorStore(
uri=os.environ["MILVUS_ADDRESS"],
user=os.getenv("MILVUS_USER"),
user=os.getenv("MILVUS_USERNAME"),
password=os.getenv("MILVUS_PASSWORD"),
collection_name=os.getenv("MILVUS_COLLECTION"),
dim=int(os.getenv("MILVUS_DIMENSION", "1536")),
......
......@@ -12,7 +12,7 @@ def get_index():
logger.info("Connecting to index from Milvus...")
store = MilvusVectorStore(
uri=os.getenv("MILVUS_ADDRESS"),
user=os.getenv("MILVUS_USER"),
user=os.getenv("MILVUS_USERNAME"),
password=os.getenv("MILVUS_PASSWORD"),
collection_name=os.getenv("MILVUS_COLLECTION"),
dim=int(os.getenv("EMBEDDING_DIM", "1536")),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment