GitHub Copilot
How to use the Spice.ai for GitHub Copilot Extension
Last updated
How to use the Spice.ai for GitHub Copilot Extension
Last updated
The Spice AI GitHub Copilot Extension makes it easy to access and chat with external data in GitHub Copilot, enhancing AI-assisted research, Q&A, code, and documentation suggestions for greater accuracy.
Access structured and unstructured data from any Spice data source like GitHub, PostgreSQL, MySQL, Snowflake, Databricks, GraphQL, data lakes (S3, Delta Lake, OneLake), HTTP(s), SharePoint, and even FTP.
Some example prompts:
@spiceai
What documentation is relevant to this file?
@spiceai
Write documentation about the user authentication issue
@spiceai
Who are the top 5 committers to this repository?
@spiceai
What are the latest error logs from my web app?
To install the extension, visit the GitHub Marketplace and search for Spice.ai.
Scroll down, and click Install it for free.
Once installed, open Copilot Chat and type @spiceai
. Press enter.
A prompt will appear to connect to the Spice.ai Platform.
You will need to authorize the extension. Click Authorize spiceai.
To create an account on the Spice.ai Cloud Platform, click Authorize Spice.ai Cloud Platform.
Once your account is created, you can configure the extension. Select from a set of ready-to-use datasets to get started. You'll have a chance to configure other datasets after setup.
The extension will take up to 30 seconds to deploy and load the initial dataset.
When complete, proceed back to GitHub Copilot Chat.
To chat with the Spice.ai for GitHub Copilot extension, prefix the message with @spiceai
If @spiceai
does not appear in the popup (2), ensure that all the installation steps have been followed.
To list the datasets available to Copilot, try @spiceai What datasets do I have access to?