An error occurred while communicating with the LangSmith API.
Internal server error while communicating with LangSmith.
Client took too long to send request body.
User error caused an exception when communicating with LangSmith.
You have exceeded the rate limit for the LangSmith API.
Couldn't authenticate with the LangSmith API.
Couldn't find the requested resource.
The resource already exists.
Couldn't connect to the LangSmith API.
Port of ExceptionGroup for Py < 3.11.
Base class for warnings.
Warning for missing API key.
Filter urllib3 warnings logged when the connection pool isn't reused.
Filter for retries from this lib.
Wrapper to filter logs with this name.
ThreadPoolExecutor that copies the context to the child thread.
Return True if tracing is enabled.
Return True if testing is enabled.
Validate specified keyword args are mutually exclusive.
Raise an error with the response text.
Get the value of a string enum.
Log a message at the specified level, but only once.
Extract messages from the given inputs dictionary.
Retrieve the message generation from the given outputs.
Retrieve the prompt from the given inputs.
Get the LLM generation from the outputs.
Get the correct docker compose command for this system.
Convert a LangChain message to an example.
Check if the given object is similar to BaseMessage.
Check if the given environment variable is truish.
Retrieve an environment variable from a list of namespaces.
Get the project name for a LangSmith tracer.
Temporarily adds specified filters to a logger.
Get the testing cache directory.
Filter request headers based on ignore_hosts and allow_hosts.
Use a cache for requests.
Use a cache for requests.
Deep copy a value with a compromise for uncopyable objects.
Check if the current version is greater or equal to the target version.
Parse a string in the format of owner/name:hash, name:hash, owner/name, or name.
Get the LangSmith API URL from the environment or the given value.
Get the API key from the environment or the given value.
Get workspace ID.
Get the host URL based on the web URL or API URL.
Check if the value is truish.