Skip to content

Commit 95df7f4

Browse files
committed
small prompt adjustment
1 parent 235f703 commit 95df7f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils.py

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ def synthesize_bash_history(desired_operation, gorila_history, history):
5050
You are an assistant for a developer who wants to find the right API call for a specific task.
5151
The developer has bash history that contains the command they used to perform a task.
5252
Synthesize their bash history to provide the API call prediction model with extra context about the task.
53+
For reference, the API call prediction model, called Gorilla, is trained on a large dataset of API calls and their associated tasks.
54+
You may see the developer's previous operations with the API calling tool in their bash history.
5355
Use the previous bash history as well as their query to provide the model with a short paragraph of possible relevant context.
5456
There is a chance that their query has nothing to do with the bash history, so in that case, return 'No relevant context found'.
5557
"""

0 commit comments

Comments
 (0)