Tree-structured catalogue X List of questions to learn ==> AI-generated book
AI Knowledge Hub refers to the knowledge set extracted by aidocx.
With the development of artificial intelligence technology, AI can automatically extract a relevant knowledge base from a large amount of data. By combining this AI technology with a tree-structured knowledge base, we can create a system that automatically generates technical books.
This automated system for generating technical books can greatly improve the learning efficiency of technical personnel. Users can quickly grasp the required knowledge by browsing these automatically generated books. At the same time, this system can quickly update the knowledge base and book content according to changes and developments in technology, maintaining the freshness and practicality of the books.
Such technology can also be applied in enterprise internal knowledge management systems to help companies quickly establish a complete knowledge system and automatically generate corresponding training materials and textbooks. This can greatly reduce the time and cost of internal training in companies, and improve the training efficiency and learning effectiveness of employees.
Aidocx is such a tool. By inputting a tree-structured knowledge list (in markdown format) and the expected questions to ask for each knowledge point (in yaml format), you can automatically generate a technical book.
Obtain an API key from OpenAI (Bard still does not provide a web API interface.)
OpenAI
- Knowledge point 1
- Knowledge point 1.1
- Knowledge point 1.2
- Knowledge point 1.3
- Knowledge point 2
- Knowledge point 3
知識點清單範例
- Machine Learning
- Supervised Learning
- Classification
- Regression
- Unsupervised Learning
- Clustering
- Dimensionality Reduction
- Deep Learning
- Neural Networks
- Activation Functions
- Loss Functions
- Backpropagation
apiProvider: OpenAI
apiModal: gpt-3.5-turbo-0301
initRole: Assuming you are an Machine Learning expert, answer my questions.
questions:
- key: preview
desc: Preview
template: give me five question about {{ .keyword}}
- key: explain
desc: Explain
template: Explain {{ .keyword}} and give an example
- key: keypoint
desc: Keypoint
template: List the key points of {{ .keyword}}
- key: review
desc: Review
template: Give me 5 medium-difficulty questions with answers about {{ .keyword}}
aidocx -t epub \
-o output.epub \
-apikey-openai "-paste-your-api-key" \
input.md
Aidocx is a free tool, but it requires calling an API provided by a vendor, such as Microsoft or Google, and the vendor will charge accordingly for the corresponding API key. For example, for ChatGPT3, the cost of 1000 tokens is 0.002 USD. For more details, please refer to OpenAI’s pricing page.
A question, including the total number of characters in the question and answer, can have a maximum of 4096 tokens, so the maximum cost of a question is 0.008192 USD. If you have 100 knowledge points and each knowledge point has 5 questions, the expected cost will be 4.096 USD.
It should be noted that 4096 is the upper limit of one question for GPT-3, and the actual number of characters in the answer will not be that high. Based on experience, on average, the actual number of characters in the answer may be between 1/4 to 1/2 of the upper limit value, depending on the complexity of the question. If you use GPT-4, the cost will be higher, but you can get longer answers.