Table of Contents

Namespace OobaboogaAPIHelper

Classes

ApiHelper

A helper class for interacting with the OobaboogaAPI extension.

ApiHelper.GenerateRequestBody

Represents the parameters used to control a chat model's text generation process, including the conversation.

ApiHelper.TokenCountResult

Represents the response from a token count request.

Config

Config helper requires settings.json file in the same directory as the executable. Will default the values if the file is not found.

Conversation

Represents a conversation.

Dolly_v2PromptTemplate
ModelParameters

ModelParameters represents the parameters used to control a chat model's text generation process.

Presets

The embedded files were directly from the text-generation-webui\presets folder from the Oobabooga text-generation-webui GitHub repo. I did not create the presets or change them, and many aspects of them remain mysterious to me. I mostly use Default and LLaMAPrecise.

PromptTemplate

Base class for prompt templates with reasonable, but arbitrary defaults.

Turn

Represents a single turn in the conversation.

Vicuna_v0PromptTemplate
Vicuna_v1PromptTemplate