Cogni Docs
  • Welcome
  • Getting Started
    • Quickstart
    • Uploading Files
  • Basics
    • About Cogni
    • Editor
    • Markdown
    • Images & media
    • Interactive blocks
    • Integrations
    • Installation Guide
  • Use Cases
    • Uploading AI Models
    • Retrieving Models
    • Pinning a Dataset
    • Sharing AI Resources
  • Group 1
    • FAQs
Powered by GitBook
On this page
  1. Basics

Interactive blocks

Interactive Blocks

Interactive blocks empower users to add interactivity and dynamic features to their datasets. Here’s how they enhance usability:

  • Embed Visualizations: Include live graphs, data visualizations, or interactive maps for your datasets.

  • Dynamic Tutorials: Integrate usage examples or step-by-step walkthroughs for AI models.

  • Code Execution: Enable embedded code snippets to demonstrate how to interact with the datasets or models.

Examples of Interactive Blocks

  1. Embedded Visualization:

    <iframe src="https://example.com/visualization" width="100%" height="500"></iframe>
  2. Dynamic Code Snippet:

    fetch('https://ipfs.cogni.host/ipfs/<CID>')
        .then(response => response.json())
        .then(data => console.log(data));

These features make your files not just storage items but actionable resources for collaboration and discovery.


PreviousImages & mediaNextIntegrations

Last updated 4 months ago