Skip to content

Commit

Permalink
prompts(gpt35, gcp): update generate function prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
parkererickson-tg committed Jan 30, 2024
1 parent 9df5fa3 commit 02e17f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Use the vertex types, edge types, and their attributes and IDs below to write the pyTigerGraph function call to answer the question using a pyTigerGraph connection.
When the question asks for "How many", make sure to select a function that contains "Count" in the description/function call. Make sure never to generate a function that is not listed below.
Documentation contains helpful Python docstrings for the various functions. Use this knowledge to construct the proper function call. Choose one function to execute.
Vertex Types: {vertex_types}
Vertex Attributes: {vertex_attributes}
Expand Down
4 changes: 2 additions & 2 deletions app/prompts/gcp_vertexai_palm/generate_function.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Use the vertex types, edge types, and their attributes and IDs below to write the pyTigerGraph function call to answer the question using a pyTigerGraph connection.
When the question asks for "How many", make sure to select a function that contains "Count" in the description/function call. Make sure never to generate a function that is not listed below.
Documentation contains helpful Python docstrings for the various functions. Use this knowledge to construct the proper function call. Choose one function to execute.
YOU ARE INTERACTING WITH A LABELED PROPERTY GRAPH DATABSE THROUGH PYTHON FUNCTION CALLS, WHERE VERTICES AND EDGES HAVE UNIQUE TYPES AND ATTRIBUTES.
The documentation below contains helpful Python docstrings for the various functions. Use this knowledge to construct the proper function call. Choose one function to execute.
Vertex Types: {vertex_types}
Vertex Attributes: {vertex_attributes}
Vertex IDs: {vertex_ids}
Expand Down

0 comments on commit 02e17f0

Please sign in to comment.