How deduu/vidavox_client works
Project type and purpose
• This is an open-source Python client library (SDK) for interacting with a remote Retrieval-Augmented Generation (RAG) API service.
• The library abstracts folder management, file uploads, search operations, error handling, and configuration.
File structure
• Top level:
• setup.py, README.md, examples/
• Core package: vidavox_rag_client/
• client.py – main entry point (RAGClient class)
• config.py – environment-based configuration loader
• folder_service.py & search_service.py – domain-specific API wrappers
• models/ – representations of Folder, File, Search results
• exceptions.py – custom exception hierarchy
• utils.py – shared HTTP request or helper functions
• Examples directory shows typical usage scenarios.
README for additional insights
• Describes features (folder ops, file ops, search, upload+search).
• Shows configuration via .env or explicit parameters.
• Demonstrates how RAGClient delegates to service classes.
• Mentions dependencies (Python 3.8+, dotenv, HTTP library).