Files
langchain/tests/unit_tests
Jason B. Koh d642609a23 Fix: Recognize List at from_function (#7178)
- Description: pydantic's `ModelField.type_` only exposes the native
data type but not complex type hints like `List`. Thus, generating a
Tool with `from_function` through function signature produces incorrect
argument schemas (e.g., `str` instead of `List[str]`)
  - Issue: N/A
  - Dependencies: N/A
  - Tag maintainer: @hinthornw
  - Twitter handle: `mapped`

All the unittest (with an additional one in this PR) passed, though I
didn't try integration tests...
2023-07-06 17:22:09 -04:00
..
2023-07-06 13:58:58 -07:00
2023-06-16 11:52:56 -07:00
2023-07-01 13:39:19 -04:00
2023-07-01 13:39:19 -04:00
2023-05-19 15:27:50 -07:00
2023-05-22 16:43:07 -07:00