1 · Add your documents
Paste text or drop PDF / Markdown / text files. They're chunked, embedded, and indexed instantly.
…or click / drop files here (.pdf, .md, .txt)
Show the GraphQL
# pasted text:
mutation Upload($content: String!, $title: String) {
uploadDocument(content: $content, title: $title) {
id
title
chunkCount
}
}
# files (PDF/Markdown/text) as a GraphQL multipart request:
mutation UploadFile($file: Upload!, $title: String) {
uploadFile(file: $file, title: $title) {
id
title
chunkCount
}
}
2 · Ask questions
Answers are grounded in your documents, with ranked sources.
Show the GraphQL
query Ask($question: String!) {
answer(question: $question) {
text
sources { documentTitle text score }
}
}