quivr/backend/llm/BrainPickingOpenAIFunctions/models/FunctionCall.py
Stan Girard 5fc837b250
feat(brainpicking): simplified (#371)
* feat(functions): simplified

* refactor(openai): changed to brainpicking

* feat(functions): made them inherit from brainpicking

* feat(privatebrainpicking): added new class

* feat(history&context): added

* Delete test_brainpicking.py

* Delete __init__.py
2023-06-26 10:34:03 +02:00

13 lines
286 B
Python

from typing import Optional
from typing import Any, Dict # For type hinting
class FunctionCall:
def __init__(
self,
name: Optional[str] = None,
arguments: Optional[Dict[str, Any]] = None,
):
self.name = name
self.arguments = arguments