Skip to content

Settings reference

Every setting on OG AI Core > System > Settings, tab by tab, with the key it is stored under.

Where settings live

  • Most settings are keys in one option, ogaie_options. Read one in PHP with $ogaie_core->get_option( 'key' ).
  • Chatbots are stored in ogaie_chatbots and chatbot themes in ogaie_themes.
  • Feature modules (module_*) are switched in System > Modules. See Modules.
  • Built-in modules and add-ons keep their own options. Each module page lists them.
  • Press / anywhere in OG AI Core to Jump to a setting by name.

The Settings screen has these tabs: AI, Chatbot, Workspace, Knowledge, MCP, Orchestration, Files & Media, PHP API, REST API, Assistants, Add-ons and Others. Some appear only while their module is on.

AI

Environments for AI

One entry per AI provider account, stored in ai_envs.

Field Use
Name Your name for this environment.
Type The provider (or Custom for an OpenAI-compatible server).
API Key The provider's key.
Endpoint, Region, Deployments Shown for providers that need them, such as Azure.
Management API Key, Current balance Anthropic and OpenAI only. The Overview then shows an estimated balance, and Insights shows the provider's own cost report.

Keep API keys in wp-config.php

Leave an environment's API Key empty and define {TYPE}_API_KEY in wp-config.php instead, for example ANTHROPIC_API_KEY, OPENAI_API_KEY or OPENROUTER_API_KEY. OG AI Core reads the key from the constant, and a key that equals its constant is never written to the database. These are the same constants WordPress itself reads for its AI connectors.

define( 'OPENAI_API_KEY', 'sk-...' );

Default Environments for AI

Which environment and model each kind of job uses when nothing else is set.

Default Environment key Model key Extra
Default ai_default_env ai_default_model
Fast ai_fast_default_env ai_fast_default_model
Vision ai_vision_default_env ai_vision_default_model
Images ai_images_default_env ai_images_default_model Quality: ai_images_default_quality
Embeddings ai_embeddings_default_env ai_embeddings_default_model Dimensions: ai_embeddings_default_dimensions (default 1536)
Audio ai_audio_default_env ai_audio_default_model
JSON ai_json_default_env ai_json_default_model
Rerank Added by the Rerank add-on Passages to check, Test rerank

General

Setting Key Default
Streaming ai_streaming On
Gemini API: Use Standard API google_use_standard_api Off (the Interactions API is used)

Chatbot

Settings shared by all chatbots. Each chatbot's own settings (model, instructions, theme, tools, Speech Synthesis, Download Chat, Metadata Bar and so on) are on Conversations > Chatbots. See Chatbots.

Chatbot

Setting Key Default
Discussions chatbot_discussions Off
Syntax Highlight syntax_highlight Off
Event Logs event_logs Off
Web Speech API: Speech Recognition speech_recognition Off
GDPR Consent chatbot_gdpr_consent Off
GDPR Text (shown when consent is on) chatbot_gdpr_text "By using this chatbot, you agree to the recording and processing of your data..."
GDPR Button (shown when consent is on) chatbot_gdpr_button I understand

Discussions

Shown when Discussions is on.

Setting Key Default
Summarize (AI titles for discussions) chatbot_discussions_titling On
Paging chatbot_discussions_paging 10
Refresh Interval (seconds) chatbot_discussions_refresh_interval 5
Retention (days) chatbot_discussions_retention_days 90

User Interface

Setting Key Default
Chatbot Select chatbot_select tabs

Workspace

Settings > Workspace

Features: what the Workspace chat may use.

Setting Key Default
Create Image workspace_image On
Web Search workspace_web_search On
WordPress Tools workspace_wp_tools On
Knowledge workspace_knowledge On
MCP Servers workspace_mcp On
Functions workspace_functions On

WordPress Tools also needs the MCP module. See Workspace.

Knowledge

Shown when Knowledge is on (Pro).

Knowledge environments

Stored in embeddings_envs. The default one is embeddings_default_env.

Field Use
Name, Type Your name, and the store: WordPress database, Pinecone, Chroma, Qdrant or OpenAI Vector Store.
API Key, Server The vector store's key and address.
Namespace, Collection, Database, Tenant ID Store-specific fields.
Dimensions For Pinecone and Qdrant.
OpenAI Environment, Vector Store ID For OpenAI Vector Store.
Environment, Model, Dimensions The embeddings model used for this store.
Min Score Lowest match score used (default 35).
Max Results Most passages given to the chatbot (default 10).

See Knowledge and Services.

MCP

Settings > MCP

Shown in full once the MCP module is on (module_mcp).

MCP Server and access

Setting Key Default Use
Bearer Token mcp_bearer_token empty For clients that cannot use OAuth.
Access Level mcp_role admin What a bearer token may reach: Admin (Full Access), Read-Write (Content) or Read-Only (Browse). OAuth connections are not limited by it.
Editor Access mcp_oauth_editors Off Lets editors connect with OAuth, to content tools only.
Log MCP Calls mcp_log_calls On Logs each tool call (see Insights > MCP Logs).
Include Arguments & Results mcp_log_payloads Off Adds the arguments and results to the log.

MCP Tool Sets

Set Key Default Tier
WordPress mcp_core On Free
Plugins mcp_plugins Off Pro
Themes mcp_themes Off Pro
Database mcp_database Off Pro
Polylang mcp_polylang Off Pro
WPML mcp_wpml Off Pro
WooCommerce mcp_woocommerce Off Pro
CoreMail mcp_coremail Off Free
Knowledge mcp_knowledge Off Pro
Workflow mcp_workflow Off Pro
Forms mcp_forms Off Pro
Leads mcp_leads Off Pro

From WordPress

Set Key Default
Abilities mcp_abilities Off
Dynamic REST mcp_dynamic_rest Off

Every tool is listed on MCP tools.

Orchestration

External MCP servers your chatbots can use, stored in mcp_envs (name, URL and token for each). Needs the Orchestration module. See External integration.

Files & Media

Uploaded by Users

Setting Key Default
Local Upload image_local_upload uploads
Remote Upload image_remote_upload data
Expiration image_expires 1 hour

Generated by AI

Setting Key
Local Download image_local_download
Expiration image_expires_download

See File upload.

PHP API and REST API

  • PHP API shows examples for the PHP functions. See PHP classes and functions.
  • REST API has the Public API switch (public_api, off) and its Bearer Token (public_api_bearer_token). See Public REST API.

Assistants

OpenAI Assistants, when the Assistants module is on. See Assistants.

Add-ons

The cards of the add-ons and modules installed on the site. Install and update add-ons in OG AI Core > Manage add-ons. See Admin modules.

Others

User Interface

Setting Key Default
Intro Message intro_message On
Forms Editor forms_editor On

Insights

Shown when Insights is on (Pro).

Setting Key
Queries Data statistics_data
Queries Form Data statistics_forms_data
Retention statistics_retention_days (default Never)

Admin Bar

Which OG AI Core shortcuts show in the WordPress admin bar: OG AI Core, Playground, Generate Content, Generate Images and Workspace.

Maintenance

Export Settings, Import Settings, Reset Settings and Reset Usage (clears the usage statistics).

Advanced

Setting Key Default
Shortcodes: Resolve resolve_shortcodes Off
Context Max Length context_max_length 16384
Dev Tools module_devtools Off
Plugin Data: Delete All (on uninstall) clean_uninstall Off

Languages

Available Languages (custom_languages): the languages offered by the translate tools.

Security

Setting Key Default
Privacy First privacy_first Off
Banned Words banned_words none
Word Boundaries: Ignore (shown when banned words are set) ignore_word_boundaries Off
Banned IPs banned_ips none

Developer options

On System > Developer (Dev Tools).

Setting Key Default
Dev Mode dev_mode Off
Client Debug debug_mode Off
Server Debug server_debug_mode Off
MCP Debug mcp_debug_mode Off
Queries Debug queries_debug_mode Off

Other screens

Screen Setting Key
Knowledge > Search Search Method, Embeddings, AI Keywords search_frontend_method (default wordpress), search_frontend_env_id, search_website_context
System > Modules Library Search environment library_search_env_id
System > Modules Models API key models_api_key
Insights Limits limits
Settings > General (OG AI Core dashboard) Main Menu (Hide the OG AI Core menu), SSL Verify og_hide_og, force_sslverify

Hide the OG AI Core menu

Hiding the menu is not recommended. To bring it back, untick Hide the OG AI Core menu in Settings > General.

Modules · Pro pack · PHP filters and actions