-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这个为什么不答题呀(如何添加一个题库接口) #7
Comments
The reason for not answering questions is that the question bank interface is not currently included in the open source code. |
怎么用自己的题库接口啊 |
Replace the question bank by implementing class _answers:
@staticmethod
def req(fxxkstar: FxxkStar, questions: List[dict], work_id: str, card_url: str) -> List[dict]:
return []
@staticmethod
def find2(question: dict | str) -> list:
return [] where [
{
"index": 0,
"result": [
{
"correct": [
{
"option": "D",
"content": "test option D"
}
],
"topic": "Example question",
"type": 0
}
],
"topic": "Example question"
}
] |
emmmm 没看懂 |
可以出个中文的空模版吗 |
In short: you need to implement the function |
In this function, you need to request your question bank to query the incoming questions and convert the returned results into the above format. |
可不可以让程序随便回答一下题目,再根据反馈得到正确的答案 |
更新完版本之后不报错了 但是不答题
The text was updated successfully, but these errors were encountered: