Installation
Install the Functor SDK and get started building intelligent applications with DRIP/KG-RAG in minutes.
Requirements
- Python 3.9 or higher
- pip or uv package manager
Install from PyPI
The recommended way to install Functor SDK is via pip or uv:
Install from Source
For development or the latest features, install from source:
Verify Installation
Verify that the SDK is installed correctly:
Installation Complete
If the import works without errors, you're ready to go!
Dependencies
The SDK automatically installs the following dependencies:
httpx- Modern async HTTP clientpydantic- Data validation and settings managementpython-dotenv- Environment variable managementnest-asyncio- Nested event loop support
Configuration
Set up your environment variables for easier development:
With environment variables set, you can initialize the client without parameters:
Docker Setup (Optional)
If you're running the DRIP/KG-RAG system locally, you'll need Docker:
API Key Required
You'll need an API key to use the SDK. Contact your system administrator or check the deployment documentation for API key generation.
Troubleshooting
Import Errors
If you encounter import errors:
Version Conflicts
If you have dependency conflicts:
Connection Errors
If you can't connect to the API:
- Verify the
FUNCTOR_BASE_URLis correct - Check that the DRIP/KG-RAG system is running
- Verify your API key is valid
- Check network/firewall settings
Next Steps
Now that you have the SDK installed, you're ready to start building:
- Quick Start Guide - Your first query
- Client Configuration - Advanced setup
- Query Operations - Execute queries