File size: 222 Bytes
9b0f62b
d866e5b
9b0f62b
 
 
 
 
1
2
3
4
5
6
7
from abc import ABC, abstractmethod
from typing import List, Dict, Any

class BaseLLMProvider(ABC):
    @abstractmethod
    async def generate(self, messages: List[Dict[str, str]], **kwargs) -> Dict[str, Any]:
        pass