|
@@ -17,6 +17,10 @@ package object |
|
|
import "fmt" |
|
|
import "fmt" |
|
|
|
|
|
|
|
|
func GetRefinedQuestion(knowledge string, question string) string { |
|
|
func GetRefinedQuestion(knowledge string, question string) string { |
|
|
|
|
|
if knowledge == "" { |
|
|
|
|
|
return question |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
return fmt.Sprintf(`paragraph: %s |
|
|
return fmt.Sprintf(`paragraph: %s |
|
|
|
|
|
|
|
|
You are a reading comprehension expert. Please answer the following questions based on the provided content. The content may be in a different language from the questions, so you need to understand the content according to the language of the questions and ensure that your answers are translated into the same language as the questions: |
|
|
You are a reading comprehension expert. Please answer the following questions based on the provided content. The content may be in a different language from the questions, so you need to understand the content according to the language of the questions and ensure that your answers are translated into the same language as the questions: |
|
|