_lc_tool_call_to_groq_tool_call() — langchain Function Reference
Architecture documentation for the _lc_tool_call_to_groq_tool_call() function in chat_models.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 4f66305a_7bfb_7115_43e4_80967cae2db3["_lc_tool_call_to_groq_tool_call()"] 9591e0fc_6d18_28d3_cea9_e4a5cf7f2b59["chat_models.py"] 4f66305a_7bfb_7115_43e4_80967cae2db3 -->|defined in| 9591e0fc_6d18_28d3_cea9_e4a5cf7f2b59 e58980fb_2231_9ea9_a3a2_b6d2a0c2c02d["_convert_message_to_dict()"] e58980fb_2231_9ea9_a3a2_b6d2a0c2c02d -->|calls| 4f66305a_7bfb_7115_43e4_80967cae2db3 style 4f66305a_7bfb_7115_43e4_80967cae2db3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/groq/langchain_groq/chat_models.py lines 1516–1524
def _lc_tool_call_to_groq_tool_call(tool_call: ToolCall) -> dict:
return {
"type": "function",
"id": tool_call["id"],
"function": {
"name": tool_call["name"],
"arguments": json.dumps(tool_call["args"], ensure_ascii=False),
},
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does _lc_tool_call_to_groq_tool_call() do?
_lc_tool_call_to_groq_tool_call() is a function in the langchain codebase, defined in libs/partners/groq/langchain_groq/chat_models.py.
Where is _lc_tool_call_to_groq_tool_call() defined?
_lc_tool_call_to_groq_tool_call() is defined in libs/partners/groq/langchain_groq/chat_models.py at line 1516.
What calls _lc_tool_call_to_groq_tool_call()?
_lc_tool_call_to_groq_tool_call() is called by 1 function(s): _convert_message_to_dict.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free