Skip to main content

Agent Plugins: Included Models

Universal LLM (Advanced Settings)

Any other model which doesn't have a specific plugin available above, is available using this agent plugin

It is backed by LiteLLM for request generalization to LLM services, so any of the LiteLLM providers should be compatible with the plugin.

Setting up your agent

  • After setting up your system, navigate to the "Add Panel" section and select your LLM Universal plugin.
  • Choose your desired model from the list of available options.
  • Choose a Simple Model - this one can use a cheaper model and will be used for things like titling your threads.
  • Set the Context Size for the model which you are connecting to.
  • Set a System Message, this will help guide your model if you'd like it to behave a certain way or do something specific.
  • Set your API Key for your API.
  • If you need to set a specific URL Base, this is available in the settings area.

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

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