langchain/libs/partners
Bagatur 8461934c2b
core[patch], integrations[patch]: convert TypedDict to tool schema support (#24641)
supports following UX

```python
    class SubTool(TypedDict):
        """Subtool docstring"""

        args: Annotated[Dict[str, Any], {}, "this does bar"]

    class Tool(TypedDict):
        """Docstring
        Args:
            arg1: foo
        """

        arg1: str
        arg2: Union[int, str]
        arg3: Optional[List[SubTool]]
        arg4: Annotated[Literal["bar", "baz"], ..., "this does foo"]
        arg5: Annotated[Optional[float], None]
```

- can parse google style docstring
- can use Annotated to specify default value (second arg)
- can use Annotated to specify arg description (third arg)
- can have nested complex types
2024-07-31 18:27:24 +00:00
..
ai21 ai21: apply rate limiter in integration tests (#24717) 2024-07-26 11:15:36 -04:00
airbyte all: add release notes to pypi (#24519) 2024-07-22 13:59:13 -07:00
anthropic core[patch], integrations[patch]: convert TypedDict to tool schema support (#24641) 2024-07-31 18:27:24 +00:00
azure-dynamic-sessions all: add release notes to pypi (#24519) 2024-07-22 13:59:13 -07:00
chroma all: add release notes to pypi (#24519) 2024-07-22 13:59:13 -07:00
couchbase couchbase: [patch] Return chat message history in order (#24498) 2024-07-22 23:30:29 +00:00
exa all: add release notes to pypi (#24519) 2024-07-22 13:59:13 -07:00
fireworks core[patch], integrations[patch]: convert TypedDict to tool schema support (#24641) 2024-07-31 18:27:24 +00:00
groq core[patch], integrations[patch]: convert TypedDict to tool schema support (#24641) 2024-07-31 18:27:24 +00:00
huggingface core[patch], integrations[patch]: convert TypedDict to tool schema support (#24641) 2024-07-31 18:27:24 +00:00
ibm ibm: move to external repo (#24208) 2024-07-12 21:14:24 +00:00
milvus partners[milvus]: add dynamic field (#24544) 2024-07-24 20:01:58 +00:00
mistralai core[patch], integrations[patch]: convert TypedDict to tool schema support (#24641) 2024-07-31 18:27:24 +00:00
mongodb mongodb: bson optional import (#24685) 2024-07-29 09:54:01 -07:00
nomic all: add release notes to pypi (#24519) 2024-07-22 13:59:13 -07:00
ollama core[patch], integrations[patch]: convert TypedDict to tool schema support (#24641) 2024-07-31 18:27:24 +00:00
openai core[patch], integrations[patch]: convert TypedDict to tool schema support (#24641) 2024-07-31 18:27:24 +00:00
pinecone pinecone: Add embedding Inference Support (#24515) 2024-07-23 22:50:28 +00:00
prompty all: add release notes to pypi (#24519) 2024-07-22 13:59:13 -07:00
qdrant qdrant: Fix vectors_config access (#24606) 2024-07-24 10:54:33 -04:00
robocorp integration releases (#24725) 2024-07-26 12:30:10 -07:00
together together: Add rate limiter to integration tests (#24714) 2024-07-26 10:59:33 -04:00
unstructured partners/unstructured: fix client api_url (#24680) 2024-07-29 11:16:41 -07:00
upstage upstage: move to external repo (#22506) 2024-06-19 17:56:07 +00:00
voyageai all: add release notes to pypi (#24519) 2024-07-22 13:59:13 -07:00