Skip to content

Storing Structured Data in Milvus #24576

Discussion options

You must be logged in to vote

I plan to use Milvus as my vector database to store chat interaction between the user and my LLM so that I can give my LLM a "long-term memory". The thing is, I want to store some metadata (timestamp, username, original message before embedding, etc) along the chat message.

Here are the two options I thought of so far:

Option 1 - Use Milvus along with a structured Database

Use Milvus and another traditional structured database (like Postgresql) simultaneously. Store the chat message embedding (vectors) in Milvus with an "entity ID" to uniquely identify the chat message, and store all the metadata (timestamp, username, etc) in the structured database.

CONS: It's slower and less efficient …

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@jamesjohnson1025
Comment options

@gem7008
Comment options

@KarthikRaju391
Comment options

@xiaofan-luan
Comment options

@KarthikRaju391
Comment options

Answer selected by gem7008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants