-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #203 from tigergraph/GML-1737-ui_integration
Gml 1737 UI integration
- Loading branch information
Showing
47 changed files
with
1,551 additions
and
3,391 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,6 @@ copilot/tests/logs/* | |
volumes | ||
build/ | ||
/k8s | ||
run.sh | ||
configs | ||
venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
common/prompts/aws_bedrock_claude3haiku/generate_function.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
common/prompts/aws_bedrock_claude3haiku/map_question_to_schema.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
common/prompts/azure_open_ai_gpt35_turbo_instruct/generate_function.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
common/prompts/azure_open_ai_gpt35_turbo_instruct/map_question_to_schema.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
Replace the entites mentioned in the question to one of these choices: {vertices}. | ||
Replace the entites mentioned in the question to one of these choices: {vertices}. | ||
If an entity, such as "John Doe", is mentioned multiple times in the conversation but is referred to by different names or pronouns (e.g., "Joe", "he"), | ||
always use the most complete identifier for that entity throughout the question. In this example, use "John Doe" as the entity. | ||
Choose a better mapping between vertex type or its attributes: {verticesAttrs}. | ||
Replace the relationships mentioned in the question to one of these choices: {edges}. | ||
Make sure the entities are either the source vertices or target vertices of the relationships: {edgesInfo}. | ||
When certain entities are mapped to vertex attributes, may consider to generate a WHERE clause. | ||
If there are words that are synonyms with the entities or relationships above, make sure to output the cannonical form found in the choices above. | ||
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. | ||
|
||
{format_instructions} | ||
QUESTION: {question} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
Replace the entites mentioned in the question to one of these choices: {vertices}. | ||
Replace the entites mentioned in the question to one of these choices: {vertices}. | ||
If an entity, such as "John Doe", is mentioned multiple times in the conversation but is referred to by different names or pronouns (e.g., "Joe", "he"), | ||
always use the most complete identifier for that entity throughout the question. In this example, use "John Doe" as the entity. | ||
Choose a better mapping between vertex type or its attributes: {verticesAttrs}. | ||
Replace the relationships mentioned in the question to one of these choices: {edges}. | ||
Make sure the entities are either the source vertices or target vertices of the relationships: {edgesInfo}. | ||
When certain entities are mapped to vertex attributes, may consider to generate a WHERE clause. | ||
If there are words that are synonyms with the entities or relationships above, make sure to output the cannonical form found in the choices above. | ||
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. | ||
|
||
{format_instructions} | ||
QUESTION: {question} | ||
|
Oops, something went wrong.