Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit f231e76

Browse files
authored
chore: add cortex.db architecture docs (#1619)
1 parent d5d751a commit f231e76

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

docs/docs/architecture/cortex-db.md

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: cortex.db
3+
description: cortex.db Overview.
4+
slug: "cortex-db"
5+
---
6+
7+
import Tabs from "@theme/Tabs";
8+
import TabItem from "@theme/TabItem";
9+
10+
:::warning
11+
🚧 Cortex.cpp is currently under development. Our documentation outlines the intended behavior of Cortex, which may not yet be fully implemented in the codebase.
12+
:::
13+
14+
This document outlines the architecture of the database designed to store and manage various types of entities and their associated metadata.
15+
16+
## Table Structure
17+
### models Table
18+
The `models` table is designed to hold metadata about various AI models. Below is the structure of the table:
19+
20+
| Column Name | Data Type | Description |
21+
|--------------------|-----------|---------------------------------------------------------|
22+
| model_id | TEXT | A unique identifier for each model (Primary Key). |
23+
| author_repo_id | TEXT | The identifier for the repository where the model is stored. |
24+
| branch_name | TEXT | The branch name in the repository that contains the model. |
25+
| path_to_model_yaml | TEXT | The file path to the YAML configuration file for the model. |

0 commit comments

Comments
 (0)