Getting Started
Welcome to the Tiny Foundation tutorials! In this guide, you will learn how to: 1. Initialize a new knowledge base. 2. Push your first markdown files to the workspace. 3. Review and approve your documents. 4. Visualize the extracted knowledge graph.
1. Initializing your Knowledge Base
First, create a new directory for your markdown files and navigate into it:
Log in to the Tiny Foundation CLI:
Now, link this directory to your remote workspace by passing your workspace name (or ID):
This will create atiny.yaml configuration file.
2. Writing and Pushing Content
Create a simple markdown file, for example product-a.md:
Push your local changes up to the Tiny Foundation platform:
Your file is now securely stored in the cloud as a "draft".3. Reviewing and Approving
To see the status of your documents, run:
You should seeproduct-a.md listed as PENDING.
To approve it and finalize the draft, run:
(Tip: Approving a document automatically triggers the backend pipeline to parse its contents and extract relationships for the knowledge graph.)4. Visualizing the Knowledge Graph
Once the backend has finished parsing, you can explore the relationships it discovered!
Launch the interactive TUI (Terminal User Interface):
You can now navigate the graph, see the connections between "Product A" and "Plant 1", and explore your data in real time!