Chainlit / literalai-typescript

https://docs.literalai.com
Apache License 2.0
4 stars 0 forks source link

feat: add minimal support for dall-e generation #29

Closed Granipouss closed 3 months ago

Granipouss commented 3 months ago
image

https://linear.app/literalai/issue/ENG-1534/as-a-ts-sdk-user-i-can-instrument-on-openai-image-generations

Because it doesn't follow either Chat or Completion generation, I used a step, it will hopefully support the future steps easier.

Also We should probably create attachment for output images ?

Also added minimal tests on openai instrumentation

willydouhard commented 3 months ago

great, i'd say the step should be of type tool instead of run though.

Granipouss commented 3 months ago

great, i'd say the step should be of type tool instead of run though.

A step that has no parent has to be a run apparently