_lc_invalid_tool_call_to_groq_tool_call() — langchain Function Reference
Architecture documentation for the _lc_invalid_tool_call_to_groq_tool_call() function in chat_models.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD beed3c08_6516_6f44_f5eb_a73fa6cb1a0b["_lc_invalid_tool_call_to_groq_tool_call()"] 9591e0fc_6d18_28d3_cea9_e4a5cf7f2b59["chat_models.py"] beed3c08_6516_6f44_f5eb_a73fa6cb1a0b -->|defined in| 9591e0fc_6d18_28d3_cea9_e4a5cf7f2b59 e58980fb_2231_9ea9_a3a2_b6d2a0c2c02d["_convert_message_to_dict()"] e58980fb_2231_9ea9_a3a2_b6d2a0c2c02d -->|calls| beed3c08_6516_6f44_f5eb_a73fa6cb1a0b style beed3c08_6516_6f44_f5eb_a73fa6cb1a0b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/groq/langchain_groq/chat_models.py lines 1527–1537
def _lc_invalid_tool_call_to_groq_tool_call(
invalid_tool_call: InvalidToolCall,
) -> dict:
return {
"type": "function",
"id": invalid_tool_call["id"],
"function": {
"name": invalid_tool_call["name"],
"arguments": invalid_tool_call["args"],
},
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does _lc_invalid_tool_call_to_groq_tool_call() do?
_lc_invalid_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_invalid_tool_call_to_groq_tool_call() defined?
_lc_invalid_tool_call_to_groq_tool_call() is defined in libs/partners/groq/langchain_groq/chat_models.py at line 1527.
What calls _lc_invalid_tool_call_to_groq_tool_call()?
_lc_invalid_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