We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60afbec commit c2f504dCopy full SHA for c2f504d
src/oss/python/integrations/chat/kserve.mdx
@@ -106,7 +106,7 @@ asyncio.run(main())
106
Tool calling works with OpenAI-compatible endpoints.
107
108
```python
109
-from langchain_core.tools import tool
+from langchain.tools import tool
110
111
@tool
112
def get_weather(city: str) -> str:
@@ -137,7 +137,7 @@ print(result)
137
138
import base64
139
import pathlib
140
-from langchain_core.messages import HumanMessage
+from langchain.messages import HumanMessage
141
142
image_data = base64.b64encode(pathlib.Path("chart.png").read_bytes()).decode()
143
0 commit comments