Ways people use GPTree
Build a documentation chatbot on your own corpus
Push your documentation into GPTree, then answer questions about it with citations that resolve to exact passages, using whatever model you already run.
You have a pile of documentation and a question people keep asking of it. The obvious build is a chatbot over your own content, and the hard part was never the chat.
The hard part is that a retrieval demo will happily print a citation marker that resolves to nothing.
What GPTree does for this
Send your documents in over the API. Then, for each question, you have two ways to work.
Bring your own model. Call the context endpoint with the question and get back a block of cited passages, already assembled to a character budget, ready to paste into your own prompt. Your model writes the answer. GPTree never sees your prompt or your model choice.
Or let GPTree answer. Call the ask endpoint and get a cited answer in one request, with a report on how much of the corpus was actually read.
Either way, every citation marker in the result resolves to an exact passage in a specific version of a specific document. Markers a model invented are removed before you see them and counted, which is the whole difference between this and a retrieval demo that happens to print brackets.
The part that makes it usable
It can say no.
When the corpus cannot support an answer, you get a refusal with a reason rather than a plausible paragraph. That sounds like a limitation, and it is why the answers you do get are worth acting on. A bot that always produces something readable is one somebody has to check every time.
Partial coverage is reported as partial. If it read four passages out of eleven, the response says so and names what it left out, so "correct about what it saw" never gets mistaken for "correct".
Keeping it current
Your documentation changes. The sync contract is built for that:
- Send an identifier you already use, and GPTree hands it back on every listing, so reconciling your source against GPTree is a comparison of two lists rather than a guess at matching titles.
- Send a delivery key on every write, so a retry after a timeout is answerable instead of a coin flip.
- Deletion is explicit. A document you stop sending is not removed, because "absent from this batch" is also what a crashed job looks like.
- Large documents and file uploads go to a queue and come back with a job reference you poll.
When a source document changes underneath an answer you gave last month, the record of what that answer was built from is still there.
What you need
A Pro or Team plan for adding your own documents, a token with read and ingest permissions, and the developer documentation. There is a reference sync client in Python, standard library only, and a full worked transcript of the whole sequence including the refusal path.