Integrates with DeepDoc OCR and document parsing services to ingest documents into a vector store
The DeepDoc Client Action interfaces with the DeepDoc service for document processing, chunking, and metadata extraction. It allows users to upload documents or document URLs in batches for various formats (PDF, DOCX, Excel, PPT, TXT), facilitating asynchronous document processing and ingestion into a configured vector store.
This package is defined as a singleton action, requiring the Jivas library (version 2.0.0 or higher) and a properly configured vector_store_action
. It also requires the Jivas-modified DeepDoc service.
jivas/deepdoc_client_action
DeepDocStoreAction
^2.0.0
This action supports configuration either via environment variables or directly from within the action application settings.
Variable Name | Description | Default Value | Required |
---|---|---|---|
DEEPDOC_API_URL |
API endpoint URL of your DeepDoc service | http://localhost:8001 |
Yes |
DEEPDOC_API_KEY |
Your DeepDoc API authentication token | api-key (replace with secure value) |
Yes |
JIVAS_BASE_URL |
Base URL for your Jivas instance; required for the deepdoc callback to function | http://localhost:8000 | Yes |
VECTOR_STORE_ACTION |
Action used for storing vector data | TypesenseVectorStoreAction |
Yes |
You can configure these values as environment variables so they are accessible to your runtime environment.
.bashrc
or shell configuration):export DEEPDOC_API_URL="https://your-custom-deepdoc-url.com"
export DEEPDOC_API_KEY="your-secure-api-key"
export JIVAS_BASE_URL="https://your-jivas-base-url.com"
docker-compose.yml
):environment:
DEEPDOC_API_URL: "https://your-custom-deepdoc-url.com"
DEEPDOC_API_KEY: "your-secure-api-key"
JIVAS_BASE_URL: "https://your-jivas-base-url.com"
Alternatively, you can configure these variables within the action app's settings interface in the JIVAS manager. This is useful if you prefer not to use environment variables or want easy adjustments through the GUI.
From within the action's configuration page:
api_url
, api_key
, and vector_store_action
) into their respective configuration fields.Note: Configuration values set directly within the action app override those provided via environment variables.
After adjusting settings, restart your service or action to apply your changes.
git clone https://github.com/YOUR_USERNAME/deepdoc_store_action
git checkout -b feature-xyz
git commit -m 'feat: add XYZ feature'
git push origin feature-xyz
This project is licensed under the Apache License 2.0. See the LICENSE file for additional licensing information.
jvcli download action jivas/deepdoc_client_action