Skip to content

config_hash in the API endpoints #229

Discussion options

You must be logged in to vote

Hi @anusha2310-netizen,

The config_hash parameter is a compressed json string that contains the config payload. If it's uncompressed and decoded with json, it'll be a config dictionary.

This parameter is not one that you should be setting manual. It's meant to be used in conjunction with the LangServe playground.

If you create a configurable runnable (see for example: https://python.langchain.com/docs/expression_language/how_to/configure)

The LangServe playground will show a widget with configuration options:

Once it's configured, you can share the configuration using the share button:

The share button will have a value of the config_hash that contains the configuration.

The scenari…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@anusha2310-netizen
Comment options

Answer selected by anusha2310-netizen
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