Actions6
- File Search Actions
Overview
This node manages and queries Gemini File Search Stores, a cloud-safe file search service. It supports operations like creating and deleting file stores, uploading files, listing and deleting documents, and querying the stores with retrieval-augmented generation (RAG) for answering questions. It is useful for automating file management and search workflows in cloud environments, such as creating a new file store, uploading documents, and querying them for relevant information.
Use Case Examples
- Create a new File Search store with a human-readable display name.
- Upload a binary file to a specified File Search store with optional display name and MIME type.
- Query a File Search store with a question to retrieve relevant information using a specified model.
Properties
| Name | Meaning |
|---|---|
| Store Display Name | Human-readable display name for the FileSearchStore, used when creating a new store. |
Output
JSON
displayName- The human-readable name of the created FileSearchStore.name- The unique resource name of the created FileSearchStore.
Dependencies
- Requires an API key credential for Gemini API authentication to interact with the generativelanguage.googleapis.com endpoints.
Troubleshooting
- Ensure the 'storeDisplayName' property is provided and not empty when creating a store, otherwise the API call will fail.
- Check that the Gemini API credentials are correctly configured and valid to avoid authentication errors.
- If the API returns an error, verify the resource names and parameters are correctly formatted as per the API requirements.
Links
- Google Gemini File Search Documentation - Official documentation for managing and querying Gemini File Search Stores.