langchain/libs/core/langchain_core/utils
ccurme 8ee8ca7c83
core[patch]: propagate parse_docstring to tool decorator (#24123)
Disabled by default.

```python
from langchain_core.tools import tool

@tool(parse_docstring=True)
def foo(bar: str, baz: int) -> str:
    """The foo.

    Args:
        bar: this is the bar
        baz: this is the baz
    """
    return bar


foo.args_schema.schema()
```
```json
{
  "title": "fooSchema",
  "description": "The foo.",
  "type": "object",
  "properties": {
    "bar": {
      "title": "Bar",
      "description": "this is the bar",
      "type": "string"
    },
    "baz": {
      "title": "Baz",
      "description": "this is the baz",
      "type": "integer"
    }
  },
  "required": [
    "bar",
    "baz"
  ]
}
```
2024-07-11 20:11:45 +00:00
..
__init__.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
_merge.py core[minor]: Add ToolMessage.raw_output (#23994) 2024-07-10 20:11:10 +00:00
aiter.py core[minor]: add upsert, streaming_upsert, aupsert, astreaming_upsert methods to the VectorStore abstraction (#23774) 2024-07-05 12:21:40 -04:00
env.py core[minor]: Support multiple keys in get_from_dict_or_env (#23086) 2024-06-18 14:13:28 -04:00
formatting.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
function_calling.py core[patch]: propagate parse_docstring to tool decorator (#24123) 2024-07-11 20:11:45 +00:00
html.py core[patch]: Enhance link extraction with query parameters (#20259) 2024-04-27 02:22:36 +00:00
image.py core[minor]: Image prompt template (#14263) 2024-01-27 17:04:29 -08:00
input.py infra: rm unused # noqa violations (#22049) 2024-05-22 15:21:08 -07:00
interactive_env.py core[patch]: simple prompt pretty printing (#15968) 2024-01-12 21:08:51 -05:00
iter.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
json_schema.py core[patch]: fixed circular dependency with json schema (#18657) 2024-03-12 05:42:45 +00:00
json.py core: Speed up json parse for large strings (#24036) 2024-07-09 12:26:50 -07:00
loading.py docs: Fix URL formatting in deprecation warnings (#23075) 2024-06-18 14:49:58 -04:00
mustache.py core: fix mustache falsy cases (#22747) 2024-06-10 14:00:12 -07:00
pydantic.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
strings.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
utils.py core[patch]: utils.guard_import fix (#21133) 2024-05-03 17:21:36 -04:00