quivr/backend/llm/models/OpenAiAnswer.py
Matt e931d29017
feat: new classes (#499)
* feat: new classes

* chore: private llm refactor and enable streaming

* fix: validation errors in pytest

* fix: default brain behavior

* Update backend/llm/base.py

* chore: remove 🪦

* fix: remove 🪦
2023-07-04 16:56:54 +01:00

13 lines
285 B
Python

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