feat: Add simple instruction for system prompt
Add simple instruction for system prompt Feature COG-656
This commit is contained in:
parent
c90d90a86a
commit
67585d0ab1
2 changed files with 2 additions and 1 deletions
|
|
@ -0,0 +1 @@
|
|||
Answer the question using the provided context. Be as brief as possible.
|
||||
|
|
@ -24,7 +24,7 @@ async def query_compute(query: str) -> list:
|
|||
"context": found_chunks[0].payload["text"],
|
||||
}
|
||||
user_prompt = render_prompt("context_for_question.txt", args)
|
||||
system_prompt = read_query_prompt("answer_hotpot_using_cognee_search.txt")
|
||||
system_prompt = read_query_prompt("answer_simple_question.txt")
|
||||
|
||||
llm_client = get_llm_client()
|
||||
computed_answer = await llm_client.acreate_structured_output(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue