ragDeleteWorkspace( )
Deletes a RAG workspace and all its data. The workspace must not be currently loaded/in-use.
function ragDeleteWorkspace(params: infer): PromiseDescription
Deletes a RAG workspace and all its data. The workspace must not be currently loaded/in-use.
Parameters
| Name | Type | Required? | Description |
|---|---|---|---|
params | infer | ✓ | The parameters for deletion |
Returns
PromiseExamples
await ragDeleteWorkspace({ workspace: "my-docs" });ragDeleteEmbeddings( )
Deletes document embeddings from the RAG vector database. **Workspace lifecycle:** This operation requires an existing workspace.
ragIngest( )
Ingests documents into the RAG vector database. Full pipeline: chunk → embed → save **Workspace lifecycle:** This operation implicitly opens (or creates) the workspace. The workspace remains open until closed.