Skip to content

LLM Chat Technical Documentation

The Machbase Neo LLM Chat package is an LLM-based chat interface for interacting with the Machbase Neo time-series database in natural language. Through conversation, you can query data, generate dashboards, create analysis reports, and explore manual documents.

The package runs an agentic loop internally. It sends user questions to the LLM, executes tool calls in Machbase Neo, feeds the results back to the model, and repeats until a final response is produced.

Installation

The left sidebar in Machbase Neo shows the list of available packages.
Select the LLM Chat package and click the Install button to install it.

Installation may take a short time, so wait until it is completed.

Package installation screen

Requirements

  • Machbase Neo 8.7.3 or later
  • A Machbase Neo API token for the account that will use LLM Chat (issued in the Neo web console; see First Setup)

Uninstall

Select neo-pkg-llm-chat from the left panel and click Uninstall to remove the package and its related service.

LLM Providers

The package supports four LLM providers. Provider calls themselves are single-shot (non-streaming) request/response; per-tool-step progress is streamed to the browser over WebSocket.

ProviderAPILocal
ClaudeAnthropic APINo
ChatGPTOpenAI APINo
GeminiGoogle Gemini APINo
OllamaOllama REST APIYes

Provider and connection settings are configured from the web-based Settings screen. API keys, model lists, and Machbase Neo connection information are saved on the server per account, while the Machbase Neo API token is stored only in the browser, never on the server.

Agentic Loop

The agentic loop is the core execution engine of this package. It classifies the question to choose an execution flow, then repeats a cycle in which the LLM runs that flow’s tools and decides the next step from the results until an answer is ready (tool calls are automatically corrected and checked before they run).

What This Documentation Covers

  • Package installation
  • Initial setup and model registration
  • Chat screen usage and question patterns
  • Built-in tools and automation features
  • HTTP API and WebSocket protocol
  • Common connection and usage problems

Basic Workflow

  1. Install the LLM Chat package in Neo.
  2. Issue an API token for your account in the Neo web console.
  3. When you open it for the first time, enter Host, Port, and the API token in Settings and click 검증 (Verify).
  4. Enter the API key or endpoint for the provider you want to use.
  5. Register one or more models.
  6. Save and move to the Chat screen.
  7. Select a model and send questions from the Chat screen.

Screen Layout

  • Settings screen
    • Machbase Connection
    • API Keys & Endpoints
    • Models
  • Chat screen
    • Conversation area
    • Model selection button
    • Connection status
    • Message input

LLM Chat main screen

Documents

DocumentContents
First SetupStart here — API token · Neo connection · API keys and endpoints · model registration · saving
How to Use ChatModel selection · sending questions · favorites · automatic mode switching · example requests
Technical ReferenceHow each built-in tool works — data queries · TQL · forecasting · dashboards · reports · manual search
HTTP API and WebSocketHTTP API endpoints · WebSocket protocol
TroubleshootingSymptoms, causes, and fixes — tokens · connection · slow responses · report links
Release NotesChanges in each version · how to update

Navigation