Question: what is the purpose of "stores"
Per the docs,
EmbedJs comes with built-in support for data persistance beyond vector embeddings. The kind of data that can be persisted includes -
- Loaders and chunks loaded and their metadata,
- Loader specific caching,
- Conversation history
What is the purpose of this datastore? I see the schema as below for the stores db but I can't figure out the use for this other than perhaps for the conversations table, in case, I want to show the users their history of questions. But, in that case, how would I identify which questions belong to which user? (assuming, I have a system with multiple users, most likely a web-based Q&A app).
CREATE TABLE conversations (
id TEXT PRIMARY KEY,
conversationId TEXT NOT NULL,
content TEXT NOT NULL,
timestamp TEXT NOT NULL,
actor TEXT NOT NULL,
sources TEXT
);
CREATE TABLE loaders (
id TEXT PRIMARY KEY,
type TEXT NOT NULL,
chunksProcessed INTEGER,
metadata TEXT
);
CREATE TABLE loaderCustomData (
key TEXT PRIMARY KEY,
loaderId TEXT NOT NULL,
value TEXT
);
This issue is stale because it has been open for 14 days with no activity.
This issue was closed because it has been inactive for 30 days since being marked as stale.
@punkish Can you reopen the issue? I'm wondering the same thing...
This issue is stale because it has been open for 14 days with no activity.