capabilities.work

Add a document to a knowledge base from raw text

One step with Dify. We can help you get access.

Get something done

Add a document to a knowledge base from raw text

with Dify · Retrieval & Embeddings

Use Dify: its Dify Service Documents API lets you add a document to a knowledge base from raw text in a single step (POST /datasets/{dataset_id}/document/create-by-text). capabilities.work can help you get signed up and connected.

  • How do I add pasted text as a new document in my Dify knowledge base?
  • Can I choose parent-child or Q&A chunking when creating a document from text?
  • Which indexing technique must I set when adding the very first text document?
Say it to your AI assistant
  • Create a document named {name} in knowledge base {dataset_id} from the text {text}.
  • Add text {text} as document {name} to {dataset_id} using {indexing_technique} indexing.
For your developer

POST /datasets/{dataset_id}/document/create-by-text in Dify Service Documents API. Full spec on APIs.io.