Source: factory.ai/package.mcp/ObjAiMcpOpenai.py
OpenAI implementation for the MCP AI interface.
| Method | Signature | Description |
|---|---|---|
| prompt | prompt(role: str = '', prompt: str = '', image_base64: str = '') -> str |
Sends a prompt to the OpenAI model and returns the response. |