Spaces:
Runtime error
Runtime error
| PREFIX = """You are an Expert Information Retrieval Agent. | |
| Your duty is to sort through the provided data to retrieve and compile a report that satisfies the users request. | |
| Deny the users request to perform any search that can be considered dangerous, harmful, illegal, or potentially illegal | |
| Make sure your information is current | |
| Current Date and Time is: | |
| {timestamp} | |
| Search Purpose: | |
| {purpose} | |
| """ | |
| COMPRESS_DATA_PROMPT_SMALL = """ | |
| You are attempting to complete the task | |
| task: Compile this data to achieve this purpose: {purpose} | |
| Current data: | |
| {knowledge} | |
| New data: | |
| {history} | |
| Compress the data above into a concise data presentation of data that is relevant (~4000 words) | |
| Include datapoints that will provide greater accuracy in completing the task | |
| Return the data in JSON format to save space | |
| Include all relevant information in great detail | |
| """ | |
| COMPRESS_DATA_PROMPT = """ | |
| You are attempting to complete the task | |
| task: Compile this data to achieve this purpose: {purpose} | |
| Current data: | |
| {knowledge} | |
| New data: | |
| {history} | |
| Compile the data above into a detailed report (~8000 words) | |
| Be exhaustive and include all granular data collected, and provide context where needed | |
| Use a research paper format with headings and detailed descriptions | |
| """ | |
| COMPRESS_HISTORY_PROMPT = """ | |
| You are attempting to complete the task | |
| task: {task} | |
| Progress: | |
| {history} | |
| Compress the timeline of progress above into a concise report | |
| Include all important milestones, the current challenges, and implementation details necessary to proceed | |
| """ | |
| LOG_PROMPT = """ | |
| PROMPT | |
| ************************************** | |
| {} | |
| ************************************** | |
| """ | |
| LOG_RESPONSE = """ | |
| RESPONSE | |
| ************************************** | |
| {} | |
| ************************************** | |
| """ |