prompt renaming
This commit is contained in:
parent
dc082de4c2
commit
0fbb50960b
1 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ async def answer_without_cognee(instance):
|
||||||
"context": instance["context"],
|
"context": instance["context"],
|
||||||
}
|
}
|
||||||
user_prompt = render_prompt("context_for_question.txt", args)
|
user_prompt = render_prompt("context_for_question.txt", args)
|
||||||
system_prompt = read_query_prompt("answer_question.txt")
|
system_prompt = read_query_prompt("answer_hotpot_question.txt")
|
||||||
|
|
||||||
llm_client = get_llm_client()
|
llm_client = get_llm_client()
|
||||||
answer_prediction = await llm_client.acreate_structured_output(
|
answer_prediction = await llm_client.acreate_structured_output(
|
||||||
|
|
@ -50,7 +50,7 @@ async def answer_with_cognee(instance):
|
||||||
"context": search_results,
|
"context": search_results,
|
||||||
}
|
}
|
||||||
user_prompt = render_prompt("context_for_question.txt", args)
|
user_prompt = render_prompt("context_for_question.txt", args)
|
||||||
system_prompt = read_query_prompt("answer_question_kg.txt")
|
system_prompt = read_query_prompt("answer_hotpot_using_cognee_search.txt")
|
||||||
|
|
||||||
llm_client = get_llm_client()
|
llm_client = get_llm_client()
|
||||||
answer_prediction = await llm_client.acreate_structured_output(
|
answer_prediction = await llm_client.acreate_structured_output(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue