Bytebase Docs home page
Search...
⌘K
Ask AI
GitHub
bytebase.com
bytebase.com
Search...
Navigation
General
AI Assistant
Get Started
Features
Administration
Integrations
Tutorials
API Reference
Changelog
Security
Single Sign-On
Roles and Permissions
User Groups
Custom Roles
Audit Log
SCIM
Two-factor Authentication
Password Restriction
Sign-in Restriction
Watermark
General
Manage License
Upgrade
Production Setup
Back up Data
Database Change Mode
AI Assistant
Database Instance
Environment Policy
Customize Logo
Announcement Banner
Archive
Reference
Server Startup Options
Error Code for Bytebase Core
Error Code for SQL Review
Schema Definition Language
On this page
Enable AI Assistant
Use self-hosted model
Features
General
AI Assistant
Copy page
Bytebase sends the database schema to OpenAI or your configured endpoint. Bytebase does not send the table data. You can check the
relevant code
.
AI Assistant uses OpenAPI or its compatible service to argument the database development workflow.
Enable AI Assistant
Go to Bytebase console, click
Settings > General
. Scroll down to
AI Assistant
.
OpenAI API Key
. The Open API key you obtained
here
.
OpenAI API Endpoint
. If you use an OpenAPI compatible service or access OpenAPI via a proxy, you can optionally specify the custom endpoint.
Use self-hosted model
Tutorial: Self-host Llama3 for Bytebase AI Assistant
Features
SQL Editor AI Assistant
Was this page helpful?
Yes
No
Database Change Mode
Database Instance
Assistant
Responses are generated using AI and may contain mistakes.