issues
search
Chainlit
/
literalai-python
https://docs.getliteral.ai/
Apache License 2.0
12
stars
0
forks
source link
Enable using the OpenAI instrumentation in Chainlit
#43
Closed
tpatel
closed
8 months ago
tpatel
commented
8 months ago
add an optional
on_new_generation
callback to the openai instrumentation
error out when
on_new_generation
doesn't have two arguments
remove the
start_step
when
on_new_generation
is set so that only a
generation
is created
call the
on_new_generation
callback with the
generation
and the start/end metadata (in seconds)
on_new_generation
callback to the openai instrumentationon_new_generation
doesn't have two argumentsstart_step
whenon_new_generation
is set so that only ageneration
is createdon_new_generation
callback with thegeneration
and the start/end metadata (in seconds)