Python SDK Setup
The Data Neuron Python SDK allows you to integrate powerful natural language querying capabilities directly into your Python applications.
- Import the DataNeuron class:
from dataneuron import DataNeuron
- Initialize DataNeuron with your database configuration and context:
dn = DataNeuron(db_config='path/to/database.yaml', context='your_context_name')
dn.initialize()
- (Optional) Set up client context for multi-tenant scenarios:
dn.set_client_context("client_123")