- Overview
- Getting Started
- Quick Start Guide
- Core Concepts
- Users
- Models
- Creating a Model
- Model Card
- Model Card
- Importing Model Card Text
- Comparing Model Cards
- Creating a Release
- Uploading Files
- Uploading Images
- Model Templating
- Data Cards
- Creating a Data Card
- Managing Data Cards
- Using a Model
- Browsing the Marketplace
- Requesting Access
- Using a Pushed Docker Image
- Downloading Files
- Reviews
- Understanding Reviews
- Reviewing
- Reviewing a Release
- Reviewing an Access Request
- Reviewing a Model Card Lifecycle
- Review Outcomes
- Security Scanning
- File Scanning
- Image Scanning
- Inferencing
- Creating an Inference Service
- Managing Inference Services
- Model Mirroring
- Creating a Mirrored Model
- Editing a Mirrored Model Card
- Untrusted Models
- Untrusted Models
- Deletion
- Deleting a File
- Deleting a Model
- Soft Deletion
- Bailo Metrics
- Viewing Bailo Metrics
- Programmatic Access
- Authentication
- Personal Access Tokens
- Python Client
- OpenAPI Reference
- Webhooks
- Administration
- Getting Started
- Deployment Architecture
- App Configuration
- Model Lifecycle Configuration
- LLM
- LLM Import
- Schemas
- Understanding Schemas
- Create a Schema
- Upload a Schema
- Schema Migrations
- Review Roles
- Managing Review Roles
- Assigning Roles to Schemas
- Federation
- Peer Integration
- Microservices
- Artefact Scanners
- Helm
- Basic Usage
- Configuration
- Isolated Environments
- Migrations
- Bailo v0.4
- Bailo v2.0
- DataBase Scripts
- Reference
- Glossary
- Roles & Permissions
- Troubleshooting & FAQ
LLM Import
Common questions this page answers:
- How do I enable LLM-powered model card import?
- What LLM providers are supported?
- What configuration options are available?
- How do users interact with the import feature?
Bailo can optionally use a large language model (LLM) to extract model card data from free text, such as HuggingFace model cards or system cards. This page explains how to enable and configure the feature.
How to enable
The feature is disabled by default and requires an OpenAI-compatible chat completions endpoint.
To enable LLM import, set ui.llmImport.enabled to true and configure the llm section with your endpoint details in
your configuration override (for example production.cjs or local.js):
{
llm: {
endpoint: 'https://api.openai.com/v1/chat/completions',
apiKey: 'your-api-key',
model: 'gpt-4o',
maxTokens: 16384,
timeoutMs: 120000,
temperature: 0,
},
ui: {
llmImport: {
enabled: true,
},
},
}
For Helm deployments, these values are set in values.yaml under llm and config.ui.llmImport. See
App Configuration for details on how configuration inheritance works.
Configuration options
ui.llmImport.enabled- Enables the feature and shows the "Import from Text" button in the model card editor. Whenfalse(the default), the button is hidden and the backend rejects any import requestsllm.endpoint- URL of an OpenAI-compatible chat completions endpointllm.apiKey- API key for authenticating with the LLM providerllm.model- Model identifier for the LLM provider (for examplegpt-4oorgpt-4.1-mini)llm.maxTokens- Maximum number of tokens in the LLM response. Default:16384llm.timeoutMs- Timeout for LLM requests in milliseconds. Default:120000llm.temperature- Controls response determinism. A low value produces more deterministic responses. Default:0llm.systemPrompt- System prompt sent to the LLM. The default prompt instructs the model to extract only explicitly stated information and avoid generating placeholder values. You may want to tune this for your specific LLM and schema
What to expect
Once enabled, users see an Import from Text button when editing a model card. Clicking this opens a dialog where they can paste free text. Bailo sends the text and the model card schema to the configured LLM, which extracts structured data and populates matching fields in the model card.
The extracted data is validated against the schema before being applied. Any fields that do not match the schema or contain placeholder values are automatically filtered out. Validation warnings are shown to the user so they can review the result before saving.
Related pages
- Importing Model Card Text - User guide for the import feature
- App Configuration - General application configuration
Copyright © Crown Copyright 2026.
