Development
Initialize
Initialize LangBear client to start using it.
Initializing LangBear client
Using environment variable
Set LANGBEAR_ENDPOINT
environment variable to the endpoint of LangBear server.
Using parameters
Pass the endpoint to end_point
parameter.
Adding callback handler
LangBear callback handler tracks the API calls and responses.
Create and pass callback handler to the model: