Skip to main content

Agent Plugins: Included Models

Cohere (R+)

Cohere's models might be a good choice for enterprises who prioritize customization and cost-effectiveness.

Their platform offers flexible options for fine-tuning models on specific datasets, which can improve performance on niche tasks.

Setting up your agent

  • After setting up your system, navigate to the "Add Panel" section and select your Cohere 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://dashboard.cohere.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:

  • Cohere R+:
    • This model is ideal for complex tasks involving conversational interactions and handling long contexts.
    • It excels in retrieval augmented generation (RAG) tasks, meaning it can effectively search through and reference relevant information to generate comprehensive and accurate responses.
  • Cohere R:
    • This model is best suited for simpler RAG tasks and single-step tool use.
    • It is a good choice for applications where cost is a primary concern, as it offers a more affordable alternative to Command R+ while still delivering reliable performance for less demanding tasks.

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.

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/cohere