langsmith-sdk icon indicating copy to clipboard operation
langsmith-sdk copied to clipboard

Issue: Playground does not work with images as inputs

Open Xargonus opened this issue 10 months ago • 2 comments

Issue you'd like to raise.

Playground does not work with base64 encoded images. When I press start, I get the following error with OpenAI's gpt-4-turbo multimodal model:

400 Invalid image.

Error: 400 Invalid image.
    at (vc/edge/function:407:6509)
    at (vc/edge/function:410:8909)
    at (vc/edge/function:410:9963)
    at (vc/edge/function:998:10896)
    at (vc/edge/function:125:13571)

With Anthropic's claude, I get the following error:

Anthropic only supports base64-encoded images currently.

Example: data:image/png;base64,/9j/4AAQSk...

Error: Anthropic only supports base64-encoded images currently.

Example: data:image/png;base64,/9j/4AAQSk...
    at (vc/edge/function:1501:8393)
    at (vc/edge/function:1503:4006)
    at (vc/edge/function:1503:3911)
    at (vc/edge/function:1503:3559)
    at (vc/edge/function:1503:2684)
    at (vc/edge/function:438:14958)

Suggestion:

No response

Xargonus avatar Apr 17 '24 09:04 Xargonus

Acknowledged! Thanks for your patience.

hinthornw avatar Apr 17 '24 16:04 hinthornw

I meet the same error

pandaupc avatar Apr 21 '24 14:04 pandaupc