Skip to content

Commit b929fd9

Browse files
fpinghamlesscomfortable
andauthored
Exclude reference to 'example' in api prompt (#629)
Co-authored-by: lesscomfortable <[email protected]>
1 parent 08400f5 commit b929fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

langchain/chains/api/prompt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
API_URL_PROMPT_TEMPLATE = """You are given the below API Documentation:
55
{api_docs}
66
Using this documentation, generate the full API url to call for answering the user question.
7-
You should build the API url so as to get a response that is as short as possible, while still getting the necessary information to answer the question. Pay attention in the following example, how there are many pieces of information that are deliberately not included in the API call. You should do the same.
7+
You should build the API url in order to get a response that is as short as possible, while still getting the necessary information to answer the question. Pay attention to deliberately exclude any unnecessary pieces of data in the API call.
88
99
Question:{question}
1010
API url:"""

0 commit comments

Comments
 (0)