Skip to content

how to use select widget? #337

Closed Answered by eyurtsev
Fei-Wang asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Fei-Wang,

The only widgets can be specified in the extras: "chat" and "base64file".

All the other widgets are constructed automatically by the UI depending on the schema of the Runnable.

If you want to do a select, you need to create a configurable runnable -- the widget will be created automatically

See LCEL documentation for configurable runnables: https://python.langchain.com/docs/expression_language/how_to/configure

Here's a server example: https://github.com/langchain-ai/langserve/blob/main/examples/configurable_chain/server.py

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Fei-Wang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #336 on December 20, 2023 15:43.