Skip to content

Experimental Features

WARNING

Experimental features are still in testing. Enabling them may cause unexpected issues and they may be removed in future versions. Use with caution!

OpenAI ChatGPT

Use OpenAI ChatGPT for better structured title parsing. For example:

input: "【喵萌奶茶屋】★04月新番★[夏日重现/Summer Time Rendering][11][1080p][繁日双语][招募翻译]"
output: '{"group": "喵萌奶茶屋", "title_en": "Summer Time Rendering", "resolution": "1080p", "episode": 11, "season": 1, "title_zh": "夏日重现", "sub": "", "title_jp": "", "season_raw": "", "source": ""}'

experimental OpenAI

  • Enable OpenAI enables OpenAI and uses ChatGPT for title parsing.
  • OpenAI API Type defaults to OpenAI.
  • OpenAI API Key is your OpenAI account API key.
  • OpenAI API Base URL is the OpenAI endpoint. Defaults to the official OpenAI URL; you can change it to a compatible third-party endpoint.
  • OpenAI Model is the ChatGPT model parameter. Currently provides gpt-3.5-turbo, which is affordable and produces excellent results with the right prompts.

Microsoft Azure OpenAI

experimental Microsoft Azure OpenAI

In addition to standard OpenAI, version 3.1.8 added Microsoft Azure OpenAI support. Usage is similar to standard OpenAI with some shared parameters, but note the following:

  • Enable OpenAI enables OpenAI and uses ChatGPT for title parsing.
  • OpenAI API Type — Select azure to show Azure-specific options.
  • OpenAI API Key is your Microsoft Azure OpenAI API key.
  • OpenAI API Base URL corresponds to the Microsoft Azure OpenAI Entrypoint. Must be filled in manually.
  • Azure OpenAI Version is the API version. Defaults to 2023-05-15. See supported versions.
  • Azure OpenAI Deployment ID is your deployment ID, usually the same as the model name. Note that Azure OpenAI doesn't support symbols other than _-, so gpt-3.5-turbo becomes gpt-35-turbo in Azure. Must be filled in manually.

Reference documentation:

config.json Configuration Options

The corresponding options in the configuration file are:

Configuration section: experimental_openai

ParameterDescriptionTypeWebUI OptionDefault
enableEnable OpenAI parserBooleanEnable OpenAIfalse
api_typeOpenAI API typeStringAPI type (openai/azure)openai
api_keyOpenAI API keyStringOpenAI API Key
api_baseAPI Base URL (Azure entrypoint)StringOpenAI API Base URLhttps://api.openai.com/v1
modelOpenAI modelStringOpenAI Modelgpt-3.5-turbo
api_versionAzure OpenAI API versionStringAzure API Version2023-05-15
deployment_idAzure Deployment IDStringAzure Deployment ID

AutoBangumi is released under the MIT License. (latest: v3.2)