Project Commands
Thekdx project command provides extended operations for working with projects, including creating projects from templates.
Available Commands
| Command | Description |
|---|---|
create | Create a new project from a template |
Create Project from Template
Create a new project using a project template. Project templates provide pre-configured assistants, document stores, data stores, and processing pipelines.Required Flags
| Flag | Description |
|---|---|
--template | Project template reference (e.g., satori/satori-spreading-project-template:1.0.0) |
--org | Organization slug where the project will be created |
--name | Name for the new project |
Optional Flags
| Flag | Description |
|---|---|
--description | Project description |
Examples
Output
Listing Available Templates
To see available project templates:Output
Listing Organizations
To see available organizations:Output
Complete Workflow Example
Here’s a complete workflow from project creation to data extraction:What Project Templates Include
A project template typically includes:| Component | Description |
|---|---|
| Assistants | Pre-configured processing pipelines |
| Document Stores | Storage for input documents |
| Data Stores | Storage for extracted data |
| Taxonomies | Data definitions and schemas |
| Data Forms | UI configurations for data review |
| Knowledge Sets | Domain knowledge for extraction |
Store Naming Convention
When a project is created from a template, stores are typically named:| Store Type | Naming Pattern |
|---|---|
| Processing Store | {org}/{project-id}-processing:1.0.0 |
| Data Store | {org}/{project-id}-data:1.0.0 |
Troubleshooting
Organization Not Found
kdx get organizations
Template Not Found
- Verify the template reference with
kdx get project-templates - Ensure you have access to the template
