We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 235f703 commit 95df7f4Copy full SHA for 95df7f4
utils.py
@@ -50,6 +50,8 @@ def synthesize_bash_history(desired_operation, gorila_history, history):
50
You are an assistant for a developer who wants to find the right API call for a specific task.
51
The developer has bash history that contains the command they used to perform a task.
52
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.
55
Use the previous bash history as well as their query to provide the model with a short paragraph of possible relevant context.
56
There is a chance that their query has nothing to do with the bash history, so in that case, return 'No relevant context found'.
57
"""
0 commit comments