@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,315 +0,0 @@
1
- ---
2
- title: "Default Agents"
3
- description: "Learn how to create and configure your first AI agent in Exulu IMP"
4
- ---
5
-
6
- ## Introduction
7
-
8
- This guide walks you through creating and configuring your first AI agent in the Exulu Intelligence Management Platform. You'll learn how to set up a basic agent, configure its backend, add API credentials, and control access.
9
-
10
- <iframe
11
- width="100%"
12
- height="400"
13
- src="https://share.descript.com/embed/fXOIXyxLTlg"
14
- title="Setting Up Your First Agent"
15
- frameborder="0"
16
- allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
17
- allowfullscreen
18
- ></iframe>
19
-
20
- ## Prerequisites
21
-
22
- Before creating an agent, ensure you have:
23
-
24
- - A running Exulu IMP instance (see [Getting Started](/getting-started))
25
- - Admin rights (required to create agents)
26
- - An API key for your chosen LLM provider (e.g., Anthropic, OpenAI, Google Vertex AI)
27
- - Logged into the dashboard at `http://localhost:3000`
28
-
29
- <Warning>You must have admin rights to create and manage agents. Contact your system administrator if you don't have the necessary permissions.</Warning>
30
-
31
- ## Step 1: Navigate to Agents
32
-
33
- After logging into your Exulu IMP dashboard:
34
-
35
- 1. Look at the left-side navigation panel
36
- 2. Click on **Agents** in the menu
37
- 3. Click the **Create New Agent** button
38
-
39
- You'll be taken to the agent creation form.
40
-
41
- ## Step 2: Configure Basic Information
42
-
43
- Start by providing basic details about your agent:
44
-
45
- ### Agent Name
46
- Give your agent a descriptive name. For example:
47
- - "General Support Agent"
48
- - "Code Review Assistant"
49
- - "Customer Service Bot"
50
-
51
- ### Description
52
- Add a brief description of what the agent does. This helps other users understand the agent's purpose.
53
-
54
- <Tip>Choose a clear, descriptive name that reflects the agent's intended use case. This makes it easier for users to find the right agent.</Tip>
55
-
56
- ### Category
57
- Select or create a category to organize your agents. Common categories include:
58
- - Support
59
- - Development
60
- - Sales
61
- - Research
62
-
63
- ## Step 3: Select an Agent Backend
64
-
65
- The **backend** refers to the underlying `ExuluAgent` class instance configured in code. This defines which language model and provider your agent uses.
66
-
67
- ### Understanding Backends
68
-
69
- Agent backends are created by developers and represent specific language model configurations. Each backend includes:
70
- - **Provider** - The AI service provider (Anthropic, OpenAI, Google, Azure, etc.)
71
- - **Model** - The specific language model (Claude Sonnet 4.5, GPT-4o, etc.)
72
- - **Configuration** - Custom settings for the model
73
-
74
- ### Default Backends
75
-
76
- Exulu IMP includes several pre-configured backends out of the box:
77
-
78
- | Provider | Model | Use Case |
79
- |----------|-------|----------|
80
- | Anthropic | Claude Sonnet 4.5 | General purpose, coding, analysis |
81
- | OpenAI | GPT-4o | Conversational AI, general tasks |
82
- | OpenAI | o1 | Advanced reasoning tasks |
83
- | Google | Gemini Pro | Multimodal tasks |
84
- | Azure | Azure OpenAI models | Enterprise deployments |
85
-
86
- Select the backend that best matches your use case. For this example, we'll use **Anthropic Claude Sonnet 4.5**.
87
-
88
- <Info>Custom backends can be created in code by developers. See the [ExuluAgent Configuration](/core/exulu-agent/configuration) guide for details.</Info>
89
-
90
- ### Additional Options
91
-
92
- - **Image Generation**: Toggle this on if you want the agent to generate images (requires appropriate backend support)
93
- - **Multimodal Support**: Some backends support image inputs automatically
94
-
95
- ## Step 4: Set System Instructions (Optional)
96
-
97
- System instructions provide global guidance to your agent that applies across all user sessions.
98
-
99
- ### What to Include
100
-
101
- System instructions can define:
102
- - The agent's role and persona
103
- - Response style and tone
104
- - General guidelines for tool usage
105
- - Domain-specific knowledge or constraints
106
- - Output formatting preferences
107
-
108
- ### Example System Instructions
109
-
110
- ```text
111
- You are a helpful customer support agent for Acme Corporation.
112
- Always be polite, professional, and concise in your responses.
113
- When users ask about account issues, use the account lookup tool
114
- before providing information. If you cannot help, escalate to
115
- a human agent.
116
- ```
117
-
118
- <Tip>Keep system instructions general. User-specific customizations can be added at the session level.</Tip>
119
-
120
- You can leave this empty for now and add it later as needed.
121
-
122
- ## Step 5: Configure API Key
123
-
124
- Most LLM providers require an API key for authentication. Exulu IMP stores these securely using encrypted variables.
125
-
126
- ### Creating an API Key Variable
127
-
128
- If you haven't already created a variable for your API key:
129
-
130
- 1. Navigate to **Variables** in the left sidebar
131
- 2. Click **Add Variable**
132
- 3. Configure the variable:
133
- - **Name**: Give it a descriptive name like `ANTHROPIC_API_KEY` or `OPENAI_API_KEY`
134
- - **Value**: Paste your API key from the provider
135
- - **Encrypt**: **IMPORTANT - Check this box**
136
-
137
- 4. Click **Save**
138
-
139
- <Warning>Always enable encryption for API keys. The system will reject unencrypted API keys for security reasons.</Warning>
140
-
141
- ### Assigning the API Key to Your Agent
142
-
143
- Back in the agent configuration:
144
-
145
- 1. Find the **API Key** dropdown
146
- 2. Select the variable you just created
147
- 3. The agent will now use this key when making API calls
148
-
149
- <Info>
150
- You can obtain API keys from your provider's dashboard:
151
-
152
- Anthropic: [console.anthropic.com](https://console.anthropic.com)
153
-
154
- OpenAI: [platform.openai.com](https://platform.openai.com)
155
-
156
- Google: [console.cloud.google.com](https://console.cloud.google.com)
157
- </Info>
158
-
159
- ## Step 6: Activate the Agent
160
-
161
- Before users can interact with your agent:
162
-
163
- 1. Toggle the **Active** switch to ON
164
- 2. Click **Save** to create the agent
165
-
166
- Your agent is now live and ready for testing!
167
-
168
- <Check>Your agent has been created and activated successfully!</Check>
169
-
170
- ## Step 7: Test Your Agent
171
-
172
- Let's verify the agent works correctly:
173
-
174
- 1. Navigate to **Chat** in the left sidebar
175
- 2. Click **Start New Session**
176
- 3. Select your newly created agent from the dropdown
177
- 4. Type a test message like "Good morning" or "Hello, how can you help me?"
178
- 5. The agent should respond appropriately
179
-
180
- If you receive a response, congratulations - your agent is working!
181
-
182
- <Tip>This is a basic agent without tools or context. Continue to the next guides to learn about adding tools and knowledge bases.</Tip>
183
-
184
- ## Step 8: Configure Access Control
185
-
186
- Control who can use your agent with granular access settings.
187
-
188
- ### Access Control Options
189
-
190
- Navigate to the **Access Control** tab on the agent editing page. You have several options:
191
-
192
- #### 1. Private
193
- - Only you can see and use this agent
194
- - Best for personal testing or development
195
-
196
- #### 2. Specific Users
197
- - Share with selected individual users
198
- - Good for team collaboration or beta testing
199
-
200
- #### 3. Specific Roles
201
- - Share with users who have certain roles (e.g., "Customer Support", "Engineering")
202
- - Ideal for department-specific agents
203
-
204
- #### 4. Public
205
- - Available to all users in your organization
206
- - Best for widely-used general-purpose agents
207
-
208
- #### 5. Project-Scoped
209
- - Share within specific projects
210
- - Useful for project-specific workflows
211
-
212
- ### Setting Access Control
213
-
214
- 1. Select your preferred access level
215
- 2. If using **Specific Users** or **Specific Roles**, choose from the available options
216
- 3. Click **Save** to apply the settings
217
-
218
- <Info>Access control can be changed at any time. Start with private access during testing, then expand as needed.</Info>
219
-
220
- ## Next Steps
221
-
222
- Now that you have a basic agent running, you can enhance it with:
223
-
224
- ### Add Tools
225
- Give your agent capabilities like web search, code execution, or database queries:
226
- - [ExuluTool Introduction](/core/exulu-tool/introduction)
227
- - [Tool Configuration](/core/exulu-tool/configuration)
228
-
229
- ### Add Knowledge Bases
230
- Provide domain-specific context through vector databases:
231
- - [ExuluContext Introduction](/core/exulu-context/introduction)
232
- - [Context Configuration](/core/exulu-context/configuration)
233
-
234
- ### Create Workflows
235
- Automate recurring tasks with scheduled workflows:
236
- - [ExuluApp Introduction](/core/exulu-app/introduction)
237
-
238
- ### Advanced Agent Configuration
239
- Customize behavior, prompts, and advanced settings:
240
- - [ExuluAgent Configuration](/core/exulu-agent/configuration)
241
- - [Agent API Reference](/core/exulu-agent/api-reference)
242
-
243
- ## Troubleshooting
244
-
245
- ### Agent Won't Respond
246
-
247
- If your agent doesn't respond or throws errors:
248
-
249
- - **Check API Key**: Verify the variable is encrypted and contains a valid key
250
- - **Check Provider Status**: Ensure the LLM provider's API is operational
251
- - **Check Logs**: Look at backend logs for error messages
252
- - **Verify Activation**: Ensure the agent is toggled to "Active"
253
-
254
- ### "Permission Denied" Errors
255
-
256
- If you can't create agents:
257
- - Verify you have admin rights in your user profile
258
- - Contact your system administrator for permission elevation
259
-
260
- ### API Key Not Appearing in Dropdown
261
-
262
- If your API key variable doesn't show up:
263
- - Ensure you saved the variable
264
- - Refresh the agent configuration page
265
- - Verify the variable is properly encrypted
266
-
267
- ### Agent Selection Not Available in Chat
268
-
269
- If you don't see your agent in chat:
270
- - Check access control settings
271
- - Ensure the agent is activated
272
- - Verify you have permission to use the agent
273
-
274
- ## Best Practices
275
-
276
- ### Naming Conventions
277
- - Use descriptive, clear names
278
- - Include the model type if you have multiple similar agents
279
- - Example: "Support Agent (Claude 4.5)" vs "Support Agent (GPT-4)"
280
-
281
- ### System Instructions
282
- - Keep instructions concise and focused
283
- - Test different instruction sets to find what works best
284
- - Version your instructions and track changes
285
-
286
- ### API Key Management
287
- - Never share API keys
288
- - Use separate keys for development and production
289
- - Rotate keys periodically for security
290
- - Monitor usage to avoid unexpected charges
291
-
292
- ### Access Control Strategy
293
- - Start with private access during development
294
- - Gradually expand to specific users for testing
295
- - Only make public after thorough testing
296
- - Regularly review who has access
297
-
298
- ### Testing
299
- - Test with a variety of prompts
300
- - Include edge cases and error scenarios
301
- - Verify behavior matches expectations
302
- - Get feedback from actual users before wider rollout
303
-
304
- ## Summary
305
-
306
- You've successfully created your first AI agent in Exulu IMP! You learned how to:
307
-
308
- - Navigate to the agent creation interface
309
- - Configure basic agent information
310
- - Select an appropriate backend (LLM provider and model)
311
- - Securely store and assign API keys
312
- - Activate and test your agent
313
- - Configure access control settings
314
-
315
- Your agent is now ready to use, but this is just the beginning. Explore tools, knowledge bases, and workflows to create truly powerful AI assistants tailored to your specific needs.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file