quivr/backend/core/llm/models/OpenAiAnswer.py
2023-07-17 07:57:27 +01:00

14 lines
329 B
Python

from typing import Optional
from .FunctionCall import FunctionCall
class OpenAiAnswer:
def __init__(
self,
content: Optional[str] = None,
function_call: FunctionCall = None, # pyright: ignore reportPrivateUsage=none
):
self.content = content
self.function_call = function_call