Install and configure the NomadicML SDK
pip install nomadicml
from nomadicml import NomadicML # Initialize with default settings client = NomadicML(api_key="your_api_key") # Or with custom configuration client = NomadicML( api_key="your_api_key", base_url="https://custom-deployment.example.com", # Optional: Custom API endpoint timeout=60, # Optional: Custom timeout in seconds collection_name="custom_collection" # Optional: Custom Firestore collection )
# Check authentication try: auth_info = client.verify_auth() print("Authentication successful:", auth_info) except Exception as e: print("Authentication failed:", e)
pip install --upgrade nomadicml