Bytebase Docs home page
Search...
⌘K
Ask AI
GitHub
bytebase.com
bytebase.com
Search...
Navigation
General
AI Assistant
Get Started
Database CI/CD
SQL Editor
Administration
Integrations
Tutorials
API Reference
Changelog
Security
Single Sign-On
Users and Groups
Roles and Permissions
SCIM
Two-factor Authentication
Password Restriction
Sign-in Restriction
General
Audit Log
Manage License
Database Change Mode
AI Assistant
Risks
Environment Policy
Database Group
Customize Logo
Watermark
Announcement Banner
Archive
On this page
Enable AI Assistant
Use self-hosted model
Features
General
AI Assistant
Copy page
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
Risks
Assistant
Responses are generated using AI and may contain mistakes.