An open-source implementation of OpenAI o1, base on prompt, inspired by Code-Prompt
o1.py can be a prompt of any LLM, use it and ask anyting
context-learning not only in chat, but also in output
base on LLM: deepseek-chat, top_p = 1, temperature=0.7 deepseek-chat is best LLM !!!
Input: Which is larger, .9 or .11?
{
"raw_query": "Which is larger, .9 or .11?",
"analysis": {
"key_word": [
"comparison",
"decimal numbers",
"magnitude"
],
"knowledge_region": [
"Mathematics",
"Arithmetic",
"Number Theory"
]
},
"expert": {
"name": "Mathematics Expert",
"description": "I am an expert in mathematics, particularly in arithmetic and number theory."
},
"expert_query": "Determine which decimal number is greater: 0.9 or 0.11.",
"expert_analysis": {
"important_parts": [
"Comparing the magnitude of two decimal numbers",
"Understanding the place value of digits in decimal numbers"
],
"concepts_definitions": [
"A decimal number is a fraction where the denominator is a power of ten",
"The place value system determines the value of each digit based on its position"
],
"careful_points": [
"Ensure that both numbers are compared with the same number of decimal places",
"Pay attention to the digits in the tenths and hundredths place"
]
},
"actions": [
{
"action": "Compare the tenths place of 0.9 and 0.11.",
"check": "The tenths place of 0.9 is 9, and the tenths place of 0.11 is 1. Since 9 > 1, 0.9 is larger than 0.11."
}
],
"final_answer": "0.9 is larger than 0.11."
}