2025-02-11 23:13:18 +08:00
|
|
|
from abc import ABC, abstractmethod
|
|
|
|
|
|
2025-02-14 00:54:59 +08:00
|
|
|
|
2025-02-11 23:13:18 +08:00
|
|
|
class LLMProviderBase(ABC):
|
|
|
|
|
@abstractmethod
|
|
|
|
|
def response(self, session_id, dialogue):
|
|
|
|
|
"""LLM response generator"""
|
2025-02-14 00:54:59 +08:00
|
|
|
pass
|