Skip to content

OpenAI Plugin#

Models#

This AI plugin supports OpenAI's ChatGPT models but can also be configured to utilise Perplexity AI by changing cfg(ask:service) to perplexity and setting the appropriate model using cfg(ask:model)

For example, Perplexity AI has online models which can service realtime internet data, such as the model pplx-7b-online

Service Models Pricing
OpenAI https://platform.openai.com/docs/models https://openai.com/api/pricing
Perplexity AI https://docs.perplexity.ai/docs/model-cards https://docs.perplexity.ai/docs/pricing

The currently recommended model for OpenAI is gpt-4o

Commands#

Command Description
ask Query the AI with a question
and Continue an existing conversation as a thread
askmode Set user-specific response behaviour

Emojis#

Displaying emojis in eggdrop requires TCL to be compiled from source with #define TCL_UTF_MAX 6 set.

Please see https://wiki.eggheads.org/index.php/UTF-8 for more details.