Skip to content

Commit

Permalink
docs: updated managing model configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
madams0013 committed Dec 4, 2024
1 parent a4b6a42 commit fea416e
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/prompt_engineering/how_to_guides/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Original file line number Diff line number Diff line change
@@ -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";

<video
controls
autoPlay
muted
style={{ width: "100%", borderRadius: "8px", overflow: "hidden" }}
>
<source src={saving_config} />
</video>

## 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

This file was deleted.

Binary file not shown.
Binary file not shown.
9 changes: 4 additions & 5 deletions docs/reference/evaluation/_category_.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"label": "Evaluation",
"collapsed": false,
"collapsible": true
}

"label": "Evaluation",
"collapsed": false,
"collapsible": true
}

0 comments on commit fea416e

Please sign in to comment.