Skip to main content

Document Upload Methods

File Upload

Upload documents directly to your knowledge base:
cURL

URL Content

Add web content by URL:
cURL

Text Content

Add structured text content:
cURL

Supported File Formats

Document Types

  • PDF: Portable Document Format files
  • DOC/DOCX: Microsoft Word documents
  • TXT: Plain text files
  • RTF: Rich Text Format files
  • MD: Markdown files

Content Processing

All uploaded content is automatically:
  • Extracted and parsed for text content
  • Indexed for semantic search
  • Chunked for optimal retrieval
  • Validated for quality and completeness

Document Management

Listing Documents

Retrieve all documents in your knowledge base:
cURL

Document Details

Get detailed information about a specific document:
cURL

Updating Documents

Update document metadata or content:
cURL

Organization and Categorization

Categories

Organize documents using categories:
  • Product Information: Product specs, features, pricing
  • Support: FAQs, troubleshooting, how-to guides
  • Policies: Terms of service, privacy policy, company policies
  • Training: Internal training materials, procedures

Metadata

Add metadata to improve document searchability:

Content Quality Guidelines

Best Practices

  • Use clear, descriptive titles
  • Organize content with proper headings
  • Include relevant keywords naturally
  • Keep information current and accurate
  • Use consistent formatting and style

Content Structure

  • Start with clear introductions
  • Use bullet points and lists for clarity
  • Include examples and use cases
  • Provide step-by-step instructions where applicable
  • End with relevant next steps or related information

Processing and Indexing

Automatic Processing

When you upload documents, ThreeTone automatically:
  1. Extracts text content from files
  2. Chunks content into searchable segments
  3. Creates semantic embeddings for search
  4. Indexes content for fast retrieval
  5. Validates content quality and completeness

Processing Status

Monitor document processing status:
cURL

Next Steps