UNPKG

dtamind-components

Version:

DTAmindai Components

3 lines (2 loc) 637 B
export declare const API_URL_RAW_PROMPT_TEMPLATE = "You are given the below API Documentation:\n{api_docs}\nUsing this documentation, generate the full API url to call for answering the user question.\nYou 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.\n\nQuestion:{question}\nAPI url:"; export declare const API_RESPONSE_RAW_PROMPT_TEMPLATE = "Given this {api_response} response for {api_url}. use the given response to answer this {question}";