mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-12 12:59:07 +00:00
google-vertexai[minor]: add function calling on VertexAI (#15822)
Replace this entire comment with: - **Description:** Description: added support for tools on VertexAI - **Issue:** #15073 - **Twitter handle:** lkuligin --------- Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
@@ -253,9 +253,8 @@ SERIALIZABLE_MAPPING: Dict[Tuple[str, ...], Tuple[str, ...]] = {
|
||||
"ChatGooglePalm",
|
||||
),
|
||||
("langchain", "chat_models", "vertexai", "ChatVertexAI"): (
|
||||
"langchain",
|
||||
"langchain_google_vertexai",
|
||||
"chat_models",
|
||||
"vertexai",
|
||||
"ChatVertexAI",
|
||||
),
|
||||
("langchain", "schema", "output", "ChatGenerationChunk"): (
|
||||
@@ -337,9 +336,8 @@ SERIALIZABLE_MAPPING: Dict[Tuple[str, ...], Tuple[str, ...]] = {
|
||||
"Replicate",
|
||||
),
|
||||
("langchain", "llms", "vertexai", "VertexAI"): (
|
||||
"langchain",
|
||||
"langchain_vertexai",
|
||||
"llms",
|
||||
"vertexai",
|
||||
"VertexAI",
|
||||
),
|
||||
("langchain", "output_parsers", "combining", "CombiningOutputParser"): (
|
||||
|
@@ -28,7 +28,7 @@ PYTHON_TO_JSON_TYPES = {
|
||||
|
||||
|
||||
class FunctionDescription(TypedDict):
|
||||
"""Representation of a callable function to the OpenAI API."""
|
||||
"""Representation of a callable function to send to an LLM."""
|
||||
|
||||
name: str
|
||||
"""The name of the function."""
|
||||
|
Reference in New Issue
Block a user