Gemini File Search icon

Gemini File Search

Manage and query Gemini File Search Stores (cloud-safe)

Overview

This node manages and interacts with Gemini File Search Stores, a cloud-safe file search service. It supports operations such as creating and deleting file search stores, uploading files, listing documents, deleting documents, and querying the stores with retrieval-augmented generation (RAG) to answer questions based on stored files. This node is useful for automating file management and search tasks within Gemini File Search, enabling workflows that require file indexing, retrieval, and querying capabilities.

Use Case Examples

  1. Create a new File Search store to organize and index files for search.
  2. Upload files to a specific File Search store to make them searchable.
  3. Query a File Search store with a question to retrieve relevant information from stored documents.
  4. Delete a File Search store when it is no longer needed to free up resources.

Properties

Name Meaning
Store Name Full resource name of the FileSearchStore to delete (e.g., fileSearchStores/STORE_ID)

Output

JSON

  • * - Response data from the Gemini File Search API for the delete store operation

Dependencies

  • Requires an API key credential for Gemini API authentication to interact with the Gemini File Search service.

Troubleshooting

  • Ensure the 'Store Name' is correctly formatted as the full resource name (e.g., fileSearchStores/STORE_ID).
  • Check that the API key credential for Gemini API is valid and has the necessary permissions.
  • If the store does not exist or has already been deleted, the API may return an error.
  • Network issues or incorrect endpoint URLs can cause request failures.

Links

Discussion