Files
LongCodeZip/experiments/repo-qa/provider/base.py
YerbaPage a391badfe1 packaging
2025-10-11 21:33:12 +08:00

15 lines
332 B
Python

# SPDX-FileCopyrightText: (c) 2024 EvalPlus Team
#
# SPDX-License-Identifier: Apache-2.0
from abc import ABC, abstractmethod
from typing import List
class BaseProvider(ABC):
@abstractmethod
def generate_reply(
self, question, n=1, max_tokens=1024, temperature=0.0, system_msg=None
) -> List[str]:
...