mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-16 10:02:30 +03:00
5fc837b250
* 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
13 lines
286 B
Python
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
|