Skip to content

[WIP] Add milvus db#65

Draft
murbans1 wants to merge 13 commits intomainfrom
add_milvus_db
Draft

[WIP] Add milvus db#65
murbans1 wants to merge 13 commits intomainfrom
add_milvus_db

Conversation

@murbans1
Copy link
Collaborator

@murbans1 murbans1 commented Jan 31, 2025

Start milvus in docker:

# Download the installation script
$ curl -sfL https://raw.githubusercontent.com/milvus-io/milvus/master/scripts/standalone_embed.sh -o standalone_embed.sh

# Start the Docker container
$ bash standalone_embed.sh start

stop

# Stop Milvus
$ bash standalone_embed.sh stop

# Delete Milvus data
$ bash standalone_embed.sh delete

Create vilvus db from zendesk files processed by our script
.env

LOCAL_DIRECTORY="../../scripts/zendesk_dataprep_output"
OUTPUT_FILENAME="pickled.obj"

MILVUS_URI="http://localhost:19530"
MILVUS_COLLECTION_NAME="test_milvus_collection"

run

uv run createvectordb.py --env_file .env 

Run local rag service with milvus

 uv run serveragllm_milvus_local.py

@murbans1 murbans1 marked this pull request as draft January 31, 2025 11:45
@murbans1 murbans1 force-pushed the add_milvus_db branch 2 times, most recently from e0046d6 to 101a1e9 Compare February 1, 2025 12:54
@murbans1 murbans1 force-pushed the move_logic_from_db_creation_to_data_preparation_scripts branch from 3656483 to 2d3842e Compare February 4, 2025 11:38
@murbans1 murbans1 changed the base branch from move_logic_from_db_creation_to_data_preparation_scripts to main February 4, 2025 12:53
@murbans1 murbans1 changed the base branch from main to move_logic_from_db_creation_to_data_preparation_scripts February 4, 2025 12:54
@murbans1 murbans1 changed the base branch from move_logic_from_db_creation_to_data_preparation_scripts to main February 4, 2025 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant