What is a Google Drive node?

Node in Stack AI

Google Drive is the file storage and synchronization service developed by Google. It allows users to store any type of file in a cloud storage.

In Stack AI, you can connect your Google Drive as a knowledge base by using this node and linking it to an existing account.

How to use it?

How to connect with other nodes

To utilize the Google Drive node, you must establish connections to both its input and output edges:

  • Input: This node necessitates a text input. Typically, you would connect the input to an Input node or an LLM. Through this input, you will need to provide the text query that you want to search for in your Google Drive.
  • Output: This node outputs chunks of information after having filtered the information in Google Drive based on your query (your input). Typically, you would connect the output to an LLM or Output node.

Google Drive node authentication and indexing

Additionally, you will need to connect to an account by clicking on the Authenticate button. Once done, you will need to select which specific documents from Google Drive you would like to upload and index (i.e., generate embeddings so that the information can be easily retrieved with the query). You can add as many documents as you want. The green label “OK” will appear next to the documents that have been successfully indexed.