Logo
Explore Help
Register Sign In
yujunjun/graphiti
1
0
Fork 0
You've already forked graphiti
mirror of https://github.com/getzep/graphiti.git synced 2025-06-27 02:00:02 +00:00
Code Issues Packages Projects Releases Wiki Activity
graphiti/core/llm_client/client.py

14 lines
290 B
Python
Raw Normal View History

Refactor maintenance structure, add prompt library (#4) * chore: Initial draft of stubs * chore: Add comments and mock implementation of the add_episode method * chore: Add success and error callbacks * chore: Add success and error callbacks * refactor: Fix conflicts with the latest merge
2024-08-15 12:03:41 -04:00
from abc import ABC, abstractmethod
format and linting (#18) * Makefile and format * fix podcast stuff * refactor: update import statement for transcript_parser in podcast_runner.py * format and linting * chore: Update import statements and remove unused code in maintenance module
2024-08-22 12:26:13 -07:00
Refactor maintenance structure, add prompt library (#4) * chore: Initial draft of stubs * chore: Add comments and mock implementation of the add_episode method * chore: Add success and error callbacks * chore: Add success and error callbacks * refactor: Fix conflicts with the latest merge
2024-08-15 12:03:41 -04:00
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
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 349ms Template: 10ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API