Skip to main content

Library (RAG) Manual

Library holds reusable, scope-aware documents. Upload acceptance, text extraction, indexing, search and agent use are distinct steps. A document can exist in the Library without being ready or relevant to a particular agent answer. Connected external Library sources are a local preview candidate and are not instructions for the current served workspace.

What this feature solves​

Keep reference material outside a single chat message, choose who can access it, inspect the stored file and retrieval state, and remove it when no longer appropriate. Use the narrowest authorized scope that satisfies the task.

Two ways to use a file​

Chat attachmentLibrary document
PurposeEvidence for a conversationReusable material for later retrieval
LifetimeDepends on message/selected targetPersists under Library policy until removed or expired
Agent accessCurrent request when acceptedSearch/retrieval when indexed, permitted and relevant
CheckAttachment appears after sendUpload, extraction, indexing and scope states are complete

Context variables are a third path for working documents. See Uploads and Downloads.

Supported file types in the Library​

The allowed list can include PDF, images, DOCX, XLSX, CSV, Markdown and plain text. Actual acceptance depends on the current policy and account. Scans, complex tables and images may produce incomplete or no extractable text; OCR or transcription is not guaranteed for every file. Open the extracted content where offered and compare it with the original before asking an agent to use it.

How to upload to the Library​

  1. Open Library in the right panel and choose its upload action.
  2. Select files supported by the displayed policy. If the policy is unavailable, retry later rather than assuming an unlimited allowance.
  3. Select a target scope you are authorized to write to; disabled choices are not available to you.
  4. Confirm the upload and inspect each file's save/ingestion result. A partial batch does not mean every file completed.
  5. Search or reopen the document to verify it can be used before citing it in a decision.

Choosing a scope (who can see the document)​

ScopeIntended audience and boundary
Private/UserYour own authorized view
SessionCurrent session members with access
InitiativeAuthorized members of that initiative
TeamAuthorized team members
WorkgroupAuthorized workgroup members
OrganizationAuthorized organization members
SystemPlatform-managed scope; ordinary users should not select it

A scope label is not enough to grant access. Membership, source and destination rights, and server policy are checked. Wider scope can expose material to more authorized people; review sensitivity before changing it.

How the agent uses your Library documents​

An eligible agent may search material within the permitted scope and use relevant passages. It may not search every document on every turn, and a listed or indexed file is not proof that a particular answer used it. Ask for source references when available, inspect the cited passage, and do not infer facts from a filename. A search failure or no readable content must remain a failure/empty result, not a fabricated summary.

Moving documents between Context and Library​

Move or copy controls can transfer eligible content where your permissions allow it. Binary files and Context variables have different storage/format rules, so check the target preview before confirming. A name conflict may require a choice; verify the resulting location, scope and retrieval state. Moving a document to a broader scope is an access decision, not just a folder operation.

Viewing your documents​

Open the item in Library and inspect the preview or original download offered for its type. A preview may display converted text rather than the original layout. If it fails to load, do not interpret the blank panel as an empty source; retry and report the error before replacing it.

Restoring from a ZIP backup​

Use the dedicated restore option when offered; ordinary upload need not restore paths and scopes. Review each restored item and any skipped files. A backup's old audience must not silently override your current rights or policy.

Removing a document​

Turning retrieval off, removing a document to Trash, restoring it and permanently deleting it are different actions. Confirm the selected segment (Context or Library), your rights, retention state and final result. Removal can stop future retrieval but does not retroactively erase content already used in a prior answer.

For administrators: how isolation is enforced​

The UI exposes only permitted scope options, and server-side authorization must enforce the requester and target scope. This guide does not disclose or guarantee implementation internals such as a specific indexing key or final re-check order; verify actual access with authorized role tests. System scope is managed by the platform.

FAQ​

Can I upload PDFs now? Library may accept PDFs under the current file policy; a Context-variable upload follows separate rules. Check extracted text rather than assuming every scan is searchable.

Will another team or company see my documents? Scope and membership are meant to restrict visibility. Check the chosen scope and current sharing state; do not place sensitive material in a wider scope than necessary.

The agent said my document had no text — why? Extraction may have failed or found no readable content. Inspect the ingestion result and original file before retrying.

What is the difference between Context and Library? Context holds scoped working variables; Library holds reusable files that can be retrieved when indexed, permitted and relevant.