Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add milvus db #65

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

[WIP] Add milvus db #65

wants to merge 13 commits into from

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