Thinkeo Documentation
HomeWebsiteAPI DocumentationThinkeo Platform
HomeWebsiteAPI DocumentationThinkeo Platform
  1. Blocks
  • šŸš€ Discovering the Thinkeo Platform
  • Get started
    • šŸš€ The Basics: Introduction
    • 🧩 The Basics: Blocks
    • šŸ§™ā€ā™‚ļø The Basics: The Wizard
    • šŸ·ļø The Basics: Attributes
    • 1ļøāƒ£ Hands-on Practice - App and Attributes
    • 2ļøāƒ£ Hands-on Practice - Blocks
    • 3ļøāƒ£ Hands-on Practice - The AI Block
    • 4ļøāƒ£ Hands-on Practice - The Wizard
    • 5ļøāƒ£ Hands-on Practice - Block Execution
    • 6ļøāƒ£ Hands-on Practice - Testing Your App
  • Apps
    • šŸ“± Publication Interface
    • šŸ—ļø Studio
  • Blocks
    • šŸ“ File Block
    • ⚔ Block Execution
    • šŸ¤– AI Block
    • 🧩 Group Block
    • šŸ“ Paragraph Block
    • šŸ” Condition Block
    • šŸŽ² Choice Block
    • šŸ” Search Block
    • šŸ”— API Call Block
    • šŸ“„ Word Export Block
    • šŸ“Š PPT Block
    • šŸ‘ļø Filtered Views
  • Attributes
    • šŸ·ļø Attributes
    • āš™ļø Attribute Editor
  • Best practices
    • šŸ“ Writing Effective Prompts
  • Admin
    • šŸ’³ Thinkeo Credits
    • šŸ‘„ Team Management
    • āš™ļø Settings
  • Release notes
    • šŸš€ Thinkeo v1.2 Release Notes
    • šŸš€ Thinkeo v1.0 Release Notes
    • šŸš€ Thinkeo v0.10 Release Notes
    • šŸš€ Thinkeo v0.8 Release Notes
    • šŸš€ Thinkeo v0.7 Release Notes
    • šŸš€ Thinkeo v0.6 Release Notes
  1. Blocks

šŸ“ File Block

šŸ“‹ Overview#

The File Block allows you to use the complete content of one or more documents as context for AI.
Unlike the Search Block which sections documents to exploit specific extracts, the File Block provides the entire content to the AI, which is particularly useful for short documents or uses requiring global context understanding.

āš™ļø Operation and Specifications#

šŸ“‚ Using Files#

The File Block offers two options for adding documents, which can be used separately or combined:

šŸ“¤ File Attribute#

Similar to the Search Block, you can use a File attribute that will be populated by the User when creating a publication. This file attribute will be populated by a Wizard step.

šŸ“Œ Static Files#

You can directly add "static" documents via the block parameters. These files will always be available for the block, without requiring user action.
image.png

šŸ”§ File Attribute Configuration#

In the File Block parameters, you must specify the File Attribute that will be used.
This File Attribute must be associated with a File Upload Step in the Wizard so that the User can upload the file(s) that will populate this File Attribute.
1
Create File Attribute
Define a File type attribute in your App's attribute menu
2
Configure Block Parameters
In the File Block settings, select the File Attribute you created
3
Set Up Wizard Step
Add a File Upload step in your Wizard and link it to your File Attribute

šŸ“„ Supported File Types and Limits#

āœ… Supported Formats:#

PDF (.pdf)
Word (.docx)
PowerPoint (.ppt)
Excel (.xlsx)
CSV (.csv)

šŸ“ File Limitations:#

Maximum file size: 50 MB per file
Context Limitations
āš ļø The main limitation comes from the maximum context accepted by AI models. It is recommended to use relatively short documents and/or AI models that accept larger contexts so that the prompt is accepted. You can consult the documentation on AI blocks šŸ¤– AI Block to learn more about models suitable for larger contexts.

šŸ”— Integration with AI Blocks#

The File Block integrates into AI blocks in the same way as the Search Block. The document content will be used as context for the AI during content generation.
šŸ“š Related Documentation: The documentation on šŸ¤– AI Block.

šŸŽÆ Use Cases and Best Practices#

šŸ“‹ The File Block is particularly useful in the following situations:#

šŸ“– Complete Analysis
Analysis of short documents requiring global understanding
šŸŽÆ Full Context
Processing documents where complete context is essential
šŸ” Beyond Extracts
Situations where using extracts (like with the Search Block) doesn't allow correct interpretation of information
šŸ—ļø Complex Structure
Documents with complex structures that need to be understood as a whole

šŸ’” Best Practices:#

Use the File Block for documents requiring complete analysis
Combine File attributes and static documents for more flexibility
Pay attention to AI model context limits when using large documents
Choose appropriate AI models based on your document size and complexity needs

šŸ”„ Workflow Optimization:#

1
Document Assessment
Evaluate if your document needs complete analysis or if extracts would suffice
2
Model Selection
Choose an AI model on the AI block with sufficient context capacity for your document size
3
Configuration Setup
Configure both static files and dynamic file attributes as needed
4
Testing & Refinement
Test with various document sizes and refine your approach based on results

šŸ” File Block vs Search Block#

FeatureFile BlockSearch Block
Content UsageComplete documentSpecific extracts
Best ForShort docs, full context neededLarge docs, targeted information
Context ImpactHigher context consumptionLower context consumption
Processing SpeedSlower with large filesFaster, more efficient

⚔ Performance Considerations#

Document Size: Larger documents consume more context tokens
Model Choice: Use high-context models (like Gemini Pro or GPT4.1) for large documents
Processing Time: Complete document analysis may take longer than extract-based processing
Context Efficiency: Consider if full document analysis is necessary for your use case
Modified atĀ 2025-09-02 15:44:42
Previous
šŸ—ļø Studio
Next
⚔ Block Execution
Built with