diff --git a/langchain/chains/api/prompt.py b/langchain/chains/api/prompt.py index 500a7afe..020ac8d1 100644 --- a/langchain/chains/api/prompt.py +++ b/langchain/chains/api/prompt.py @@ -4,7 +4,7 @@ from langchain.prompts.prompt import PromptTemplate API_URL_PROMPT_TEMPLATE = """You are given the below API Documentation: {api_docs} Using this documentation, generate the full API url to call for answering the user question. -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. +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. Question:{question} API url:"""