Database
LinkAI's database module provides the ability for large language models to access structured data, supporting connections to existing remote databases and direct use of built-in databases hosted by the platform. Users can query, add, edit, and delete database content through conversational interactions.
1. Overview
Database capabilities can be flexibly used in workflows, allowing customization of database access scenarios, data analysis processing prompts, etc., with the following features:
- Supports remote and built-in databases, with permissions to query, add, update, and delete data within scope
- Uses AI to extract field information from node inputs and intelligently generate SQL statements
- Combined with LLM nodes, enables custom system prompts for data analysis and customized data processing formats
- Combined with branch nodes, enables business logic orchestration for accessing different databases and performing different data operations in various scenarios
2. Usage Instructions
2.1 Adding Database Node
Add a database node and select the data to access:

2.2 Processing Data Results
Database node input can be natural language user questions, and node output is raw queried data. Generally, an LLM node should be added after the database node for statistical analysis of raw data:

Running the workflow can output data analysis results:
