Skip to content

Commit

Permalink
change MILVUS_USER TO MILVUS_USERNAME (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
leehuwuj authored Mar 19, 2024
1 parent 9f6a0ef commit 9ac6f27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/components/vectordbs/python/milvus/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
Expand Down
2 changes: 1 addition & 1 deletion templates/components/vectordbs/python/milvus/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
Expand Down

0 comments on commit 9ac6f27

Please sign in to comment.