Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 10-ai-framework-project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ if(res.tool_calls):
print("CONTENT: ",res.content)
```

Now that we call `invoke` on this new llm, that has tools, we maybe the the property `tool_calls` populated. If so, any identified tools has a `name` and `args` property that identifies what tool should be called and with arguments. The full code looks like so:
Now that we call `invoke` on this new llm, that has tools, we may see the `tool_calls` property populated. If so, any identified tools has a `name` and `args` property that identifies what tool should be called and with arguments. The full code looks like so:

```python
from langchain_core.messages import HumanMessage, SystemMessage
Expand Down