Skip to main content
All CollectionsGriptape Cloud
Griptape Cloud Guided Sample
Griptape Cloud Guided Sample

Create your own data retrieval chat assistant in under 2 minutes.

D
Written by Derek Pai
Updated over 2 weeks ago

This guided sample is the quickest way to get started with Griptape Cloud.

You'll learn how to create a data source with live news data from the web, a fully-managed vector index knowledge base to serve up your data, and chat assistant that can query and retrieve your data. Use it to answer questions, summarize information, or explain the meaning of life.

Follow these steps to create a sample chat assistant connected to a knowledge base with information from your data source.

Step 1: Create a data source

  1. Log in to Griptape Cloud.

  2. Navigate to the Home screen.

  3. Click Get Started in the section titled Data retrieval chat: Daily news.

  4. A guide banner will appear at the top of the page to provide step-by-step instructions.

  5. Click Next in the banner to navigate to the data source creation form.

  6. We've pre-populated the form with URLs to a few popular daily news websites. Feel free to add or remove websites.

  7. (Optional) change the name or description of the data source.

  8. Click Create to submit the form.

  9. You will be directed to the data source detail page.

What's happening

Creating the data source will automatically initiate a process of extracting, cleaning, and transforming the web page content. This process is known as a data job. While the job is in progress, you can observe the job status and other details.

For this sample, the job should take around a minute. Please be patient; this is longest step!

Step 2: Create a knowledge base containing your data

  1. Once the data job has completed, click Next in the banner to navigate to the knowledge base creation form.

  2. We've pre-populated the form with the data source you just created. Feel free to select another data source if you already have one.

  3. (Optional) change the name or description of the knowledge base.

  4. Click Create to submit the form.

  5. You will be directed to the knowledge base detail page.

What's happening

Creating the knowledge base will automatically load your data source content into a vector database index that is optimized for LLMs to query and retrieve information. This process is known as a knowledge base job. While the job is in progress, you can observe the job status and other details.

For this sample, the job should take around half a minute.

Step 3: Create an assistant with access to your knowledge base

  1. Once the knowledge base job has completed, click Next in the banner to navigate to the assistant creation screen.

  2. We've pre-populated the form with the knowledge base you just created.

  3. (Optional) change the name or description of the knowledge base.

  4. Click Create to submit the form.

  5. You will be directed to the chat interface for your new assistant.

  6. Type a message to start chatting! Try asking, "What's some good news?"

  7. By default, your chat will be written to a new conversation thread. To start a new thread or resume a previous one, use the chat window controls.

  8. Click Done in the banner to close the guide.

Congratulations! You've just finished creating a data retrieval assistant that can chat about current events.

What's next

Now that you're familiar with data sources, knowledge bases, and assistants, you can experiment with your assistant or try additional samples. Here are some things you can try next.

Did this answer your question?