Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 782 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 782 Bytes

st-milvus-connection

Connect your streamlit app to milvus database.

Install the library

pip install st_milvus_connection

Connect to Milvus database

import os
import streamlit as st

from st_milvus_connection import MilvusConnection

os.environ["milvus_uri"] = YOUR_MILVUS_ENDPOINT
os.environ["milvus_token"] = YOUR_MILVUS_TOKEN

conn = st.connection("milvus", type=MilvusConnection)

List collections

conn.list_collections()

Example Application

This Streamlit Connection was created as part of the Streamlit Connections Hackathon in August 2023.

github.com/bsenst/Connections-Hackathon

image