Add documents
Documents tell a pack what your organization means: policies, definitions, data dictionaries, and process guides. Every answer drawn from a document cites the passage it came from.
Add documents before you connect data. edisyl reads the documents to learn what your tables and columns mean.
Supported files
Section titled “Supported files”- Documents: PDF, Office files, Markdown, and plain text.
- Photos and screenshots:
.png,.jpg,.webp, and.heic. Add a note that describes what the photo shows. Search matches the note. - The maximum size is 50 MiB per file.
Add and check documents
Section titled “Add and check documents”-
Add the documents.
Open the pack and drag the files onto the pack page.
Attach the file in chat. The assistant calls
teachwith the file.“Teach the attached supplier policy to the Supplier risk pack.”
Terminal window edisyl teach supplier-risk --file ./policy.pdfedisyl teach supplier-risk --file ./alarm.heic --note "Line 2 HMI showing alarm E-102"Each
teachtakes one file and returns an Action. -
Check that each document is indexed. A document is ready to use when its status is Indexed.
Each document shows its status on the pack page.
There is no MCP tool that lists a pack’s documents. Ask the assistant whether the teach finished. It calls
action_get.“Did that teach finish?”
Terminal window edisyl pack documents list supplier-riskedisyl pack documents list supplier-risk --status FAILEDThe list includes documents that failed to extract. Use
--status FAILEDto see only those.
After a document is indexed, edisyl compiles it in the background. It extracts facts from the document and tests the pack’s answers on it. An ask during this time can return a missing-source gap. Wait for the compile to finish and ask again. Do not teach the same document twice. See How a pack reads documents.
Replace or remove a document
Section titled “Replace or remove a document”To remove a document, forget it. forget removes the document and everything the pack learned from it. To replace a document, forget the old version and teach the new one.
The assistant calls forget, then teach.
“Forget the old supplier policy and teach the attached new version.”
forget needs the document’s record id. It comes from the teach that added the document, or from an answer that cited it.
edisyl pack documents list supplier-risk # find the record idedisyl forget supplier-risk <content-record-id>edisyl teach supplier-risk --file ./policy-v2.pdfNext: Connect a data source. For every teach and forget option, see the Teach & forget reference.
Was this page helpful?
Thanks for the feedback.
