Comments (8)
The reason for not answering questions is that the question bank interface is not currently included in the open source code.
A binary containing the question bank interface may be released later.
不回答问题的原因是,题库接口目前不包括在开放源代码中
包含题库接口的二进制文件可能会在以后发布
from fxxkstar.
怎么用自己的题库接口啊
from fxxkstar.
Replace the question bank by implementing _answers.req()
or _answers.find2()
, the latter is recommended as simpler.
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 question
might be question: dict = {"topic": "Example question", "type": 0}
or question: str = "Example question"
,
where type
= 0: Single Choice, 1: Multiple Choice, 2: Fill in the Blank, 3: Judgment, 4: Short answer questions
.
Example of return value
[
{
"index": 0,
"result": [
{
"correct": [
{
"option": "D",
"content": "test option D"
}
],
"topic": "Example question",
"type": 0
}
],
"topic": "Example question"
}
]
from fxxkstar.
emmmm 没看懂
from fxxkstar.
可以出个中文的空模版吗
from fxxkstar.
In short: you need to implement the function _answers.find2()
, with the parameters being the text of the question and the type of question (e.g. radio, fill-in-the-blank), and the return value being the query result of the question bank, in the format above.
简而言之:你需要实现函数_answers.find2()
,参数是问题的文本和问题的类型(如单选、填空),返回值是题库的查询结果,格式如上。
from fxxkstar.
In this function, you need to request your question bank to query the incoming questions and convert the returned results into the above format.
在这个函数中,你需要请求你的题库查询传入的问题,并将返回的结果转换为上述格式
from fxxkstar.
可不可以让程序随便回答一下题目,再根据反馈得到正确的答案
from fxxkstar.
Related Issues (10)
- Prerequisites should be more clearly HOT 1
- 可以选择多课程但是不同时多线程观看而是一个一个看吗 HOT 1
- 怎么赞助你?或者怎么能联系到你?
- 什么时候支持xuexiaoyi-to-xuexitong-tampermonkey-proxy项目 HOT 2
- 关于字体加密 HOT 3
- 能搞个exe文件吗 HOT 1
- 你好,现在最新的版本能自动看视频答题吗 HOT 2
- 为什么做题时这样抱错 HOT 1
- 视频也无法观看 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fxxkstar.