OpenAIAssistantAction Class — langchain Architecture
Architecture documentation for the OpenAIAssistantAction class in base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD cb1e4ace_eb1b_2b2b_c46b_4d5923cf26a8["OpenAIAssistantAction"] 53553bfd_1550_1d23_d247_d865657bb39e["AgentAction"] cb1e4ace_eb1b_2b2b_c46b_4d5923cf26a8 -->|extends| 53553bfd_1550_1d23_d247_d865657bb39e 0331239a_f3d1_a093_b494_8cbb257ab96b["base.py"] cb1e4ace_eb1b_2b2b_c46b_4d5923cf26a8 -->|defined in| 0331239a_f3d1_a093_b494_8cbb257ab96b da386476_8d8f_88bb_8bb3_20e095f7d946["is_lc_serializable()"] cb1e4ace_eb1b_2b2b_c46b_4d5923cf26a8 -->|method| da386476_8d8f_88bb_8bb3_20e095f7d946
Relationship Graph
Source Code
libs/langchain/langchain_classic/agents/openai_assistant/base.py lines 51–71
class OpenAIAssistantAction(AgentAction):
"""AgentAction with info needed to submit custom tool output to existing run.
Args:
tool_call_id: Tool call id.
run_id: Run id.
thread_id: Thread id
"""
tool_call_id: str
run_id: str
thread_id: str
@classmethod
def is_lc_serializable(cls) -> bool:
"""Check if the class is serializable by LangChain.
Returns:
False
"""
return False
Extends
Source
Frequently Asked Questions
What is the OpenAIAssistantAction class?
OpenAIAssistantAction is a class in the langchain codebase, defined in libs/langchain/langchain_classic/agents/openai_assistant/base.py.
Where is OpenAIAssistantAction defined?
OpenAIAssistantAction is defined in libs/langchain/langchain_classic/agents/openai_assistant/base.py at line 51.
What does OpenAIAssistantAction extend?
OpenAIAssistantAction extends AgentAction.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free