The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: ls similar examples header (#25642)
Bagaturf535e8a99e0a
diff --git a/docs/docs/how_to/example_selectors_langsmith.ipynb b/docs/docs/how_to/example_selectors_langsmith.ipynbindex 2e7ab9a5bc..b8d928082f 100644--- a/docs/docs/how_to/example_selectors_langsmith.ipynb+++ b/docs/docs/how_to/example_selectors_langsmith.ipynb@@ -116,6 +116,8 @@"id": "5767d171","metadata": {},"source": [+ "## Querying dataset\n",+ "\n","Indexing can take a few seconds. Once the dataset is indexed, we can search for similar examples. Note that the input to the `similar_examples` method must have the same schema as the examples inputs. In this case our example inputs are a dictionary with a \"question\" key:"]},@@ -223,6 +225,8 @@"id": "e852c8ef","metadata": {},"source": [+ "## Creating dynamic few-shot prompts\n",+ "\n","The search returns the examples whose inputs are most similar to the query input. We can use this for few-shot prompting a model like so:"]},