mirror of
https://github.com/getzep/graphiti.git
synced 2025-06-27 02:00:02 +00:00
13 lines
289 B
Python
13 lines
289 B
Python
![]() |
from abc import ABC, abstractmethod
|
||
|
from .config import LLMConfig
|
||
|
|
||
|
|
||
|
class LLMClient(ABC):
|
||
|
@abstractmethod
|
||
|
def __init__(self, config: LLMConfig):
|
||
|
pass
|
||
|
|
||
|
@abstractmethod
|
||
|
async def generate_response(self, messages: list[dict[str, str]]) -> dict[str, any]:
|
||
|
pass
|