You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
);
The text was updated successfully, but these errors were encountered:
Per the docs,
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).
The text was updated successfully, but these errors were encountered: