diff --git a/docs/prompt_engineering/how_to_guides/index.md b/docs/prompt_engineering/how_to_guides/index.md index 2b6361da..c2a623f3 100644 --- a/docs/prompt_engineering/how_to_guides/index.md +++ b/docs/prompt_engineering/how_to_guides/index.md @@ -18,7 +18,7 @@ Quickly iterate on prompts and models in the LangSmith Playground. - [Run the playground against a custom LangServe model server](./how_to_guides/playground/custom_endpoint) - [Run the playground against an OpenAI-compliant model provider/proxy](./how_to_guides/playground/custom_openai_compliant_model) - [Use custom TLS certificates](./how_to_guides/playground/custom_tls_certificates) -- [Save settings configuration](./how_to_guides/playground/save_model_configuration) +- [Manage model configurations](./how_to_guides/playground/managing_model_configurations) ## Few shot prompting diff --git a/docs/prompt_engineering/how_to_guides/playground/custom_endpoint.mdx b/docs/prompt_engineering/how_to_guides/playground/custom_endpoint.mdx index 869f77fc..141a368c 100644 --- a/docs/prompt_engineering/how_to_guides/playground/custom_endpoint.mdx +++ b/docs/prompt_engineering/how_to_guides/playground/custom_endpoint.mdx @@ -43,4 +43,4 @@ Enter the `URL`. The playground will automatically detect the available endpoint If everything is set up correctly, you should see the model's response in the playground as well as the configurable fields specified in the `with_configurable_fields`. -See how to store your model configuration for later use [here](./save_model_configuration). +See how to store your model configuration for later use [here](./managing_model_configurations). diff --git a/docs/prompt_engineering/how_to_guides/playground/custom_openai_compliant_model.mdx b/docs/prompt_engineering/how_to_guides/playground/custom_openai_compliant_model.mdx index 5ad5af97..5cc5ed7a 100644 --- a/docs/prompt_engineering/how_to_guides/playground/custom_openai_compliant_model.mdx +++ b/docs/prompt_engineering/how_to_guides/playground/custom_openai_compliant_model.mdx @@ -25,4 +25,4 @@ Once you have deployed a model server, you can use it in the LangSmith Playgroun If everything is set up correctly, you should see the model's response in the playground. You can also use this functionality to invoke downstream pipelines as well. -See how to store your model configuration for later use [here](./save_model_configuration). +See how to store your model configuration for later use [here](./managing_model_configurations). diff --git a/docs/prompt_engineering/how_to_guides/playground/managing_model_configurations.mdx b/docs/prompt_engineering/how_to_guides/playground/managing_model_configurations.mdx new file mode 100644 index 00000000..12607c3d --- /dev/null +++ b/docs/prompt_engineering/how_to_guides/playground/managing_model_configurations.mdx @@ -0,0 +1,44 @@ +--- +sidebar_position: 4 +--- + +# Managing Model Configurations + +The LangSmith playground allows you to save and manage your model configurations, making it easy to reuse your preferred settings across sessions. + +## Saving a Configuration + +1. Adjust the model settings as desired in the playground +2. Click the `Save As` button in the bottom bar +3. Enter a name and optional description for your configuration + +import saving_config from "./static/saving_config.mp4"; + + + +## Managing Saved Configurations + +### Accessing Saved Configurations + +- Click the `Model configuration` dropdown to view all your saved configurations + +### Editing Configurations + +- To rename or update the description: Click the pencil icon next to a saved configuration +- To update the current configuration's settings: Click the `Save` button at the bottom + +### Deleting Configurations + +1. Select the configuration you want to remove +2. Click the trash can icon to delete it + +### Resetting to Default + +- To restore default model settings: Click the `x` button in the top row diff --git a/docs/prompt_engineering/how_to_guides/playground/save_model_configuration.mdx b/docs/prompt_engineering/how_to_guides/playground/save_model_configuration.mdx deleted file mode 100644 index 73e8c9cd..00000000 --- a/docs/prompt_engineering/how_to_guides/playground/save_model_configuration.mdx +++ /dev/null @@ -1,13 +0,0 @@ ---- -sidebar_position: 4 ---- - -# Save settings configuration - -Within the settings of the LangSmith playground, you can save your model configuration for later use. -This helps you quickly apply your frequently-used settings without having to re-enter the details each time. - -To save the current playground configuration, click on the `Save` button in the top right corner of settings. -You can name the configuration and easily access it later. - -![Store Playground Configuration](./static/saving_custom_model.gif) diff --git a/docs/prompt_engineering/how_to_guides/playground/static/saving_config.mp4 b/docs/prompt_engineering/how_to_guides/playground/static/saving_config.mp4 new file mode 100644 index 00000000..2952b03c Binary files /dev/null and b/docs/prompt_engineering/how_to_guides/playground/static/saving_config.mp4 differ diff --git a/docs/prompt_engineering/how_to_guides/playground/static/saving_custom_model.gif b/docs/prompt_engineering/how_to_guides/playground/static/saving_custom_model.gif deleted file mode 100644 index de04d422..00000000 Binary files a/docs/prompt_engineering/how_to_guides/playground/static/saving_custom_model.gif and /dev/null differ diff --git a/docs/reference/evaluation/_category_.json b/docs/reference/evaluation/_category_.json index 2367b1cc..6ff4b481 100644 --- a/docs/reference/evaluation/_category_.json +++ b/docs/reference/evaluation/_category_.json @@ -1,6 +1,5 @@ { - "label": "Evaluation", - "collapsed": false, - "collapsible": true - } - \ No newline at end of file + "label": "Evaluation", + "collapsed": false, + "collapsible": true +}