Skip to content

Commit

Permalink
update prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
parkererickson-tg committed Jun 6, 2024
1 parent d8a5480 commit 4f5ed08
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 15 deletions.
4 changes: 1 addition & 3 deletions app/prompts/aws_bedrock_claude3haiku/generate_function.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,5 @@ Eighth Docstring: {doc8}
If the output of this function answers the user's question, immediately return that answer.

Follow the output directions below on how to structure your response
Only include valid JSON do not include any other texts which would render the response invalid JSON:

Follow the output directions below on how to structure your response:
Only include valid JSON do not include any other texts which would render the response invalid JSON.
{format_instructions}
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ If there are words that are synonyms with the entities or relationships above, m
Generate the complete question with the appropriate replacements. Keep the case of the schema elements the same.
Don't generate target_vertex_ids if there is no the term 'id' explicitly mentioned in the question.

Follow the output directions below on how to structure your response
Only include valid JSON do not include any other texts which would render the response invalid JSON:

Respond in JSON (and only JSON). Follow the format instructions below:
{format_instructions}
QUESTION: {question}
5 changes: 0 additions & 5 deletions app/prompts/llama_70b/generate_function.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,5 @@ Sixth Docstring: {doc6}
Seventh Docstring: {doc7}
Eighth Docstring: {doc8}

If the output of this function answers the user's question, immediately return that answer.

Follow the output directions below on how to structure your response
Only include valid JSON do not include any other texts which would render the response invalid JSON:

Follow the output directions below on how to structure your response:
{format_instructions}
4 changes: 0 additions & 4 deletions app/prompts/llama_70b/map_question_to_schema.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,5 @@ If there are words that are synonyms with the entities or relationships above, m
Generate the complete question with the appropriate replacements. Keep the case of the schema elements the same.
Don't generate target_vertex_ids if there is no the term 'id' explicitly mentioned in the question.

Follow the output directions below on how to structure your response
Only include valid JSON do not include any other texts which would render the response invalid JSON:

Respond in JSON (and only JSON). Follow the format instructions below:
{format_instructions}
QUESTION: {question}

0 comments on commit 4f5ed08

Please sign in to comment.