config_hash
in the API endpoints
#229
-
What is this config_hash |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The 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 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 The scenario in which you want to use this:
The link can be used access the pre-configured runnable from the web-browser. The config hash can also be used with the python or js sdks and be passed as the configuration for the runnable. |
Beta Was this translation helpful? Give feedback.
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…