Actions11
Document → Upload
AI-generatedOverview
This node uploads documents to a specified namespace in the Moorcheh Vector Store API. It is useful for scenarios where you want to store and manage text documents along with their metadata in a vector database for later retrieval or analysis. For example, you can upload multiple documents with unique IDs, text content, and additional metadata to organize and search them efficiently.
Use Case Examples
- Uploading a batch of product descriptions with metadata to a namespace for semantic search.
- Storing customer feedback documents with associated metadata for sentiment analysis.
Properties
| Name | Meaning |
|---|---|
| Namespace Name | The name of the namespace where the documents will be uploaded. This is required to specify the target storage area in the vector store. |
| Documents | A collection of documents to upload. Each document requires an ID, text content, and optional metadata in JSON format to provide additional context or attributes. |
Output
JSON
jsonid- The unique identifier of the uploaded document.text- The text content of the uploaded document.metadata- Additional metadata associated with the document, parsed from JSON input.
Dependencies
- Requires an API key credential for Moorcheh API authentication to perform HTTP requests.
Troubleshooting
- Ensure the 'Namespace Name' is correctly specified and exists in the Moorcheh system before uploading documents.
- Verify that the 'Metadata' field contains valid JSON; otherwise, the node will throw a metadata parsing error.
- Check network connectivity and API key validity if HTTP requests fail.