@exulu/backend 1.48.2 → 1.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/dist/index.cjs +351 -42
  2. package/dist/index.d.cts +96 -1
  3. package/dist/index.d.ts +96 -1
  4. package/dist/index.js +340 -38
  5. package/ee/{markdown.ts → chunking/markdown.ts} +2 -2
  6. package/ee/python/README.md +295 -0
  7. package/ee/python/documents/processing/README.md +155 -0
  8. package/ee/{documents → python/documents}/processing/doc_processor.ts +25 -17
  9. package/ee/{documents/processing/pdf_to_markdown.py → python/documents/processing/document_to_markdown.py} +3 -10
  10. package/ee/python/setup.sh +180 -0
  11. package/package.json +14 -3
  12. package/scripts/postinstall.cjs +149 -0
  13. package/.agents/skills/mintlify/SKILL.md +0 -347
  14. package/.editorconfig +0 -15
  15. package/.eslintrc.json +0 -52
  16. package/.github/workflows/release-backend.yml +0 -38
  17. package/.husky/commit-msg +0 -1
  18. package/.jscpd.json +0 -18
  19. package/.mcp.json +0 -25
  20. package/.nvmrc +0 -1
  21. package/.prettierignore +0 -5
  22. package/.prettierrc.json +0 -12
  23. package/CHANGELOG.md +0 -8
  24. package/SECURITY.md +0 -5
  25. package/commitlint.config.js +0 -4
  26. package/devops/documentation/patch-older-releases.md +0 -42
  27. package/ee/documents/processing/build_pdf_processor.sh +0 -35
  28. package/ee/documents/processing/chunk_markdown.py +0 -263
  29. package/ee/documents/processing/pdf_processor.spec +0 -115
  30. package/eslint.config.js +0 -88
  31. package/jest.config.ts +0 -25
  32. package/mintlify-docs/.mintignore +0 -7
  33. package/mintlify-docs/AGENTS.md +0 -33
  34. package/mintlify-docs/CLAUDE.MD +0 -50
  35. package/mintlify-docs/CONTRIBUTING.md +0 -32
  36. package/mintlify-docs/LICENSE +0 -21
  37. package/mintlify-docs/README.md +0 -55
  38. package/mintlify-docs/ai-tools/claude-code.mdx +0 -43
  39. package/mintlify-docs/ai-tools/cursor.mdx +0 -39
  40. package/mintlify-docs/ai-tools/windsurf.mdx +0 -39
  41. package/mintlify-docs/api-reference/core-types/agent-types.mdx +0 -110
  42. package/mintlify-docs/api-reference/core-types/analytics-types.mdx +0 -95
  43. package/mintlify-docs/api-reference/core-types/configuration-types.mdx +0 -83
  44. package/mintlify-docs/api-reference/core-types/evaluation-types.mdx +0 -106
  45. package/mintlify-docs/api-reference/core-types/job-types.mdx +0 -135
  46. package/mintlify-docs/api-reference/core-types/overview.mdx +0 -73
  47. package/mintlify-docs/api-reference/core-types/prompt-types.mdx +0 -102
  48. package/mintlify-docs/api-reference/core-types/rbac-types.mdx +0 -163
  49. package/mintlify-docs/api-reference/core-types/session-types.mdx +0 -77
  50. package/mintlify-docs/api-reference/core-types/user-management.mdx +0 -112
  51. package/mintlify-docs/api-reference/core-types/workflow-types.mdx +0 -88
  52. package/mintlify-docs/api-reference/core-types.mdx +0 -585
  53. package/mintlify-docs/api-reference/dynamic-types.mdx +0 -851
  54. package/mintlify-docs/api-reference/endpoint/create.mdx +0 -4
  55. package/mintlify-docs/api-reference/endpoint/delete.mdx +0 -4
  56. package/mintlify-docs/api-reference/endpoint/get.mdx +0 -4
  57. package/mintlify-docs/api-reference/endpoint/webhook.mdx +0 -4
  58. package/mintlify-docs/api-reference/introduction.mdx +0 -661
  59. package/mintlify-docs/api-reference/mutations.mdx +0 -1012
  60. package/mintlify-docs/api-reference/openapi.json +0 -217
  61. package/mintlify-docs/api-reference/queries.mdx +0 -1154
  62. package/mintlify-docs/backend/introduction.mdx +0 -218
  63. package/mintlify-docs/changelog.mdx +0 -387
  64. package/mintlify-docs/community-edition.mdx +0 -304
  65. package/mintlify-docs/core/exulu-agent/api-reference.mdx +0 -894
  66. package/mintlify-docs/core/exulu-agent/configuration.mdx +0 -690
  67. package/mintlify-docs/core/exulu-agent/introduction.mdx +0 -552
  68. package/mintlify-docs/core/exulu-app/api-reference.mdx +0 -481
  69. package/mintlify-docs/core/exulu-app/configuration.mdx +0 -319
  70. package/mintlify-docs/core/exulu-app/introduction.mdx +0 -117
  71. package/mintlify-docs/core/exulu-authentication.mdx +0 -810
  72. package/mintlify-docs/core/exulu-chunkers/api-reference.mdx +0 -1011
  73. package/mintlify-docs/core/exulu-chunkers/configuration.mdx +0 -596
  74. package/mintlify-docs/core/exulu-chunkers/introduction.mdx +0 -403
  75. package/mintlify-docs/core/exulu-context/api-reference.mdx +0 -911
  76. package/mintlify-docs/core/exulu-context/configuration.mdx +0 -648
  77. package/mintlify-docs/core/exulu-context/introduction.mdx +0 -394
  78. package/mintlify-docs/core/exulu-database.mdx +0 -811
  79. package/mintlify-docs/core/exulu-default-agents.mdx +0 -545
  80. package/mintlify-docs/core/exulu-eval/api-reference.mdx +0 -772
  81. package/mintlify-docs/core/exulu-eval/configuration.mdx +0 -680
  82. package/mintlify-docs/core/exulu-eval/introduction.mdx +0 -459
  83. package/mintlify-docs/core/exulu-logging.mdx +0 -464
  84. package/mintlify-docs/core/exulu-otel.mdx +0 -670
  85. package/mintlify-docs/core/exulu-queues/api-reference.mdx +0 -648
  86. package/mintlify-docs/core/exulu-queues/configuration.mdx +0 -650
  87. package/mintlify-docs/core/exulu-queues/introduction.mdx +0 -474
  88. package/mintlify-docs/core/exulu-reranker/api-reference.mdx +0 -630
  89. package/mintlify-docs/core/exulu-reranker/configuration.mdx +0 -663
  90. package/mintlify-docs/core/exulu-reranker/introduction.mdx +0 -516
  91. package/mintlify-docs/core/exulu-tool/api-reference.mdx +0 -723
  92. package/mintlify-docs/core/exulu-tool/configuration.mdx +0 -805
  93. package/mintlify-docs/core/exulu-tool/introduction.mdx +0 -539
  94. package/mintlify-docs/core/exulu-variables/api-reference.mdx +0 -699
  95. package/mintlify-docs/core/exulu-variables/configuration.mdx +0 -736
  96. package/mintlify-docs/core/exulu-variables/introduction.mdx +0 -511
  97. package/mintlify-docs/development.mdx +0 -94
  98. package/mintlify-docs/docs.json +0 -248
  99. package/mintlify-docs/enterprise-edition.mdx +0 -538
  100. package/mintlify-docs/essentials/code.mdx +0 -35
  101. package/mintlify-docs/essentials/images.mdx +0 -59
  102. package/mintlify-docs/essentials/markdown.mdx +0 -88
  103. package/mintlify-docs/essentials/navigation.mdx +0 -87
  104. package/mintlify-docs/essentials/reusable-snippets.mdx +0 -110
  105. package/mintlify-docs/essentials/settings.mdx +0 -318
  106. package/mintlify-docs/favicon.svg +0 -3
  107. package/mintlify-docs/frontend/introduction.mdx +0 -39
  108. package/mintlify-docs/getting-started.mdx +0 -267
  109. package/mintlify-docs/guides/custom-agent.mdx +0 -608
  110. package/mintlify-docs/guides/first-agent.mdx +0 -315
  111. package/mintlify-docs/images/admin_ui.png +0 -0
  112. package/mintlify-docs/images/contexts.png +0 -0
  113. package/mintlify-docs/images/create_agents.png +0 -0
  114. package/mintlify-docs/images/evals.png +0 -0
  115. package/mintlify-docs/images/graphql.png +0 -0
  116. package/mintlify-docs/images/graphql_api.png +0 -0
  117. package/mintlify-docs/images/hero-dark.png +0 -0
  118. package/mintlify-docs/images/hero-light.png +0 -0
  119. package/mintlify-docs/images/hero.png +0 -0
  120. package/mintlify-docs/images/knowledge_sources.png +0 -0
  121. package/mintlify-docs/images/mcp.png +0 -0
  122. package/mintlify-docs/images/scaling.png +0 -0
  123. package/mintlify-docs/index.mdx +0 -411
  124. package/mintlify-docs/logo/dark.svg +0 -9
  125. package/mintlify-docs/logo/light.svg +0 -9
  126. package/mintlify-docs/partners.mdx +0 -558
  127. package/mintlify-docs/products.mdx +0 -77
  128. package/mintlify-docs/snippets/snippet-intro.mdx +0 -4
  129. package/mintlify-docs/styles.css +0 -207
  130. package/ngrok.bash +0 -1
  131. package/ngrok.md +0 -6
  132. package/ngrok.yml +0 -10
  133. package/release.config.cjs +0 -15
  134. package/skills-lock.json +0 -10
  135. package/types/context-processor.ts +0 -45
  136. package/types/enums/eval-types.ts +0 -5
  137. package/types/enums/field-types.ts +0 -1
  138. package/types/enums/jobs.ts +0 -11
  139. package/types/enums/statistics.ts +0 -13
  140. package/types/exulu-table-definition.ts +0 -79
  141. package/types/file-types.ts +0 -18
  142. package/types/models/agent-session.ts +0 -27
  143. package/types/models/agent.ts +0 -68
  144. package/types/models/context.ts +0 -53
  145. package/types/models/embedding.ts +0 -17
  146. package/types/models/eval-run.ts +0 -40
  147. package/types/models/exulu-agent-tool-config.ts +0 -11
  148. package/types/models/item.ts +0 -21
  149. package/types/models/job.ts +0 -8
  150. package/types/models/project.ts +0 -16
  151. package/types/models/rate-limiter-rules.ts +0 -7
  152. package/types/models/test-case.ts +0 -25
  153. package/types/models/tool.ts +0 -9
  154. package/types/models/user-role.ts +0 -12
  155. package/types/models/user.ts +0 -20
  156. package/types/models/variable.ts +0 -8
  157. package/types/models/vector-methods.ts +0 -7
  158. package/types/provider-config.ts +0 -21
  159. package/types/queue-config.ts +0 -16
  160. package/types/rbac-rights-modes.ts +0 -1
  161. package/types/statistics.ts +0 -20
  162. package/types/workflow.ts +0 -31
  163. /package/ee/{documents → python/documents}/THIRD_PARTY_LICENSES/docling.txt +0 -0
  164. /package/ee/{documents/processing → python}/requirements.txt +0 -0
@@ -1,207 +0,0 @@
1
- /* Custom styles matching Exulu CI from frontend/app/globals.css */
2
-
3
- /* Root variables matching brand colors */
4
- :root {
5
- --exulu-primary: hsl(257.9412, 100%, 60%);
6
- --exulu-primary-light: hsl(257.9412, 100%, 68%);
7
- --exulu-primary-dark: hsl(257.9412, 100%, 52%);
8
- --exulu-accent: hsl(208.209, 100%, 73.7255%);
9
- --exulu-radius: 0.4rem;
10
- }
11
-
12
- .dark {
13
- --exulu-primary: hsl(257.6687, 100%, 68.0392%);
14
- --exulu-primary-light: hsl(257.6687, 100%, 76%);
15
- --exulu-primary-dark: hsl(257.6687, 100%, 60%);
16
- --exulu-accent: hsl(208.209, 100%, 73.7255%);
17
- }
18
-
19
- /* Hero section gradients */
20
- .hero-gradient {
21
- background: linear-gradient(135deg, var(--exulu-primary) 0%, var(--exulu-primary-dark) 100%);
22
- }
23
-
24
- .hero-gradient-light {
25
- background: linear-gradient(135deg, var(--exulu-primary-light) 0%, var(--exulu-primary) 100%);
26
- }
27
-
28
- /* Feature cards with hover effects */
29
- .feature-card {
30
- transition: all 0.3s ease;
31
- border: 1px solid hsl(257.9412, 100%, 60%, 0.1);
32
- border-radius: var(--exulu-radius);
33
- }
34
-
35
- .feature-card:hover {
36
- transform: translateY(-4px);
37
- box-shadow: 0 12px 24px hsl(257.9412, 100%, 60%, 0.15);
38
- border-color: hsl(257.9412, 100%, 60%, 0.3);
39
- }
40
-
41
- /* Stats section */
42
- .stat-item {
43
- text-align: center;
44
- padding: 2rem;
45
- }
46
-
47
- .stat-number {
48
- font-size: 3rem;
49
- font-weight: 700;
50
- background: linear-gradient(135deg, var(--exulu-primary) 0%, var(--exulu-primary-light) 100%);
51
- -webkit-background-clip: text;
52
- -webkit-text-fill-color: transparent;
53
- background-clip: text;
54
- }
55
-
56
- .stat-label {
57
- font-size: 1rem;
58
- color: #64748b;
59
- margin-top: 0.5rem;
60
- }
61
-
62
- /* CTA buttons */
63
- .cta-primary {
64
- background: linear-gradient(135deg, var(--exulu-primary) 0%, var(--exulu-primary-dark) 100%);
65
- color: white;
66
- padding: 1rem 2rem;
67
- border-radius: var(--exulu-radius);
68
- font-weight: 600;
69
- text-decoration: none;
70
- display: inline-block;
71
- transition: all 0.3s ease;
72
- box-shadow: 0 4px 6px hsl(257.9412, 100%, 60%, 0.2);
73
- }
74
-
75
- .cta-primary:hover {
76
- transform: translateY(-2px);
77
- box-shadow: 0 6px 12px hsl(257.9412, 100%, 60%, 0.3);
78
- color: white;
79
- }
80
-
81
- .cta-secondary {
82
- background: transparent;
83
- color: var(--exulu-primary);
84
- padding: 1rem 2rem;
85
- border-radius: var(--exulu-radius);
86
- font-weight: 600;
87
- text-decoration: none;
88
- display: inline-block;
89
- border: 2px solid var(--exulu-primary);
90
- transition: all 0.3s ease;
91
- }
92
-
93
- .cta-secondary:hover {
94
- background: hsl(257.9412, 100%, 60%, 0.1);
95
- transform: translateY(-2px);
96
- }
97
-
98
- /* Section spacing */
99
- .section-padding {
100
- padding: 4rem 0;
101
- }
102
-
103
- /* Badge styles */
104
- .badge {
105
- display: inline-block;
106
- padding: 0.5rem 1rem;
107
- background: hsl(257.9412, 100%, 60%, 0.1);
108
- color: var(--exulu-primary);
109
- border-radius: 9999px;
110
- font-size: 0.875rem;
111
- font-weight: 600;
112
- margin-bottom: 1rem;
113
- }
114
-
115
- /* Dark mode adjustments */
116
- .dark .stat-label {
117
- color: #94a3b8;
118
- }
119
-
120
- .dark .feature-card {
121
- border-color: hsl(257.6687, 100%, 68.0392%, 0.2);
122
- background: rgba(15, 23, 42, 0.5);
123
- }
124
-
125
- .dark .feature-card:hover {
126
- border-color: hsl(257.6687, 100%, 68.0392%, 0.4);
127
- background: rgba(15, 23, 42, 0.8);
128
- }
129
-
130
- /* Testimonial styles */
131
- .testimonial {
132
- padding: 2rem;
133
- border-left: 4px solid var(--exulu-primary);
134
- background: hsl(257.9412, 100%, 60%, 0.05);
135
- border-radius: var(--exulu-radius);
136
- margin: 1rem 0;
137
- }
138
-
139
- .dark .testimonial {
140
- background: hsl(257.6687, 100%, 68.0392%, 0.1);
141
- }
142
-
143
- /* Logo showcase */
144
- .logo-grid {
145
- display: grid;
146
- grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
147
- gap: 2rem;
148
- align-items: center;
149
- justify-items: center;
150
- padding: 2rem 0;
151
- opacity: 0.6;
152
- }
153
-
154
- .logo-grid img {
155
- max-width: 120px;
156
- height: auto;
157
- filter: grayscale(100%);
158
- transition: all 0.3s ease;
159
- }
160
-
161
- .logo-grid img:hover {
162
- filter: grayscale(0%);
163
- opacity: 1;
164
- }
165
-
166
- /* Animated gradient text */
167
- .gradient-text {
168
- background: linear-gradient(135deg, var(--exulu-primary) 0%, var(--exulu-primary-light) 50%, var(--exulu-primary) 100%);
169
- background-size: 200% auto;
170
- -webkit-background-clip: text;
171
- -webkit-text-fill-color: transparent;
172
- background-clip: text;
173
- animation: gradient 3s ease infinite;
174
- }
175
-
176
- @keyframes gradient {
177
- 0%, 100% {
178
- background-position: 0% center;
179
- }
180
- 50% {
181
- background-position: 100% center;
182
- }
183
- }
184
-
185
- /* Feature icons */
186
- .feature-icon {
187
- width: 3rem;
188
- height: 3rem;
189
- display: flex;
190
- align-items: center;
191
- justify-content: center;
192
- background: linear-gradient(135deg, var(--exulu-primary) 0%, var(--exulu-primary-light) 100%);
193
- border-radius: var(--exulu-radius);
194
- color: white;
195
- font-size: 1.5rem;
196
- margin-bottom: 1rem;
197
- }
198
-
199
- /* Font customization matching CI */
200
- body {
201
- font-family: 'Inter', system-ui, sans-serif;
202
- letter-spacing: -0.025em;
203
- }
204
-
205
- code, pre {
206
- font-family: 'JetBrains Mono', monospace;
207
- }
package/ngrok.bash DELETED
@@ -1 +0,0 @@
1
- ngrok start --all --config ./ngrok.yml
package/ngrok.md DELETED
@@ -1,6 +0,0 @@
1
- To run ngrok so a cloud based client such as ChatGPT or Anthropic Claude can connect to your local MCP
2
- run the command:
3
-
4
- ```bash
5
- ngrok start --all --config ./ngrok.yml
6
- ```
package/ngrok.yml DELETED
@@ -1,10 +0,0 @@
1
- version: "2"
2
- authtoken: 1bDq4H21OulxgyopkEHZ5eH3Psh_6aNDpzDuBCTCVjtK7nMNx
3
- tunnels:
4
- backend:
5
- #host_header: "rewrite"
6
- #response_header:
7
- #add: ["Access-Control-Allow-Origin: *"]
8
- proto: http
9
- addr: 9001
10
- domain: exulu.ngrok.app
@@ -1,15 +0,0 @@
1
- module.exports = {
2
- branches: ['main', { name: 'next', prerelease: true }],
3
- plugins: [
4
- '@semantic-release/commit-analyzer',
5
- '@semantic-release/release-notes-generator',
6
- '@semantic-release/changelog',
7
- '@semantic-release/npm',
8
- [
9
- '@semantic-release/github',
10
- {
11
- assets: []
12
- }
13
- ]
14
- ],
15
- }
package/skills-lock.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "version": 1,
3
- "skills": {
4
- "mintlify": {
5
- "source": "mintlify.com",
6
- "sourceType": "well-known",
7
- "computedHash": "fc61ab6703f692dc2c215e74327a8998d02987ca9571084440be20e7ecad6b46"
8
- }
9
- }
10
- }
@@ -1,45 +0,0 @@
1
- import type { ExuluStorage } from "@SRC/exulu/storage";
2
- import type { Item } from "./models/item";
3
- import type { ExuluConfig } from "@SRC/exulu/app";
4
- import type { ExuluQueueConfig } from "./queue-config";
5
-
6
- export type ExuluContextProcessor = {
7
- name: string;
8
- description: string;
9
- filter: ({
10
- item,
11
- user,
12
- role,
13
- utils,
14
- exuluConfig,
15
- }: {
16
- item: Item;
17
- user?: number;
18
- role?: string;
19
- utils: {
20
- storage: ExuluStorage;
21
- };
22
- exuluConfig: ExuluConfig;
23
- }) => Promise<Item | undefined | null>;
24
- execute: ({
25
- item,
26
- user,
27
- role,
28
- utils,
29
- exuluConfig,
30
- }: {
31
- item: Item;
32
- user?: number;
33
- role?: string;
34
- utils: {
35
- storage: ExuluStorage;
36
- };
37
- exuluConfig: ExuluConfig;
38
- }) => Promise<Item>;
39
- config?: {
40
- queue?: Promise<ExuluQueueConfig>;
41
- timeoutInSeconds?: number; // 3 minutes default
42
- trigger: "manual" | "onUpdate" | "onInsert" | "always";
43
- generateEmbeddings?: boolean; // defines if embeddings are generated after the processor finishes executing
44
- };
45
- };
@@ -1,5 +0,0 @@
1
- export type EVAL_TYPES = "llm_as_judge";
2
-
3
- export const EVAL_TYPES_ENUM = {
4
- llm_as_judge: "llm_as_judge"
5
- };
@@ -1 +0,0 @@
1
- export type ExuluFieldTypes = "text" | "longText" | "shortText" | "number" | "boolean" | "code" | "json" | "enum" | "markdown" | "file" | "date" | "uuid"
@@ -1,11 +0,0 @@
1
- export type JOB_STATUS = "completed" | "failed" | "delayed" | "active" | "waiting" | "paused" | "stuck";
2
-
3
- export const JOB_STATUS_ENUM = {
4
- completed: "completed",
5
- failed: "failed",
6
- delayed: "delayed",
7
- active: "active",
8
- waiting: "waiting",
9
- paused: "paused",
10
- stuck: "stuck"
11
- };
@@ -1,13 +0,0 @@
1
- export type STATISTICS_TYPE = "CONTEXT_RETRIEVE" | "SOURCE_UPDATE" | "EMBEDDER_UPSERT" | "EMBEDDER_GENERATE" | "EMBEDDER_DELETE" | "WORKFLOW_RUN" | "CONTEXT_UPSERT" | "TOOL_CALL" | "AGENT_RUN";
2
-
3
- export const STATISTICS_TYPE_ENUM = {
4
- CONTEXT_RETRIEVE: "CONTEXT_RETRIEVE",
5
- SOURCE_UPDATE: "SOURCE_UPDATE",
6
- EMBEDDER_UPSERT: "EMBEDDER_UPSERT",
7
- EMBEDDER_GENERATE: "EMBEDDER_GENERATE",
8
- EMBEDDER_DELETE: "EMBEDDER_DELETE",
9
- WORKFLOW_RUN: "WORKFLOW_RUN",
10
- CONTEXT_UPSERT: "CONTEXT_UPSERT",
11
- TOOL_CALL: "TOOL_CALL",
12
- AGENT_RUN: "AGENT_RUN"
13
- };
@@ -1,79 +0,0 @@
1
- import type { ExuluContextFieldDefinition } from "@SRC/exulu/context";
2
- import type { ExuluContextProcessor } from "./context-processor";
3
-
4
- export type ExuluTableDefinition = {
5
- type?:
6
- | "feedback"
7
- | "test_cases"
8
- | "eval_sets"
9
- | "eval_runs"
10
- | "agent_sessions"
11
- | "agent_messages"
12
- | "eval_results"
13
- | "workflow_templates"
14
- | "tracking"
15
- | "rbac"
16
- | "users"
17
- | "variables"
18
- | "roles"
19
- | "agents"
20
- | "items"
21
- | "projects"
22
- | "project_items"
23
- | "platform_configurations"
24
- | "job_results"
25
- | "prompt_library"
26
- | "prompt_favorites"
27
- | "embedder_settings";
28
- id?: string;
29
- name: {
30
- plural:
31
- | "feedback"
32
- | "test_cases"
33
- | "eval_sets"
34
- | "eval_runs"
35
- | "agent_sessions"
36
- | "agent_messages"
37
- | "eval_results"
38
- | "workflow_templates"
39
- | "tracking"
40
- | "rbac"
41
- | "users"
42
- | "variables"
43
- | "roles"
44
- | "agents"
45
- | "projects"
46
- | "project_items"
47
- | "platform_configurations"
48
- | "job_results"
49
- | "prompt_library"
50
- | "prompt_favorites"
51
- | "embedder_settings";
52
- singular:
53
- | "feedback"
54
- | "test_case"
55
- | "eval_set"
56
- | "eval_run"
57
- | "agent_session"
58
- | "agent_message"
59
- | "eval_result"
60
- | "workflow_template"
61
- | "tracking"
62
- | "rbac"
63
- | "user"
64
- | "variable"
65
- | "role"
66
- | "agent"
67
- | "project"
68
- | "project_item"
69
- | "platform_configuration"
70
- | "job_result"
71
- | "prompt_library_item"
72
- | "prompt_favorite"
73
- | "embedder_setting";
74
- };
75
- processor?: ExuluContextProcessor;
76
- fields: ExuluContextFieldDefinition[];
77
- RBAC?: boolean;
78
- graphql?: boolean;
79
- };
@@ -1,18 +0,0 @@
1
- export type allFileTypes = imageTypes | fileTypes | audioTypes | videoTypes;
2
- type audioTypes = ".mp3" | ".wav" | ".m4a" | ".mp4" | ".mpeg";
3
- type videoTypes = ".mp4" | ".m4a" | ".mp3" | ".mpeg" | ".wav";
4
- type imageTypes = ".png" | ".jpg" | ".jpeg" | ".gif" | ".webp";
5
- type fileTypes =
6
- | ".pdf"
7
- | ".docx"
8
- | ".doc"
9
- | ".xlsx"
10
- | ".xls"
11
- | ".csv"
12
- | ".pptx"
13
- | ".ppt"
14
- | ".txt"
15
- | ".md"
16
- | ".json"
17
- | ".srt"
18
- | ".html";
@@ -1,27 +0,0 @@
1
- export interface AgentSession {
2
- createdAt: string;
3
- updatedAt: string;
4
- id: string;
5
- metadata: any;
6
- agentId: string;
7
- resourceId: string;
8
- project: string;
9
- title: string;
10
- created_by: string;
11
- session_items: string[];
12
- rights_mode: 'private' | 'users' | 'roles' | 'public' /* | 'projects' */
13
- RBAC?: {
14
- type?: string;
15
- users?: Array<{ id: string; rights: 'read' | 'write' }>;
16
- roles?: Array<{ id: string; rights: 'read' | 'write' }>;
17
- /* projects?: Array<{ id: string; rights: 'read' | 'write' }>; */
18
- };
19
- }
20
- export interface AgentMessage {
21
- id: string;
22
- thread_id: string;
23
- content: string;
24
- role: "function" | "data" | "user" | "system" | "assistant" | "tool";
25
- type: string;
26
- createdAt: Date;
27
- }
@@ -1,68 +0,0 @@
1
- import type { ExuluProviderWorkflowConfig } from "@SRC/exulu/provider";
2
-
3
- export interface ExuluAgent {
4
- id: string;
5
- modelName?: string;
6
- providerName?: string;
7
- provider: string;
8
- source: "code" | "database";
9
- memory?: string;
10
- welcomemessage?: string;
11
- type: "agent";
12
- name: string;
13
- image?: string;
14
- providerapikey?: string;
15
- workflows?: ExuluProviderWorkflowConfig;
16
- firewall?: {
17
- enabled: boolean;
18
- scanners?: {
19
- promptGuard: boolean;
20
- codeShield: boolean;
21
- agentAlignment: boolean;
22
- hiddenAscii: boolean;
23
- piiDetection: boolean;
24
- }
25
- }
26
- active?: boolean;
27
- description?: string;
28
- instructions?: string;
29
- feedback?: boolean;
30
- slug?: string;
31
- tools?: {
32
- id: string;
33
- type: string;
34
- config: {
35
- name: string;
36
- variable: string;
37
- type: "boolean" | "string" | "number" | "variable";
38
- }[];
39
- name: string;
40
- description: string;
41
- }[];
42
- maxContextLength?: number;
43
- authenticationInformation?: string;
44
- systemInstructions?: string;
45
- capabilities?: {
46
- text: boolean;
47
- images: imageTypes[];
48
- files: fileTypes[];
49
- audio: audioTypes[];
50
- video: videoTypes[];
51
- }
52
- // New RBAC fields
53
- rights_mode?: 'private' | 'users' | 'roles' | 'public'
54
- created_by?: string | number;
55
- RBAC?: {
56
- type?: string;
57
- users?: Array<{ id: number; rights: 'read' | 'write' }>;
58
- roles?: Array<{ id: string; rights: 'read' | 'write' }>;
59
- };
60
- createdAt?: string;
61
- updatedAt?: string;
62
- }
63
-
64
- export type imageTypes = '.png' | '.jpg' | '.jpeg' | '.gif' | '.webp';
65
- export type fileTypes = '.pdf' | '.docx' | '.xlsx' | '.xls' | '.csv' | '.pptx' | '.ppt' | '.txt' | '.md' | '.json';
66
- export type audioTypes = '.mp3' | '.wav' | '.m4a' | '.mp4' | '.mpeg';
67
- export type videoTypes = '.mp4' | '.m4a' | '.mp3' | '.mpeg' | '.wav';
68
- export type allFileTypes = imageTypes | fileTypes | audioTypes | videoTypes;
@@ -1,53 +0,0 @@
1
- import type { ExuluFieldTypes } from "../enums/field-types"
2
- import { allFileTypes } from "../../src/registry/classes"
3
-
4
- export interface Context {
5
- id: string
6
- name: string
7
- description: string
8
- embedder?: {
9
- name: string,
10
- queue: string,
11
- id: string,
12
- config?: {
13
- name: string,
14
- description: string,
15
- default: string
16
- }[]
17
- }
18
- active: boolean
19
- slug: string
20
- processor: {
21
- name: string,
22
- description: string,
23
- queue: string,
24
- trigger: string,
25
- timeoutInSeconds: number,
26
- generateEmbeddings: boolean
27
- }[]
28
- sources: {
29
- id
30
- name
31
- description
32
- config: {
33
- schedule?: string
34
- queue?: string
35
- retries?: number
36
- params?: {
37
- name: string,
38
- description: string,
39
- default: string
40
- }[]
41
- backoff?: {
42
- type: 'exponential' | 'linear'
43
- delay: number
44
- }
45
- }
46
- }[]
47
- fields: {
48
- name: string
49
- type: ExuluFieldTypes
50
- label: string
51
- allowedFileTypes?: allFileTypes[]
52
- }[]
53
- }
@@ -1,17 +0,0 @@
1
- export interface Embedding {
2
- collection: string
3
- metadata: {
4
- certainty: number
5
- creation_time?: string
6
- distance?: number
7
- }
8
- uuid: string
9
- properties: {
10
- chunk_count: string
11
- chunk_index: string
12
- external_id: string
13
- original_content: string
14
- original_image: string
15
- original_title: string
16
- }
17
- }
@@ -1,40 +0,0 @@
1
- export type ScoringMethod = "median" | "sum" | "average"
2
-
3
- export interface EvalRunEvalFunction {
4
- id: string
5
- name: string,
6
- config: Record<string, any>
7
- }
8
-
9
- export interface EvalRun {
10
- id: string
11
- name: string
12
- eval_set_id: string
13
- agent_id: string
14
- timeout_in_seconds: number
15
- eval_functions: EvalRunEvalFunction[]
16
- config?: Record<string, any> // Optional config for eval functions
17
- scoring_method: ScoringMethod
18
- pass_threshold: number // 0-100 percentage
19
- test_case_ids: string[] // Subset of test cases from the eval set
20
- rights_mode: "private" | "users" | "roles" |/* "projects" | */"public"
21
- RBAC?: {
22
- type?: string
23
- users?: Array<{ id: number; rights: "read" | "write" }>
24
- roles?: Array<{ id: string; rights: "read" | "write" }>
25
- // projects?: Array<{ id: string; rights: "read" | "write" }>
26
- }
27
- createdAt: string
28
- updatedAt: string
29
- }
30
-
31
- export interface EvalRunPagination {
32
- pageInfo: {
33
- pageCount: number
34
- itemCount: number
35
- currentPage: number
36
- hasPreviousPage: boolean
37
- hasNextPage: boolean
38
- }
39
- items: EvalRun[]
40
- }
@@ -1,11 +0,0 @@
1
- export type ExuluAgentToolConfig = {
2
- id: string;
3
- type: string;
4
- config: {
5
- name: string;
6
- variable: string | boolean | number; // is a variable name
7
- type: "boolean" | "string" | "number" | "variable";
8
- value?: any; // fetched on demand from the database based on the variable name
9
- default?: string | boolean | number;
10
- }[];
11
- }
@@ -1,21 +0,0 @@
1
- export interface Item {
2
- id?: string;
3
- name?: string;
4
- description?: string,
5
- createdAt?: string;
6
- updatedAt?: string;
7
- external_id?: string;
8
- source?: string;
9
- tags?: string[];
10
- textlength?: number;
11
- last_processed_at?: string;
12
- chunks?: {
13
- id: string;
14
- index: number;
15
- content: string;
16
- source: string;
17
- createdAt: string;
18
- updatedAt: string;
19
- }[];
20
- [key: string]: any;
21
- }
@@ -1,8 +0,0 @@
1
- export type Job = {
2
- id: string
3
- name: string
4
- status: string
5
- result?: string
6
- date_done?: Date
7
- date_started?: Date
8
- };