langchain-ai / langsmith-sdk

LangSmith Client SDK Implementations
https://docs.smith.langchain.com/
MIT License
412 stars 79 forks source link

DOC: Documentation for the expect utility uses "expectation" instead of "reference" in embedding_distance args #868

Closed mobiware closed 3 months ago

mobiware commented 4 months ago

Issue with current documentation:

Documentation for the expect utility uses the wrong argument to the embedding_distance() method in the code sample https://docs.smith.langchain.com/how_to_guides/evaluation/unit_testing#expectations

The code sample uses the expectation arg but the real argument name is reference

Idea or request for content:

No response

hinthornw commented 3 months ago

Good catch