API & Workflow Integration

Integrate Knowledge Base capabilities into your applications and workflows.

Workflow Integration

The most powerful way to use the Knowledge Base is by connecting it to a Knowledge Base Node in your workflow editor.

Using the Knowledge Base Node

  1. Drag and Drop: Add a "Knowledge Base" node to your workflow canvas.
  2. Connect: Link it to your LLM or other processing nodes.
  3. Configure: Select the collection you want to query.
  4. Context: The node will automatically retrieve relevant context based on the user's input and pass it to the next step in your flow.

This allows you to build RAG (Retrieval-Augmented Generation) pipelines without writing a single line of code.

Developer API

For developers building custom applications, we provide a robust API to interact with the Knowledge Base.

Key Endpoints

  • POST /api/v1/documents: Upload and index a new document.
  • GET /api/v1/search: Perform a semantic search against a specific collection.
  • DELETE /api/v1/collections/{name}: Manage your collections programmatically.
POST /api/v1/search
{
  "collection": "technical-docs",
  "query": "How do I configure the API?",
  "limit": 5
}

The API returns not just the raw text, but also the relevance score and metadata for each result, allowing you to build custom UI experiences on top of our platform.

Ask AI

FlowGenX Documentation

How can I help you?

Ask me anything about FlowGenX AI - workflows, agents, integrations, and more.

AI responses based on FlowGenX docs