Contexteer
Tables (7)
DataSource (DocSource)
- uuid (data_source_uuid) — String — Primary key — NOT NULL
- user (user_uuid) — String — Foreign key → Users.uuid — NOT NULL
- data_category (data_category_uuid) — String — Foreign key → DataSourceCategories.uuid — NOT NULL
- title (doc_title) — String
- content (doc_content) — String
- source_url (doc_source_url) — String
- written_at (doc_written_at) — DateTime
- status (doc_source_status) — String
- input_type (doc_source_input_type) — String
- summary (doc_source_summary) — String
- keywords (doc_source_keywords) — String[]
- created_at — DateTime
- updated_at — DateTime
DataSourceCategories (DocCategories)
- uuid (doc_category_uuid) — String — Primary key — NOT NULL
- user (user_uuid) — String — Foreign key → Users.uuid — NOT NULL
- name (doc_category_name) — String
- status (doc_category_status) — String
DataSourceOutputs (DocSourceOutputs)
- data_source (data_source_uuid) — String — Foreign key → DataSource.uuid — NOT NULL
- doc_output (doc_output_uuid) — String — Foreign key → DocOutputs.uuid — NOT NULL
DocOutputEmbedings
- uuid (doc_embeding_uuid) — String — Primary key — NOT NULL
- doc_output_uuid — String — Foreign key → DocOutputs.uuid — NOT NULL
- embeding — Vector
- text (doc_text) — String
DocOutputs
- uuid (doc_output_uuid) — String — Primary key — NOT NULL
- user (user_uuid) — String — Foreign key → Users.uuid — NOT NULL
- status (doc_output_status) — String
- title (doc_output_title) — String
- content (doc_output_content) — String
- prefix_prompt — String
- body_prompt — String
- suffix_prompt — String
- created_at — DateTime
- updated_at — DateTime
DocSourceEmbedings
- uuid (doc_embeding_uuid) — String — Primary key — NOT NULL
- doc_source (doc_source_uuid) — String — Foreign key → DataSource.uuid — NOT NULL
- embeding — Vector
- text (doc_text) — String
Users
- uuid (user_uuid) — String — Primary key — NOT NULL
- type (user_type) — String
- email (user_email) — String
- password (user_password) — String
- created_at — DateTime
- updated_at — DateTime