Skip to main content

Agent Plugins: Included Models

OpenAI (GPT)

OpenAI has a diverse and powerful range of models.

From the efficient GPT-3.5 Turbo, ideal for everyday tasks, to the highly capable GPT-4 for complex problem-solving, and the multimodal GPT-4o for handling text and images, OpenAI offers options for various needs and budgets.

Their models often lead the industry in performance, setting new standards for natural language understanding and generation.

Setting up your agent

  • After setting up your system, navigate to the "Add Panel" section and select your OpenAI plugin.
  • Choose your desired model from the list of available options.
  • Set a System Message, this will help guide your model if you'd like it to behave a certain way or do something specific.
  • Enter your OpenAI API key, which you can find here: https://platform.openai.com/api-keys

Once you've added your API key, your agent will be ready to use!

Models Available

Each model offers unique capabilities and costs. Consider your needs when selecting a model:

  • GPT-3.5 Turbo
    • Context Window: 16,385 tokens.
    • Cost-effective, fast, suitable for less complex tasks.
  • GPT-4
    • Context Window: 8,192 tokens.
    • Suitable for applications requiring high accuracy and complex problem-solving.
  • GPT-4 Turbo
    • Context Window: 128,000 tokens.
    • Large context window, efficient, suitable for large-scale, high-throughput applications.
  • GPT-4o
    • Most advanced, multimodal, efficient, and cost-effective, ideal for high-performance and multilingual applications.
    • Context Window: 128,000 tokens.
    • Cost: 50% cheaper and generates text 2x faster than GPT-4 Turbo.
    • Most advanced model, multimodal with text and image input capabilities.
    • Some prefer GPT-4 Turbo to GPT-4o.

Document upload ( and /append command)

This plugin allows you to upload text-based documents (e.g., .txt, .doc, .md) to enhance your chat experience.

The plugin will:

  • Convert your uploaded files into plain text.
  • Store these text versions for your AI model to access.

When you want to use your document when chatting:

  • Use the /append command in your chat
  • Followed by your document(s) filename(s) /file filename.pdf
  • And then any additional questions you have to add the documents to your context when chatting.

An example prompt with the command would look like:

/append /file filename.pdf What are the core themes I should be aware of in this document?

Note on longer context

If your document is too large to fit within your chosen model's context window it will be excluded from your message context and you will receive a warning.

For larger documents, consider using our Document Lookup (RAG) agent plugin.

Vision support

This plugin offers "vision" capabilities, meaning it can process uploaded images (e.g., .png, .jpg) alongside your text input.

Example vision usage

After uploading a receipt image, you could ask:

"What are the amounts listed in this invoice? Could you also categorize the purchase for me?"

Review the code

Want to review how this model is made, or use it as the base to creating a new agent plugin?

You can find the code that powers this plugin available here:
https://github.com/promptpanel/promptpanel/tree/main/plugins/openai