mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-18 08:02:03 +03:00
e931d29017
* 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 🪦
13 lines
285 B
Python
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
|