Skip to content

Commit b3d88a0

Browse files
committed
oss(contributing): update the example in the KServe documentation
1 parent 1e34e6a commit b3d88a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/oss/python/integrations/chat/kserve.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ asyncio.run(main())
106106
Tool calling works with OpenAI-compatible endpoints.
107107

108108
```python
109-
from langchain_core.tools import tool
109+
from langchain.tools import tool
110110

111111
@tool
112112
def get_weather(city: str) -> str:
@@ -137,7 +137,7 @@ print(result)
137137
```python
138138
import base64
139139
import pathlib
140-
from langchain_core.messages import HumanMessage
140+
from langchain.messages import HumanMessage
141141

142142
image_data = base64.b64encode(pathlib.Path("chart.png").read_bytes()).decode()
143143

0 commit comments

Comments
 (0)