(self, api_key: str, model: str)
| 72 | |
| 73 | class QwenModel(BaseModel): |
| 74 | def __init__(self, api_key: str, model: str): |
| 75 | super().__init__() |
| 76 | self.model = model |
| 77 | dashscope.api_key = api_key |
| 78 | |
| 79 | def get_model_response(self, prompt: str, images: List[str]) -> (bool, str): |
| 80 | content = [{ |