OpenBB Copilot
OpenBB Copilot is your AI companion that helps you interact with the OpenBB Terminal, and perform a wide variety of research and analysis tasks.
With OpenBB Copilot, you can:
- Answer general knowledge questions
- Interact with widgets added explicitly to its context
- Interact with your uploaded files
- Automatically use data from the dashboard
- Automatically retrieve data using the OpenBB API or any custom backend you have added
- Create charts, tables, and other text artifacts, like summaries
- Iteratively manipulate and transform data and charts
- Be used to search the web for additional information
- Provide citations
Introduction
To use OpenBB Copilot, click on the purple icon located at the center right of the Terminal screen:
Under most circumstances, you can treat OpenBB Copilot like a personal research assistant. OpenBB Copilot has access to the widgets (including your uploaded files) on your currently-active dashboard, the OpenBB API and any custom backend endpoints you have added to OpenBB Terminal.
By utilizing all of these sources of data, OpenBB Copilot can assist you in performing a wide variety of research and analysis tasks.
Understanding Chats
OpenBB Copilot is a chat-based assistant that leverages multiple LLMs (Large Language Models) under-the-hood to understand your queries and provide answers.
Since OpenBB Copilot is a chat-based assistant, it maintains a conversation history to provide contextual responses. This means you can have natural back-and-forth discussions, ask follow-up questions, and refine your queries based on previous responses. The conversation history helps OpenBB Copilot understand the context of your questions and provide more relevant and personalized assistance throughout your interaction.
For example, if you ask about the price-to-earnings (P/E) ratio, and then follow up by asking about other important financial ratios, OpenBB Copilot will understand the context and suggest relevant ratios:
If you'd like to clear the history of the current conversation, you can do so by clicking on the trashcan icon in the upper right corner of the OpenBB Copilot window. It is highly recommended to clear the chat history when you have a new question that is unrelated to your current conversation, to prevent confusing OpenBB Copilot:
General question answering
The simplest functionality of OpenBB Copilot is its general question answering capability. For example, you can ask Copilot things like:
- "What's the difference between stocks and bonds?"
- "Explain inflation."
- "Can you explain the concept of dollar-cost averaging?"
For general questions, OpenBB Copilot will rely on its underlying model's
extensive training data to formulate answers. We suggest you spend some time
exploring this functionality with a range of questions across different topics
to get a feel for how OpenBB Copilot works and behaves.
Interacting with data using OpenBB Copilot
OpenBB Copilot becomes powerful when you start interacting with data. There are three primary ways to interact with data using OpenBB Copilot:
- Analyzing specific widgets added to the context explicitly
- OpenBB Copilot automatically using data from the dashboard
- OpenBB Copilot automatically retrieving data using the OpenBB API or any custom backend you have added.
Analyze specific widgets only
Sometimes, you might want OpenBB Copilot to analyze data from only a specific widget (or set of widgets) on your dashboard. For example, if you want to deep dive into an earnings transcript, and ignore all other widgets on your dashboard, you can do so by clicking on the "Add widgets as context" button on the widgets you want OpenBB Copilot to use:
The OpenBB Copilot chat window will also show you which widgets are currently selected as explicitly-added context:
Automatically use data from the dashboard
OpenBB Copilot can access information from all widgets you have added to your currently-active dashboard. If no widgets have been explicitly added to the context, OpenBB Copilot can automatically retrieve data from your widgets on the dashboard that it requires in order to answer your query.
If you have added widgets to the context explicitly, OpenBB Copilot will not automatically retrieve data from the dashboard.
For example, if you add the "Historical Stock Price" widget to your dashboard, you can ask OpenBB Copilot to give you the monthly highs for a particular year for AAPL, and OpenBB Copilot will retrieve the data from the "Historical Stock Price" widget on your dashboard automatically to provide an answer:
Also note how OpenBB Copilot displays the reasoning steps that it took to retrieve the data:
OpenBB Copilot also provides a citation for the data source after its response. When you hover over the citation, it will highlight the widget on the dashboard that provided the data:
To learn more about reasoning steps and citations, please see the Reasoning Steps and Citations sections below.
Sometimes, you might need to be more specific with your query when you want Copilot to use one or more widgets from your dashboard, since vague queries might lead OpenBB Copilot to retrieve the data automatically from all of the available data sources it has access to (See more about this capability in the Automatically using data sources available to OpenBB Terminal section below).
To remedy this, simply add a phrase such as "Use the widgets on my dashboard" to the end of your query to "nudge" OpenBB Copilot to retrieve the data from the relevant widgets on your dashboard.