Spaces:
Running
Running
File size: 232 Bytes
557ee65 | 1 2 3 4 5 6 7 8 9 10 | from abc import ABC, abstractmethod
from typing import Dict, Any, Union
from pydantic import BaseModel
class BaseAgent(ABC):
@abstractmethod
def run(self, *args, **kwargs) -> Union[Dict[str, Any], BaseModel]:
pass
|