Configuration
The SDK uses pydantic-settings for configuration management.
The SDK uses pydantic-settings for configuration management. You can configure the client by passing arguments to its constructor, or by setting environment variables.
| Prop | Type | Default |
|---|---|---|
loglevel? | string | WARNING |
neo4j_password? | string | None | - |
neo4j_user? | string | None | - |
neo4j_uri? | string | None | - |
t2g_api_host? | string | https://oath.t2g-staging.lettria.net |
api_key | string | - |
Note: The Neo4j configuration options (neo4j_uri, neo4j_user, neo4j_password) are only required if you set save_to_neo4j=True when calling index_file.