Skip to content

Commit 394dc88

Browse files
authored
Merge pull request #60 from objectstack-ai/copilot/implement-ai-leadership-protocols
2 parents e8d7d79 + ab92f95 commit 394dc88

167 files changed

Lines changed: 29960 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ temp/
4141
packages/*/dist/
4242
packages/*/*.tsbuildinfo
4343

44+
# Example builds
45+
examples/*/dist/
46+
examples/*/*.d.ts
47+
examples/*/*.d.ts.map
48+
examples/*/*.js
49+
!examples/*/*.config.js
50+
!examples/*/*.config.ts
51+
4452
# Next.js
4553
.next
4654
out/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: ChunkingStrategy
3+
description: ChunkingStrategy Schema Reference
4+
---
5+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: DocumentChunk
3+
description: DocumentChunk Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **id** | `string` || Unique chunk identifier |
11+
| **content** | `string` || Chunk text content |
12+
| **embedding** | `number[]` | optional | Embedding vector |
13+
| **metadata** | `object` || |
14+
| **chunkIndex** | `integer` || Chunk position in document |
15+
| **tokens** | `integer` | optional | Token count |
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: DocumentLoaderConfig
3+
description: DocumentLoaderConfig Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **type** | `Enum<'file' \| 'directory' \| 'url' \| 'api' \| 'database' \| 'custom'>` || |
11+
| **source** | `string` || Source path, URL, or identifier |
12+
| **fileTypes** | `string[]` | optional | Accepted file extensions (e.g., [".pdf", ".md"]) |
13+
| **recursive** | `boolean` | optional | Process directories recursively |
14+
| **maxFileSize** | `integer` | optional | Maximum file size in bytes |
15+
| **excludePatterns** | `string[]` | optional | Patterns to exclude |
16+
| **extractImages** | `boolean` | optional | Extract text from images (OCR) |
17+
| **extractTables** | `boolean` | optional | Extract and format tables |
18+
| **loaderConfig** | `Record<string, any>` | optional | Custom loader-specific config |
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: DocumentMetadata
3+
description: DocumentMetadata Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **source** | `string` || Document source (file path, URL, etc.) |
11+
| **sourceType** | `Enum<'file' \| 'url' \| 'api' \| 'database' \| 'custom'>` | optional | |
12+
| **title** | `string` | optional | |
13+
| **author** | `string` | optional | |
14+
| **createdAt** | `string` | optional | ISO timestamp |
15+
| **updatedAt** | `string` | optional | ISO timestamp |
16+
| **tags** | `string[]` | optional | |
17+
| **category** | `string` | optional | |
18+
| **language** | `string` | optional | Document language (ISO 639-1 code) |
19+
| **custom** | `Record<string, any>` | optional | Custom metadata fields |
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: EmbeddingModel
3+
description: EmbeddingModel Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **provider** | `Enum<'openai' \| 'cohere' \| 'huggingface' \| 'azure_openai' \| 'local' \| 'custom'>` || |
11+
| **model** | `string` || Model name (e.g., "text-embedding-3-large") |
12+
| **dimensions** | `integer` || Embedding vector dimensions |
13+
| **maxTokens** | `integer` | optional | Maximum tokens per embedding |
14+
| **batchSize** | `integer` | optional | Batch size for embedding |
15+
| **endpoint** | `string` | optional | Custom endpoint URL |
16+
| **apiKey** | `string` | optional | API key or reference to secret |
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Entity
3+
description: Entity Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **type** | `Enum<'object' \| 'field' \| 'value' \| 'operator' \| 'function' \| 'timeframe'>` || |
11+
| **text** | `string` || Original text from query |
12+
| **value** | `any` | optional | Normalized value |
13+
| **confidence** | `number` || Confidence score |
14+
| **span** | `any[]` | optional | Character span in query |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: FieldSynonymConfig
3+
description: FieldSynonymConfig Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **object** | `string` || Object name |
11+
| **field** | `string` || Field name |
12+
| **synonyms** | `string[]` || Natural language synonyms |
13+
| **examples** | `string[]` | optional | Example queries using synonyms |
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: ModelCapability
3+
description: ModelCapability Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **textGeneration** | `boolean` | optional | Supports text generation |
11+
| **textEmbedding** | `boolean` | optional | Supports text embedding |
12+
| **imageGeneration** | `boolean` | optional | Supports image generation |
13+
| **imageUnderstanding** | `boolean` | optional | Supports image understanding |
14+
| **functionCalling** | `boolean` | optional | Supports function calling |
15+
| **codeGeneration** | `boolean` | optional | Supports code generation |
16+
| **reasoning** | `boolean` | optional | Supports advanced reasoning |
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: ModelConfig
3+
description: ModelConfig Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **id** | `string` || Unique model identifier |
11+
| **name** | `string` || Model display name |
12+
| **version** | `string` || Model version (e.g., "gpt-4-turbo-2024-04-09") |
13+
| **provider** | `Enum<'openai' \| 'azure_openai' \| 'anthropic' \| 'google' \| 'cohere' \| 'huggingface' \| 'local' \| 'custom'>` || |
14+
| **capabilities** | `object` || |
15+
| **limits** | `object` || |
16+
| **pricing** | `object` | optional | |
17+
| **endpoint** | `string` | optional | Custom API endpoint |
18+
| **apiKey** | `string` | optional | API key or reference to secret |
19+
| **region** | `string` | optional | Deployment region (e.g., "us-east-1") |
20+
| **description** | `string` | optional | |
21+
| **tags** | `string[]` | optional | Tags for categorization |
22+
| **deprecated** | `boolean` | optional | |
23+
| **recommendedFor** | `string[]` | optional | Use case recommendations |

0 commit comments

Comments
 (0)