Skip to content

Commit

Permalink
docs: extra params (#668)
Browse files Browse the repository at this point in the history
<img width="904" alt="Screenshot 2025-02-06 at 7 21 22 PM"
src="https://github.com/user-attachments/assets/73911e5e-cf4f-4898-8bac-5f82f9fa9928"
/>
  • Loading branch information
madams0013 authored Feb 7, 2025
1 parent 2fbe0ec commit 201dac7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,15 @@ Tools enable your LLM to perform tasks like searching the web, looking up inform
## Prompt Formatting

For information on chat and completion prompts, see [here](../concepts#chat-vs-completion). For information about prompt templating and using variables, see [here](../concepts#f-string-vs-mustache).

## Extra Parameters

The **Extra Parameters** field allows you to pass additional model parameters that aren't directly supported in the LangSmith interface. This is particularly useful in two scenarios:

1. When model providers release new parameters that haven't yet been integrated into the LangSmith interface. You can specify these parameters in JSON format to use them right away.

![Extra Params](./static/extra_params.png)

2. When troubleshooting parameter-related errors in the playground. If you receive an error about unnecessary parameters (more common when using LangChainJS for run tracing), you can use this field to remove the extra parameters.

![Extra Params](./static/extra_params_error.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 201dac7

Please sign in to comment.