Instruction:
Please select an appropriate function and parameters to use from the list of available functions below, based on the provided user input.  Provide your response in JSON format.

Input: From the provided CSV, generate an aggregate table containing a count per country.

Available functions:
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases.  For example, acronyms, common alternate synonyms, etc.
  date_range:
    begin: Limit results to items with date greater than or equal to this value, if provided in input query.
    end: Limit results to items with date less than or equal to this value, if provided in input query.
csv_analytics:
  description:  This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
{
  "function": "csv_analytics",
  "params": {
    "action": "grouped_count",
    "filters": {
      "column": "country"
    }
  }
}

System: A chat.


Instruction:
As an AI agent, determine the best function and parameters from the listed functions based on the user's request. Please provide your response in JSON format.

Input: Search for the phrase "climate change" in the database.

Available functions:
database_query:
  description: Executes a query on a database.
  parameters:
    query: The SQL query to execute.
phrase_finder:
  description: Finds instances of a particular phrase in a dataset.
  parameters:
    phrase: The phrase to look for.

Response:
{
  "function": "phrase_finder",
  "parameters": {
    "phrase": "climate change"
  }
}

System: A chat.


Instruction:
As an AI assistant, pick the appropriate function and parameters from the following list based on the user's request. Please provide your response in JSON format.

Input: Resize my picture to a width of 500px and a height of 300px.

Available functions:
image_processing:
  description: This tool can perform various actions on images like resizing, cropping, etc.
  params:
    action: The action to perform on the image, such as "resize", "crop", etc.
    dimensions:
      width: Width of the image after resizing.
      height: Height of the image after resizing.
pdf_search:
  description: This tool is useful for searching keywords or phrases within PDF documents.
  params:
    search_terms: List of important keywords/phrases.
    date_range:
      begin: Limit results to items with date greater than or equal to this value.
      end: Limit results to items with date less than or equal to this value.
email_analytics:
  description: Tool for analyzing email data.
  params:
    action: The action we want to perform on the emails, such as "count", "filter", etc.
    filters:
      sender: Email address of the sender.
      subject: Subject of the email.

Response:
{
  "function": "image_processing",
  "params": {
    "action": "resize",
    "dimensions": {
      "width": "500",
      "height": "300"
    }
  }
}

System: A chat.


Instruction:
You're an AI agent. Based on the user's request, choose the best function and its parameters from the given list. Present your answer in YAML format.

Input: Delete the file named 'old_data.txt'.

Available functions:
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
  date_range:
    begin: Limit results to items with date greater than or equal to this value, if provided in input query.
    end: Limit results to items with date less than or equal to this value, if provided in input query.
file_operations:
  description: This tool is useful for performing various operations on files such as "read", "write", "delete", etc.
  params:
    action: The operation we want to perform on the file.
    filename: Name of the file.
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
function: file_operations
params:
  action: delete
  filename: old_data.txt

System: A chat.


Instruction:
You're an AI agent tasked with selecting the best function and parameters from the following list based on the user's input. Respond in JSON format.

Input: Search for documents created between January 1, 2020, and December 31, 2020.

Available functions:
date_filter:
  description: This tool helps filter results based on a specified date range.
  parameters:
    begin_date: Start date for the range.
    end_date: End date for the range.
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
text_analysis:
  description: This tool is useful for analyzing text data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      word: The word we want to filter on.

Response:
{
"function": "date_filter",
"parameters": {
  "begin_date": "2020-01-01",
  "end_date": "2020-12-31"
}
}

System: A chat.


Instruction:
You are an AI agent tasked with selecting the appropriate function and parameters from the list of available functions below, based on the provided user input. Please provide your response in YAML format.

Input: Analyze this sentence for sentiment: "I absolutely love this product!"

Available functions:
sentiment_analysis:
  description: This tool is useful in analyzing the sentiment of a piece of text.
  params:
    text: The text that needs to be analyzed.
csv_analytics:
  description: Perform various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count".
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.
image_processing:
  description: Process images to detect objects, faces, texts, etc.
  params:
    action: The action to perform on the image like "object_detection", "face_recognition", "text_extraction".
    image: The image file to process.

Response:
function: sentiment_analysis
params:
  text: "I absolutely love this product!"

System: A chat.


Instruction:
As an AI assistant, please choose the correct function and its parameters from the list below according to the user's query. Format your answer in YAML.

Input: Perform sentiment analysis on the following text - "I am extremely happy today!"

Available functions:
sentiment_analysis:
  description: Determines the sentiment expressed in a block of text.
  params:
    text: Text to analyze.
csv_parser:
  description: Parses CSV data into a more readable format.
  params:
    csv_data: Data to parse.
search_engine:
  description: Searches the web for information related to the provided keywords.
  params:
    keywords: Keywords to search for.

Response:
function: sentiment_analysis
params:
  text: "I am extremely happy today!"

System: A chat.


Instruction:
You're an AI assistant. Please choose the appropriate function and parameters from the following options based on the given user input. Your answer should be formatted in YAML.

Input: Calculate the average temperature trend from 2005 to 2015.

Available functions:
csv_analytics:
  description: Useful for performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "average", etc.
    column: The column we want to perform the action on.
weather_analysis:
  description: This tool is useful for analyzing weather patterns over a period of time.
  params:
    action: The type of analysis we want to perform such as "temperature_trend", "rainfall_trend", etc.
    date_range:
      begin: Limit results to items with date greater than or equal to this value.
      end: Limit results to items with date less than or equal to this value.

Response:
function: weather_analysis
params:
  action: "temperature_trend"
  date_range:
    begin: "2005"
    end: "2015"

System: A chat.


Instruction:
As an artificial intelligence assistant, please select the most suitable function and parameters from the list of available functions below based on the provided user input. Provide your response in JSON format.

Input: I need to find all documents related to "climate change" within the last five years.

Available functions:
pdf_search:
  description: This tool helps users locate specific information within PDF files.
  parameters:
    keywords: List of key phrases or words that are important to the search query.
    date_range:
      start: Limit results to items with a date greater than or equal to this value if specified in the search query.
      end: Limit results to items with a date less than or equal to this value if specified in the search query.
text_analysis:
  description: This tool is useful for analyzing text data to extract insights.
  params:
    action: The operation we want to perform on the data, such as "sentiment analysis", "keyword extraction", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
{
  "function": "pdf_search",
  "parameters": {
    "keywords": ["climate change"],
    "date_range": {
      "start": "2016-01-01",
      "end": "2021-12-31"
    }
  }
}

System: A chat.


Instruction:
Based on the user's request, select the most suitable function and parameters from the provided list. Your response should be in JSON format.

Input: Filter out emails received from "spam@example.com".

Available functions:
email_filter:
  description: This tool is used to filter emails based on certain criteria.
  params:
    sender: The email address of the sender.
    action: The action to take on the filtered emails.
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases.

Response:
{
  "function": "email_filter",
  "params": {
    "sender": "spam@example.com",
    "action": "remove"
  }
}

System: A chat.


Instruction:
As an artificial intelligence assistant, please select the appropriate function and parameters from the following options based on the user's command. Respond in JSON format.

Input: Convert my Word document to PDF.

Available functions:
- file_conversion:
    description: Converts files from one format to another.
    parameters:
      source_format: The current format of the file.
      target_format: The desired format of the file.
- text_extraction:
    description: Extracts text from different types of files.
    parameters:
      file_type: The type of the file from which the text needs to be extracted.
- image_processing:
    description: Processes images using various techniques.
    parameters:
      operation: The operation to be performed on the image like "resize", "rotate", "crop" etc.

Response:
{
  "function": "file_conversion",
  "parameters": {
    "source_format": "Word",
    "target_format": "PDF"
  }
}

System: A chat.


Instruction:
You're an AI assistant. Choose the best function and parameters from the following options based on the given user input. Provide your answer in YAML format.

Input: From the uploaded Excel file, count how many times 'product_id' appears.

Available functions:
- excel_data_processing:
    description: Allows for manipulation and analysis of Excel data.
    parameters:
      action: The desired operation like "count", "filter", "aggregate", etc.
      column: The column to operate on.
- text_search:
    description: Converts user queries into a series of search terms to help locate information.
    parameters:
      search_terms: Important keywords/phrases from the input.
      alternatives: Alternative keywords/phrases which are variations of the actual input keywords/phrases.
- web_scraper:
    description: Extracts information from websites based on specified criteria.
    parameters:
      url: The website URL to scrape data from.
      element: The specific webpage element to extract data from.

Response:
function: excel_data_processing
parameters:
  action: "count"
  column: "product_id"

System: A chat.


Instruction:
As an AI agent, choose the most suitable function and its parameters from the given list based on the user's request. Please provide your answer in JSON format.

Input: Can you analyze the sentiment of this statement - "I am extremely happy today!"

Available functions:
weather_forecast:
  description: Get weather forecast for a specific location.
  params:
    location: Location for which we want to get the weather forecast.
text_analysis:
  description: Analyze text for sentiment, key phrases, language, and entities.
  params:
    text: Text to analyze.
    features: List of analysis features such as 'sentiment', 'key_phrases', etc.

Response:
{
  "function": "text_analysis",
  "params": {
    "text": "I am extremely happy today!",
    "features": ["sentiment"]
  }
}

System: A chat.


Instruction:
As an AI agent, choose the most suitable function and its parameters from the provided list based on the given user input. Your response should be formatted in YAML.

Input: Calculate the average temperature recorded each month from the weather dataset.

Available functions:
weather_data_analysis:
  description: This tool is used for performing various calculations on weather data.
  params:
    operation: The mathematical operation to perform on the data, such as "average", "sum", etc.
    column: The column on which to perform the operation.
time_series_analysis:
  description: This tool is used for analyzing time series data.
  params:
    action: The action we want to perform on the data, such as "resample", "aggregate", etc.
    period: The period over which to aggregate or resample the data.

Response:
function: weather_data_analysis
params:
  operation: "average"
  column: "temperature"

System: A chat.


Instruction:
As an AI agent, please select the best function and parameters from the list of available functions below based on the user input. Provide your response in JSON format.

Input: I want to find all blog posts about machine learning written between January 2020 and December 2020.

Available functions:
text_search:
  description: This tool helps users find specific text within a large body of content.
  parameters:
    keywords: List of important words or phrases from the input.
    date_range:
      start: Limit results to items with date greater than or equal to this value, if provided in input query.
      end: Limit results to items with date less than or equal to this value, if provided in input query.
blog_filter:
  description: This tool is useful for filtering blog posts based on certain criteria.
  params:
    topic: The topic we want to filter by.
    author: The author's name to filter by.
    date_range:
      start: Limit results to items with date greater than or equal to this value, if provided in input query.
      end: Limit results to items with date less than or equal to this value, if provided in input query.

Response:
{
  "function": "blog_filter",
  "params": {
    "topic": "machine learning",
    "date_range": {
      "start": "January 2020",
      "end": "December 2020"
    }
  }
}

System: A chat.


Instruction:
You're an AI agent. Choose the appropriate function and its parameters from the given list based on the user's request. Your answer should be formatted in YAML.

Input: Analyze the sentiment of the following English text - "I absolutely love this product! It has changed my life."

Available functions:
text_analysis:
  description: This tool is useful for analyzing text data.
  params:
    action: The action we want to perform on the data, such as "sentiment", "keyword_extraction", etc.
    filters:
      language: The language of the text.
      value: Explicit value to filter on.
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.
document_search:
  description: Help the user find documents by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    date_range:
      begin: Limit results to items with date greater than or equal to this value, if provided in input query.
      end: Limit results to items with date less than or equal to this value, if provided in input query.

Response:
function: text_analysis
params:
  action: "sentiment"
  filters:
    language: "English"
    value: "I absolutely love this product! It has changed my life."

System: A chat.


Instruction:
As an AI agent, please choose the most suitable function and its parameters from the given list based on the user's request. Provide your answer in YAML format.

Input: I need to count how many times each product category appears in my sales data spreadsheet.

Available functions:
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
  date_range:
    begin: Limit results to items with date greater than or equal to this value, if provided in input query.
    end: Limit results to items with date less than or equal to this value, if provided in input query.
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
function: csv_analytics
params:
  action: "grouped_count"
  filters:
    column: "product_category"

System: A chat.


Instruction:
You are an AI agent tasked with selecting the best function and parameters from the provided list based on the user input. Please provide your answer in YAML format.

Input: Extract key points from the document titled "Global Warming".

Available functions:
document_summary:
  description: Summarize a document by extracting key points.
  parameters:
    document_title: The title of the document to be summarized.
keyword_extraction:
  description: Extract important keywords from a piece of text.
  parameters:
    text: The text from which to extract keywords.
file_conversion:
  description: Convert files from one format to another.
  parameters:
    source_format: The current format of the file.
    target_format: The desired format of the file.

Response:
function: document_summary
params:
  document_title: "Global Warming"

System: A chat.


Instruction:
You are an AI agent tasked with selecting the appropriate function and parameters from the list below based on the user's request. Please provide your response in JSON format.

Input: Extract key phrases from the user reviews.

Available functions:
key_phrase_extraction:
  description: Extracts key phrases from a body of text.
  parameters:
    text: The text from which we want to extract key phrases.
text_analytics:
  description: This tool is useful in performing various text analytics tasks such as sentiment analysis, entity extraction etc.
  params:
    action: The action we want to perform on the data, such as "sentiment_analysis", "entity_extraction", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
{
  "function": "key_phrase_extraction",
  "parameters": {
    "text": "user_reviews"
  }
}

System: A chat.


Instruction:
As an artificial intelligence assistant, determine the appropriate function and parameters to use from the list of available functions below, based on the provided user input. Present your response in JSON format.

Input: Count how many times each product is sold.

Available functions:
search:
  description: Helps find information by converting the input query into search terms and filters.
  parameters:
    search_terms: List of high importance keywords/phrases.
    alternatives: List of alternative high importance keywords/phrases, like acronyms, common alternate synonyms, etc.
product_sales_count:
  description: Counts the number of times each product is sold.
  parameters:
    product_name: Name of the product.

Response:
{
  "function": "product_sales_count",
  "parameters": {
    "product_name": "all"
  }
}

System: A chat.


Instruction:
As an AI agent, select the most suitable function and parameters from the list of available functions based on the given user input. Provide your response in JSON format.

Input: I want to know how many times 'marketing' appears in my text document.

Available functions:
text_analysis:
  description: This tool is useful for analyzing text data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      word: The word we want to filter on.
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.

Response:
{
"function": "text_analysis",
"params": {
  "action": "count",
  "filters": {
    "word": "marketing"
  }
}
}

System: A chat.


Instruction:
Acting as an AI assistant, pick the appropriate function and parameters from the list of available functions based on the user's request. Your response should be formatted in JSON.

Input: Resize the image to a width of 500px and a height of 300px.

Available functions:
image_processing:
  description: This tool is useful in processing images like resizing, cropping, rotating etc.
  params:
    action: The action we want to perform on the image, such as "resize", "crop", "rotate", etc.
    dimensions:
      width: Width of the image after processing.
      height: Height of the image after processing.
file_management:
  description: This tool is useful in managing files like moving, copying, deleting etc.
  params:
    action: The action we want to perform on the file, such as "move", "copy", "delete", etc.
    destination: Destination directory where we want to move or copy the file.

Response:
{
  "function": "image_processing",
  "params": {
    "action": "resize",
    "dimensions": {
      "width": 500,
      "height": 300
    }
  }
}

System: A chat.


Instruction:
Based on the user's request, please select the appropriate function and its parameters from the options listed below. Your response should be in JSON format.

Input: Convert my JPEG image to PNG format.

Available functions:
image_resizer:
  description: Resizes images to specified dimensions.
  parameters:
    source_image: Name of the image to resize.
    target_dimensions: Desired dimensions for the resized image.
file_converter:
  description: Converts files from one format to another.
  parameters:
    source_file: Name of the file to convert.
    target_format: Desired output format.
color_adjuster:
  description: Adjusts color balance in images.
  parameters:
    source_image: Name of the image to adjust.
    target_color_balance: Desired color balance settings.

Response:
{
  "function": "file_converter",
  "parameters": {
    "source_file": "my_image.jpeg",
    "target_format": "png"
  }
}

System: A chat.


Instruction:
As an AI assistant, please select the most suitable function and parameters from the list of available functions below, based on the provided user input. Provide your response in JSON format.

Input: I need to find all documents related to "AI technology" between 2010 and 2020.

Available functions:
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
  date_range:
    begin: Limit results to items with date greater than or equal to this value, if provided in input query.
    end: Limit results to items with date less than or equal to this value, if provided in input query.

Response:
{
  "function": "search",
  "parameters": {
    "search_terms": ["AI technology"],
    "date_range": {
      "begin": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
You are acting as an AI agent. Based on the provided user input, choose the best function and parameters from the following list. Your answer should be presented in YAML format.

Input: How many times does each name appear in the given CSV file?

Available functions:
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
  date_range:
    begin: Limit results to items with date greater than or equal to this value, if provided in input query.
    end: Limit results to items with date less than or equal to this value, if provided in input query.
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
function: csv_analytics
params:
  action: "grouped_count"
  filters:
    column: "name"

System: A chat.


Instruction:
As an AI assistant, please select the appropriate function and parameters from the list of available functions based on the user input. Format your response in JSON.

Input: From the provided data set, calculate the average age.

Available functions:
dataset_statistics:
  description: This tool performs statistical calculations on a provided dataset.
  parameters:
    action: The calculation to be performed ("average", "median", "mode").
    column: The column on which to perform the calculation.
file_conversion:
  description: Converts files from one format to another.
  parameters:
    source_format: The current format of the file.
    target_format: The desired format of the file.
email_send:
  description: Sends an email to a specified recipient.
  parameters:
    recipient: The email address of the recipient.
    subject: The subject line of the email.
    body: The main text of the email.

Response:
{
  "function": "dataset_statistics",
  "parameters": {
    "action": "average",
    "column": "age"
  }
}

System: A chat.


Instruction:
As an AI agent, please select the most suitable function and parameters from the list of available functions below based on the given user input. Please provide your response in JSON format.

Input: I want to find articles about climate change published between 2010 and 2020.

Available functions:
filter_content:
  description: This tool helps filter content based on keywords or phrases.
  parameters:
    keyword: The word or phrase that needs to be present in the content.
    date_range:
      start_date: Filters out content published before this date.
      end_date: Filters out content published after this date.
image_recognition:
  description: This tool identifies objects within images.
  params:
    object_name: Name of the object to identify in the image.
text_to_speech:
  description: Converts text into spoken words.
  params:
    text: Text to convert into speech.
    language: Language in which the text should be spoken.

Response:
{
  "function": "filter_content",
  "parameters": {
    "keyword": "climate change",
    "date_range": {
      "start_date": "2010",
      "end_date": "2020"
    }
  }
}

System: A chat.


Instruction:
As an AI assistant, select the best function and parameters from the list of available functions below based on the provided user input. Provide your response in JSON format.

Input: I need to find articles about climate change published between 2010 and 2020.

Available functions:
pdf_parser:
  description: This tool is useful for extracting text from PDF files.
  params:
    file_path: The path to the PDF file.
weather_forecast:
  description: Provides weather forecast information.
  params:
    location: Location for which to provide a forecast.
    date_range:
      start: Start date for the forecast period.
      end: End date for the forecast period.
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
    date_range:
      begin: Limit results to items with date greater than or equal to this value, if provided in input query.
      end: Limit results to items with date less than or equal to this value, if provided in input query.

Response:
{
  "function": "search",
  "parameters": {
    "search_terms": ["climate change"],
    "date_range": {
      "begin": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
You're an AI agent. Choose the appropriate function and parameters from the following list based on the user's input. Respond in JSON format.

Input: Find alternative terms for 'AI'.

Available functions:
- synonym_finder:
    description: This tool provides synonyms for a given word.
    parameters:
      word: The word for which synonyms are required.
- text_search:
    description: Assists the user in finding information by turning their query into a set of search terms and filters.
    parameters:
      keywords: A list of important words or phrases related to the user's query.
      date_range:
        start: If provided in the user's query, limits results to items with dates greater than or equal to this value.
        end: If provided in the user's query, limits results to items with dates less than or equal to this value.

Response:
{
  "function": "synonym_finder",
  "parameters": {
    "word": "AI"
  }
}

System: A chat.


Instruction:
You're an AI assistant. Based on the user's input, select the best-suited function and its parameters from the list below. Your response should be formatted in JSON.

Input: What's the average temperature recorded in July?

Available functions:
weather_analysis:
  description: Analyzes weather data to provide insights like average temperature, rainfall etc.
  parameters:
    month: Month for which analysis is required.
    metric: Metric to analyze (temperature, rainfall etc.)
data_extraction:
  description: Extracts specific data points from a given dataset.
  params:
    column_name: Name of the column from which data is to be extracted.
    filter_value: Value to be used for filtering the data.

Response:
{
  "function": "weather_analysis",
  "parameters": {
    "month": "July",
    "metric": "temperature"
  }
}

System: A chat.


Instruction:
As an AI assistant, please select the best function and parameters from the list of available functions below based on the provided user input. The response should be in JSON format.

Input: I need to find all documents related to "AI" and "Machine Learning" within the last two years.

Available functions:
data_extraction:
  description: Extracts specific data from a given source.
  params:
    source: The source from which we want to extract data.
    type: Type of data to extract.
document_search:
  description: Searches for documents using keywords and date range.
  parameters:
    search_terms: List of keywords that are of high importance to the input.
    date_range:
      begin: Limit results to items with date greater than or equal to this value, if provided in input query.
      end: Limit results to items with date less than or equal to this value, if provided in input query.
csv_parser:
  description: Parses CSV files and extracts relevant information.
  params:
    file_path: Path to the CSV file.
    columns: Columns to extract from the CSV file.

Response:
{
  "function": "document_search",
  "parameters": {
    "search_terms": ["AI", "Machine Learning"],
    "date_range": {
      "begin": "2019-01-01",
      "end": "2021-12-31"
    }
  }
}

System: A chat.


Instruction:
You are an AI agent. Based on the user's request, pick the best-suited function and parameters from the list below. Provide your answer in JSON format.

Input: Generate a pie chart from the sales data.

Available functions:
data_visualization:
  description: Visualizes data in different forms like charts, graphs, etc.
  params:
    chart_type: Type of chart/graph to generate.
    data: Data to visualize.
email_search:
  description: This tool helps locate specific emails by converting the search query into a series of keywords and filters.
  parameters:
    keywords: List of important words/phrases in the search query.
    date_range:
      start_date: Limit results to emails with dates greater than or equal to this value.
      end_date: Limit results to emails with dates less than or equal to this value.
file_conversion:
  description: Converts files from one format to another.
  params:
    source_format: The current format of the file.
    target_format: The desired format for the converted file.

Response:
{
  "function": "data_visualization",
  "params": {
    "chart_type": "pie",
    "data": "sales_data"
  }
}

System: A chat.


Instruction:
Please select an appropriate function and parameters to use from the list of available functions below, based on the provided user input. Provide your response in YAML format.

Input: Filter out tweets containing the word 'politics' from my timeline.

Available functions:
tweet_filter:
  description: This tool helps filter out certain tweets based on user preferences.
  parameters:
    keyword: Word or phrase that needs to be filtered out.
email_analytics:
  description: Analyzes email data for various insights.
  params:
    action: Action to perform such as count, filter etc.
    column: Column to apply the action on.

Response:
function: tweet_filter
parameters:
  keyword: "politics"

System: A chat.


Instruction:
As an AI assistant, select the most suitable function and parameters from the list of available functions below, based on the user's request. Provide your response in JSON format.

Input: I need to find all articles related to "climate change" published between 2010 and 2020.

Available functions:
text_analysis:
  description: Analyze a given text for specific keywords or phrases.
  parameters:
    keywords: List of words or phrases to search within the text.
    context: Optional parameter that specifies additional context for the keyword search.
data_filtering:
  description: Filter data based on certain criteria.
  parameters:
    filter_criteria: Criteria used to filter the data.
    date_range:
      start_date: Start date for filtering data.
      end_date: End date for filtering data.
article_search:
  description: Search for articles based on specified terms and date range.
  parameters:
    search_terms: Terms to search for within the article content.
    date_range:
      begin: Limit results to items with date greater than or equal to this value.
      end: Limit results to items with date less than or equal to this value.

Response:
{
  "function": "article_search",
  "parameters": {
    "search_terms": "climate change",
    "date_range": {
      "begin": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
You're an AI agent tasked with selecting the right function and parameters from the list below based on the user's command. Your response should be formatted in JSON.

Input: From the given data, count how many times 'apple' appears in the 'fruit' column.

Available functions:
data_filtering:
  description: This function is useful for filtering data based on certain criteria.
  params:
    filter_criteria: Criteria for filtering data.
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
{
  "function": "csv_analytics",
  "params": {
    "action": "count",
    "filters": {
      "column": "fruit",
      "value": "apple"
    }
  }
}

System: A chat.


Instruction:
As an AI agent, please select the most suitable function and parameters from the list of available functions below based on the user's input. Please provide your response in JSON format.

Input: I want to find all documents related to 'Artificial Intelligence' between 2010 and 2020.

Available functions:
file_search:
  description: This tool helps locate files based on keywords or phrases.
  parameters:
    keyword: The primary word or phrase to search for.
    date_range:
      start: Search for files created after this date.
      end: Search for files created before this date.
text_analytics:
  description: Analyze text data for insights.
  params:
    action: What you want to do with the text, such as "sentiment_analysis", "keyword_extraction", etc.
    filters:
      language: Language of the text.
email_filter:
  description: Filter emails based on certain criteria.
  params:
    filter_by: Criteria to filter emails by, such as "sender", "subject", etc.
    value: Value to match the filter criteria.

Response:
{
  "function": "file_search",
  "parameters": {
    "keyword": "Artificial Intelligence",
    "date_range": {
      "start": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
As an AI assistant, please select the most suitable function and parameters from the list of available functions below based on the user's input. Provide your response in JSON format.

Input: I need to find articles about climate change published between 2010 and 2020.

Available functions:
content_filter:
  description: Filters content based on specific keywords or phrases.
  parameters:
    filter_terms: List of keywords and/or phrases that are important to the query.
csv_analytics:
  description: This tool is useful for performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
  date_range:
    begin: Limit results to items with date greater than or equal to this value, if provided in input query.
    end: Limit results to items with date less than or equal to this value, if provided in input query.

Response:
{
  "function": "search",
  "parameters": {
    "search_terms": ["climate change"],
    "date_range": {
      "begin": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
As an AI agent, select the most suitable function and parameters from the following options based on the user's input. Provide your response in JSON format.

Input: Filter out all records from the database where the age is above 50.

Available functions:
database_filter:
  description: Filters specific records from a database.
  params:
    column: The column we want to filter on.
    expression: Expression value to filter on.
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
{
  "function": "database_filter",
  "params": {
    "column": "age",
    "expression": ">50"
  }
}

System: A chat.


Instruction:
As an AI agent, select the most suitable function and parameters from the list of available functions below based on the user input. Please provide your response in JSON format.

Input: I want to find all articles about climate change published between 2010 and 2020.

Available functions:
email_filter:
  description: This tool helps filter emails based on specific criteria.
  params:
    email_address: The email address we want to filter for.
    date_range:
      start_date: Limit results to emails with a date greater than or equal to this value.
      end_date: Limit results to emails with a date less than or equal to this value.
article_search:
  description: Helps users locate articles by converting their query into search terms and filters.
  parameters:
    keywords: List of important keywords/phrases from the user's query.
    date_range:
      begin: Restrict results to articles published after this date.
      end: Restrict results to articles published before this date.
csv_analytics:
  description: Useful for performing various aggregations, counts, etc. from CSV data.
  params:
    action: The desired operation on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
{
  "function": "article_search",
  "parameters": {
    "keywords": ["climate change"],
    "date_range": {
      "begin": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
As an AI assistant, determine the appropriate function and parameters from the list below based on the user input. Your response should be formatted in JSON.

Input: Resize the uploaded image to a width of 500 pixels and height of 300 pixels.

Available functions:
image_processing:
  description: Performs various image processing tasks like resizing, cropping, rotating, etc.
  params:
    task: The specific task to be performed on the image.
    dimensions: The new dimensions for the image (if applicable).
search_articles:
  description: Helps users find articles by converting their query into search terms and filters.
  parameters:
    keywords: List of important keywords or phrases from the user's query.
    date_range:
      start: Filters results to only include articles published after this date.
      end: Filters results to only include articles published before this date.
email_notifications:
  description: This tool allows users to send email notifications.
  params:
    recipient: The email address of the recipient.
    subject: The subject line for the email.
    body: The main content of the email.

Response:
{
  "function": "image_processing",
  "params": {
    "task": "resize",
    "dimensions": {
      "width": 500,
      "height": 300
    }
  }
}

System: A chat.


Instruction:
As an AI assistant, select the best function and parameters from the list of available functions below based on the user input. Please provide your response in JSON format.

Input: I want to find all articles related to artificial intelligence between 2015 and 2020.

Available functions:
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
  date_range:
    begin: Limit results to items with date greater than or equal to this value, if provided in input query.
    end: Limit results to items with date less than or equal to this value, if provided in input query.

Response:
{
  "function": "search",
  "parameters": {
    "search_terms": ["artificial intelligence"],
    "date_range": {
      "begin": "2015",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
As an AI agent, determine the appropriate function and parameters to use from the list of available functions based on the provided user input. Please provide your response in JSON format.

Input: From the provided CSV, count how many entries have the value 'USA' in the 'Country' column.

Available functions:
csv_analytics:
  description:  This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.
text_analysis:
  description: This tool is used for extracting information and insights from text data.
  params:
    action: The type of analysis we want to perform on the text, such as "sentiment", "keywords", etc.
    filters:
      language: The language of the text.
article_search:
  description: Help the user find articles by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    date_range:
      begin: Limit results to items with date greater than or equal to this value, if provided in input query.
      end: Limit results to items with date less than or equal to this value, if provided in input query.

Response:
{
  "function": "csv_analytics",
  "params": {
    "action": "count",
    "filters": {
      "column": "Country",
      "value": "USA"
    }
  }
}

System: A chat.


Instruction:
As an artificial intelligence assistant, please choose the appropriate function and parameters from the following options based on the given user input. Provide your answer in YAML format.

Input: Resize my picture to 500x400 pixels.

Available functions:
file_transfer:
  description: Allows files to be transferred between different locations.
  params:
    source: The current location of the file.
    destination: The new location where the file needs to be moved.
image_processing:
  description: Performs various operations on images such as cropping, resizing, etc.
  params:
    action: The operation we want to perform on the image like "crop", "resize", etc.
    dimensions:
      width: Width of the image after processing.
      height: Height of the image after processing.
data_encryption:
  description: Encrypts data using a specified encryption algorithm.
  params:
    algorithm: The encryption algorithm to use.
    key: The encryption key.

Response:
function: image_processing
params:
  action: resize
  dimensions:
    width: 500
    height: 400

System: A chat.


Instruction:
As an AI assistant, choose the best function and its parameters from the given list based on the user's request. Please provide your answer in JSON format.

Input: Analyze the sentiment of the following text: "I absolutely love this product! It has changed my life."

Available functions:
text_analysis:
  description: This tool helps analyze text for sentiment, entities, key phrases, etc.
  params:
    text: The text to analyze.
    language: The language of the text.
image_processing:
  description: This tool is useful for processing images.
  params:
    action: The action we want to perform on the image, such as "resize", "crop", etc.
    dimensions:
      width: New width for the image.
      height: New height for the image.
data_retrieval:
  description: This tool helps retrieve data from a database.
  params:
    query: The SQL query to execute.
    database: The name of the database to connect to.

Response:
{
  "function": "text_analysis",
  "params": {
    "text": "I absolutely love this product! It has changed my life.",
    "language": "English"
  }
}

System: A chat.


Instruction:
As an AI assistant, choose the appropriate function and its parameters from the given list based on the user's request. Provide your answer in YAML format.

Input: Create a pie chart from the sales data.

Available functions:
- csv_analytics:
    description: Useful for performing various operations like aggregation, count, etc., from CSV data.
    params:
      action: The operation we want to execute on the data, such as "count", "filter", "grouped_count", etc.
      filters:
        column: The column we want to filter on.
        value: Explicit value to filter on.
        expression: Expression value to filter on.
- data_visualization:
    description: Assists in creating various types of data visualizations.
    params:
      type: The kind of visualization we want to generate like "bar", "line", "pie", etc.
      data_source: The source of the data that needs to be visualized.
- article_search:
    description: Converts the user's query into search terms and filters to help them find specific articles.
    parameters:
      keywords: List of important words or phrases from the input.
      date_range:
        start: Limits results to items with a date greater than or equal to this value if provided in the input query.
        end: Limits results to items with a date less than or equal to this value if provided in the input query.

Response:
function: data_visualization
params:
  type: "pie"
  data_source: "sales_data"

System: A chat.


Instruction:
You are an intelligent agent tasked with selecting the most suitable function and its parameters from the following list based on the user's input. Please provide your response in JSON format.

Input: What is the sentiment behind the phrase "I love artificial intelligence"?

Available functions:
sentiment_analysis:
  description: Determines the sentiment (positive, negative, neutral) behind a piece of text.
  parameters:
    text: The text whose sentiment needs to be determined.
keyword_extraction:
  description: Extracts the main keywords from a piece of text.
  parameters:
    text: The text from which keywords need to be extracted.

Response:
{
  "function": "sentiment_analysis",
  "parameters": {
    "text": "I love artificial intelligence"
  }
}

System: A chat.


Instruction:
As an AI agent, select the most suitable function and parameters from the list of available functions below based on the given user input. Provide your response in JSON format.

Input: I want to find articles about climate change published between 2010 and 2020.

Available functions:
- text_analysis:
    description: This tool is used for analyzing a block of text to extract key insights.
    parameters:
      action: The specific analysis we want to perform such as "sentiment", "entities", etc.
      filters:
        keyword: The word or phrase we are interested in.
        sentiment: Sentiment value to filter on if required.
- search:
    description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
    parameters:
      search_terms: List of keywords and/or phrases that are of high importance to the input.
      alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
      date_range:
        begin: Limit results to items with date greater than or equal to this value, if provided in input query.
        end: Limit results to items with date less than or equal to this value, if provided in input query.
- data_visualization:
    description: Create visual representations of data.
    parameters:
      chart_type: Type of chart to create (e.g., bar, line, pie).
      data: Data to be visualized.
      labels: Labels for the data points.

Response:
{
  "function": "search",
  "parameters": {
    "search_terms": ["climate change"],
    "date_range": {
      "begin": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
As an AI assistant, please choose the best-suited function and its parameters from the given list of functions according to the user's request. Please provide your answer in YAML format.

Input: From the given CSV file, count how many entries are there for each city.

Available functions:
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
  date_range:
    begin: Limit results to items with date greater than or equal to this value, if provided in input query.
    end: Limit results to items with date less than or equal to this value, if provided in input query.

Response:
function: csv_analytics
params:
  action: "grouped_count"
  filters:
    column: "city"

System: A chat.


Instruction:
You are an AI assistant. Based on the user input, pick the appropriate function and its parameters from the following list. Your response should be in JSON format.

Input: Classify the given text into different categories.

Available functions:
text_classification:
  description: This function classifies the input text into predefined categories.
  parameters:
    model: The machine learning model to use for classification.
image_processing:
  description: Processes images to detect objects, faces, texts, etc.
  parameters:
    task: The task to be performed on the image like "object_detection", "face_recognition", etc.
    model: The machine learning model to use for the task.

Response:
{
  "function": "text_classification",
  "parameters": {
    "model": "default"
  }
}

System: A chat.


Instruction:
As an AI agent, please select the most suitable function and parameters from the list of available functions below based on the provided user input. Provide your response in JSON format.

Input: I need to find all documents related to "climate change" within the last 5 years.

Available functions:
text_search:
  description: This tool helps users locate information by converting their query into a series of search terms.
  parameters:
    keywords: List of important words or phrases from the user's query.
    date_range:
      start_date: Filters results to items with dates greater than or equal to this value.
      end_date: Filters results to items with dates less than or equal to this value.
email_filter:
  description: Helps filter emails based on specific criteria.
  params:
    sender: Filter emails based on the sender's email address.
    subject_keywords: Filter emails based on certain keywords present in the subject line.
document_analytics:
  description: Analyzes document data for various insights.
  params:
    action: The operation we want to perform on the data such as "count", "filter", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.

Response:
{
  "function": "text_search",
  "parameters": {
    "keywords": ["climate change"],
    "date_range": {
      "start_date": "2016-01-01",
      "end_date": "2021-12-31"
    }
  }
}

System: A chat.


Instruction:
As an AI agent, select the most suitable function and parameters from the list of available functions based on the user input. Please provide your response in JSON format.

Input: I want to know the average temperature for the month of July in New York City.

Available functions:
weather_analysis:
  description: This tool is useful in performing various analyses related to weather data.
  params:
    action: The action we want to perform on the data, such as "average", "maximum", "minimum", etc.
    filters:
      location: The location we want to filter on.
      month: Specific month to filter on.
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
  date_range:
    begin: Limit results to items with date greater than or equal to this value, if provided in input query.
    end: Limit results to items with date less than or equal to this value, if provided in input query.

Response:
{
  "function": "weather_analysis",
  "params": {
    "action": "average",
    "filters": {
      "location": "New York City",
      "month": "July"
    }
  }
}

System: A chat.


Instruction:
As an artificial intelligence agent, choose the appropriate function and its parameters from the following options based on the user's command. Present your answer in JSON format.

Input: Filter out emails from john.doe@example.com that contain the word "invoice".

Available functions:
email_filter:
  description: Helps filter emails based on certain criteria provided by the user.
  params:
    sender: The email address of the sender.
    subject_keywords: Keywords to look for in the subject line.
document_search:
  description: This tool helps users locate specific documents by converting their query into a series of search terms.
  parameters:
    keywords: List of important words or phrases from the user's query.
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.

Response:
{
  "function": "email_filter",
  "params": {
    "sender": "john.doe@example.com",
    "subject_keywords": ["invoice"]
  }
}

System: A chat.


Instruction:
You are an AI assistant. Based on the user's request, select the appropriate function and parameters from the list below. Format your answer in JSON.

Input: Generate a PDF containing the text 'Hello World!'.

Available functions:
pdf_generation:
  description: This tool is used to generate PDF files.
  params:
    content: Content that needs to be included in the PDF.
    filename: Name of the generated PDF file.
image_processing:
  description: This function performs various operations on images such as resizing, cropping, etc.
  params:
    action: The operation we want to perform on the image.
    dimensions: Dimensions for the operation (if applicable).
email_notification:
  description: This function allows sending email notifications.
  params:
    recipient: The email address of the recipient.
    subject: The subject line for the email.
    body: The main content of the email.

Response:
{
  "function": "pdf_generation",
  "params": {
    "content": "Hello World!",
    "filename": "hello_world.pdf"
  }
}

System: A chat.


Instruction:
As an agent, select the most suitable function and parameters from the list of available functions below, based on the provided user input. Please provide your response in JSON format.

Input: Find all emails sent between January 1, 2020 and December 31, 2020.

Available functions:
email_search:
  description: This tool helps to find specific emails within a given date range.
  parameters:
    sender: The email address of the sender.
    recipient: The email address of the recipient.
    subject: The subject line of the email.
    body: The content of the email.
    date_range:
      begin: Limit results to items with date greater than or equal to this value, if provided in input query.
      end: Limit results to items with date less than or equal to this value, if provided in input query.
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
{
  "function": "email_search",
  "parameters": {
    "date_range": {
      "begin": "2020-01-01",
      "end": "2020-12-31"
    }
  }
}

System: A chat.


Instruction:
You are an AI agent and your task is to select the most suitable function from the list of available functions below, based on the provided user input. The output should be in JSON format.

Input: I need a weather forecast for London for the next 7 days.

Available functions:
get_weather_forecast:
  description: This function provides a weather forecast for a specific location.
  parameters:
    location: Name of the city or town.
    duration: Number of days for which the forecast is needed.
fetch_news:
  description: Fetches latest news articles based on specified topics.
  parameters:
    topic: The subject matter of the news articles.
    count: The number of news articles to fetch.
search_events:
  description: Searches for events happening in a particular location within a given time frame.
  parameters:
    location: Name of the city or town where the event will take place.
    date_range:
      start_date: Start date of the event search period.
      end_date: End date of the event search period.

Response:
{
  "function": "get_weather_forecast",
  "parameters": {
    "location": "London",
    "duration": 7
  }
}

System: A chat.


Instruction:
As an AI assistant, please select the most suitable function and parameters from the list of available functions below based on the user's request. Provide your response in JSON format.

Input: I want to find all articles about climate change published between 2015 and 2020.

Available functions:
text_analysis:
  description: This tool is useful for extracting key phrases, entities, sentiment, etc. from a given text.
  params:
    action: The action we want to perform on the data, such as "extract_entities", "sentiment_analysis", etc.
    filters:
      language: The language of the input text.
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
  date_range:
    begin: Limit results to items with date greater than or equal to this value, if provided in input query.
    end: Limit results to items with date less than or equal to this value, if provided in input query.
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
{
  "function": "search",
  "parameters": {
    "search_terms": ["climate change"],
    "date_range": {
      "begin": "2015",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
As an artificial intelligence assistant, please choose the best function and its parameters from the given list based on the user input. Provide your answer in YAML format.

Input: Filter out emails from john.doe@example.com received in 2021.

Available functions:
search:
  description: Converts the user's query into search terms and filters to help locate information.
  parameters:
    search_terms: High-importance keywords/phrases from the user's query.
    alternatives: Alternative high-importance keywords/phrases that are variations of the actual input keywords/phrases.
  date_range:
    begin: Limits results to items dated later than or equal to this value.
    end: Limits results to items dated earlier than or equal to this value.
email_filter:
  description: Filters emails based on certain criteria.
  params:
    email_address: The email address to filter for.
    date_range:
      start_date: Restricts results to emails dated later than or equal to this value.
      end_date: Restricts results to emails dated earlier than or equal to this value.
csv_analytics:
  description: Performs various operations like aggregation, counting, etc. on CSV data.
  params:
    action: The desired operation on the data, e.g., "count", "filter", "grouped_count".
    filters:
      column: The column to filter on.
      value: Specific value to filter on.
      expression: Expression value to filter on.

Response:
function: email_filter
params:
  email_address: "john.doe@example.com"
  date_range:
    start_date: "2021-01-01"
    end_date: "2021-12-31"

System: A chat.


Instruction:
As an AI assistant, please select the most suitable function and parameters from the list of available functions below, based on the user's request. Provide your response in JSON format.

Input: Find all documents containing the phrase "climate change" within the last 5 years.

Available functions:
text_search:
  description: This tool is useful for finding specific phrases or keywords within a set of documents.
  parameters:
    search_phrase: The exact phrase or keyword to be searched.
    date_range:
      start_date: Limit results to documents with dates greater than or equal to this value.
      end_date: Limit results to documents with dates less than or equal to this value.
document_analysis:
  description: Analyze a document for key themes, sentiment, entities etc.
  params:
    doc_id: The unique identifier of the document to analyze.
data_visualization:
  description: Generate visualizations such as graphs, charts etc. from provided data.
  params:
    chart_type: Type of chart to generate (e.g., bar, line, pie).
    data_source: Source of data to use for the visualization.

Response:
{
  "function": "text_search",
  "parameters": {
    "search_phrase": "climate change",
    "date_range": {
      "start_date": "2016-01-01",
      "end_date": "2021-12-31"
    }
  }
}

System: A chat.


Instruction:
As an AI agent, choose the appropriate function and parameters from the given list according to the user's request. Please provide your answer in YAML format.

Input: Analyze the sentiment of customer reviews in the 'feedback' column of my dataset.

Available functions:
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.
text_analytics:
  description: This tool is useful for performing various text analysis tasks.
  params:
    action: The action we want to perform on the data, such as "sentiment_analysis", "keyword_extraction", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.

Response:
function: text_analytics
params:
  action: "sentiment_analysis"
  filters:
    column: "feedback"

System: A chat.


Instruction:
As an AI agent, select the most suitable function and parameters from the list of available functions given below based on the user input. Please provide your response in JSON format.

Input: I want to find all documents related to "climate change" published between 2010 and 2020.

Available functions:
file_search:
  description: This tool helps users locate files by converting their query into search terms and filters.
  parameters:
    keywords: List of key phrases or words that are important to the query.
    file_type: The type of file we are looking for (e.g., pdf, docx).
    date_range:
      start: Limit results to files with a date greater than or equal to this value.
      end: Limit results to files with a date less than or equal to this value.
email_filter:
  description: Helps filter emails based on specific criteria provided by the user.
  params:
    sender: Filter emails based on the sender's email address.
    subject_keywords: Keywords to look for in the email subject.
    body_keywords: Keywords to look for in the email body.
data_visualization:
  description: Creates visual representations of data.
  params:
    chart_type: Type of chart to create (e.g., bar, line, pie).
    data_source: Source of the data to visualize.
    labels: Labels for the data points.

Response:
{
  "function": "file_search",
  "parameters": {
    "keywords": ["climate change"],
    "file_type": "all",
    "date_range": {
      "start": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
As an AI assistant, please pick the best-suited function and parameters from the following options according to the user's request. Please provide your response in JSON format.

Input: Send an email to john.doe@example.com with the subject "Meeting Reminder" and body "Don't forget about our meeting tomorrow at 10 AM."

Available functions:
email_sender:
  description: Sends email messages.
  parameters:
    recipient_email: Email address of the recipient.
    subject: Subject line of the email.
    body: Body content of the email.
image_classifier:
  description: Classify images using machine learning models.
  params:
    image_path: Path to the image file.
    model_name: Name of the machine learning model to use for classification.
pdf_reader:
  description: This tool is useful for extracting text data from PDF files.
  params:
    file_path: The path where the PDF file is located.
    page_number: Specific page number to extract text from.

Response:
{
  "function": "email_sender",
  "parameters": {
    "recipient_email": "john.doe@example.com",
    "subject": "Meeting Reminder",
    "body": "Don't forget about our meeting tomorrow at 10 AM."
  }
}

System: A chat.


Instruction:
Please choose the appropriate function and its parameters from the given list based on the user's request. Your answer should be presented in YAML format.

Input: Filter out emails from john.doe@example.com.

Available functions:
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.
email_filter:
  description: Filters emails based on sender, receiver, subject line, and/or body content.
  params:
    sender: The email address of the sender.
    receiver: The email address of the receiver.
    subject: Keywords present in the subject line.
    body_content: Keywords present in the body of the email.

Response:
function: email_filter
params:
  sender: "john.doe@example.com"

System: A chat.


Instruction:
As an AI assistant, please select the most suitable function and parameters from the list of available functions below based on the given user input. Provide your response in JSON format.

Input: I want to find all articles about artificial intelligence published between 2010 and 2020.

Available functions:
analyze_text:
  description: This tool can be used for analyzing text data.
  params:
    action: The action we want to perform on the data, such as "sentiment_analysis", "entity_extraction", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
  date_range:
    begin: Limit results to items with date greater than or equal to this value, if provided in input query.
    end: Limit results to items with date less than or equal to this value, if provided in input query.

Response:
{
  "function": "search",
  "parameters": {
    "search_terms": ["artificial intelligence"],
    "date_range": {
      "begin": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
As an AI assistant, identify the relevant function and parameters from the list based on the user input. Respond in JSON format.

Input: Count the number of entries per category in the provided dataset.

Available functions:
csv_analytics:
  description: Perform aggregations, counts, etc. from CSV data.
  params:
    action: Action to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: Column to filter on.
search_engine:
  description: Find information online using specific search terms.
  parameters:
    query: Keywords or phrases to search for.
email_filter:
  description: Filter emails based on certain criteria.
  params:
    filter_by: Criteria to filter emails by, such as "sender", "subject", etc.
    value: Value to match the filter criteria.

Response:
{
  "function": "csv_analytics",
  "params": {
    "action": "grouped_count",
    "filters": {
      "column": "category"
    }
  }
}

System: A chat.


Instruction:
You're acting as an AI assistant. Choose the appropriate function and its parameters from the given options based on the user's request. Present your answer in YAML format.

Input: From the given spreadsheet, count how many entries have 'New York' in the 'City' column.

Available functions:
search:
  description: Helps users locate information by transforming their queries into specific search terms and filters.
  parameters:
    search_terms: A list of essential keywords and/or phrases derived from the user's input.
    alternatives: Alternate keywords and/or phrases similar to the original ones; these could be abbreviations, common synonyms, etc.
  date_range:
    begin: If specified in the user's query, limit the results to those dated on or after this day.
    end: If specified in the user's query, limit the results to those dated on or before this day.
csv_analytics:
  description: Useful for carrying out various tasks like aggregation, counting, etc., on CSV data.
  params:
    action: The operation to be performed on the data - "count", "filter", "grouped_count", etc.
    filters:
      column: The column to apply the filter on.
      value: Specific value to use for filtering.
      expression: An expression to use for filtering.

Response:
function: csv_analytics
params:
  action: "count"
  filters:
    column: "City"
    value: "New York"

System: A chat.


Instruction:
Please choose the most suitable function and its parameters from the provided list based on the given user input. Format your answer in YAML.

Input: Extract text from the following PDF file named 'Report.pdf'.

Available functions:
text_summarizer:
  description: Summarizes large blocks of text into concise summaries.
  parameters:
    source: Source of the text to summarize.
file_converter:
  description: Converts files from one format to another.
  parameters:
    source_file: Name of the file to convert.
    target_format: Desired output format.
pdf_analytics:
  description: Useful for extracting specific information from PDF files.
  params:
    action: Action to perform on the data, such as "extract_text".
    filename: Name of the PDF file.

Response:
function: pdf_analytics
params:
  action: "extract_text"
  filename: "Report.pdf"

System: A chat.


Instruction:
You are acting as an AI agent. Please choose the appropriate function and its parameters from the list of available functions based on the user's request. Present your answer in YAML format.

Input: Count how many emails were received from john.doe@example.com.

Available functions:
text_analysis:
  description: Helps analyze text data for sentiment, key phrases, entities, etc.
  parameters:
    type: Type of analysis like 'sentiment', 'key_phrases', 'entities'.
    text: Text to be analyzed.
email_analytics:
  description: Useful for performing various operations like count, filter, grouped_count on email data.
  params:
    action: Action to perform on the data.
    filters:
      column: Column to filter on.
      value: Value to filter on.
      expression: Expression to filter on.

Response:
function: email_analytics
params:
  action: "count"
  filters:
    column: "from_address"
    value: "john.doe@example.com"

System: A chat.


Instruction:
As an AI agent, please select the most suitable function and parameters from the list of available functions below, based on the provided user input. Provide your response in JSON format.

Input: I want to find all documents related to "climate change" between 2010 and 2020.

Available functions:
weather_analysis:
  description: This tool is useful for analyzing weather patterns over a period of time.
  params:
    action: The type of analysis we want to perform such as "temperature_trend", "rainfall_trend", etc.
    date_range:
      begin: Limit results to items with date greater than or equal to this value.
      end: Limit results to items with date less than or equal to this value.
document_search:
  description: Help the user find documents by converting the input query into search terms and filters that may help locate the required information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases.
    date_range:
      begin: Limit results to items with date greater than or equal to this value.
      end: Limit results to items with date less than or equal to this value.

Response:
{
  "function": "document_search",
  "parameters": {
    "search_terms": ["climate change"],
    "date_range": {
      "begin": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
You're acting as an AI assistant. Choose the appropriate function and parameters from the available functions listed below according to the user's request. Provide your response in JSON format.

Input: Search for alternatives to the term 'AI'.

Available functions:
- synonym_finder:
    description: This tool helps find synonyms for a given word.
    parameters:
      word: The word for which we are finding synonyms.
- search:
    description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
    parameters:
      search_terms: List of keywords and/or phrases that are of high importance to the input.
      alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.

Response:
{
  "function": "synonym_finder",
  "parameters": {
    "word": "AI"
  }
}

System: A chat.


Instruction:
Acting as an intelligent assistant, choose the best-suited function and its parameters from the following options based on the given user request. Please provide your answer in YAML format.

Input: Can you help me count how many times 'AI' appears in my research paper?

Available functions:
word_count:
  description: Counts the frequency of a particular word in a text document.
  parameters:
    file_path: Path to the text document.
    word: Word to be counted.
image_analysis:
  description: Analyses images for various properties.
  parameters:
    image_path: Path to the image file.
    property: Property to be analyzed (e.g., color, size, shape).
file_management:
  description: Manages files and directories.
  parameters:
    action: Action to be performed like 'create', 'delete', 'move'.
    target: Target file or directory.

Response:
function: word_count
parameters:
  file_path: "research_paper.txt"
  word: "AI"

System: A chat.


Instruction:
You're acting as an AI assistant. Choose the appropriate function and parameters from the following list based on the provided user input. Please provide your answer in YAML format.

Input: Classify the provided articles into categories like sports, politics, and entertainment.

Available functions:
- sentiment_analysis:
    description: Analyzes the sentiment (positive, negative, neutral) expressed in a piece of text.
    parameters:
      text: The text to analyze.
- topic_modeling:
    description: Identifies topics discussed in a collection of documents.
    parameters:
      documents: The collection of documents to analyze.
- document_classification:
    description: Categorizes documents based on their content.
    parameters:
      category: The category that we want to classify documents into.

Response:
function: document_classification
params:
  category: ["sports", "politics", "entertainment"]

System: A chat.


Instruction:
As an AI assistant, choose the best fitting function and its parameters from the provided list based on the user's request. Your answer should be presented in YAML format.

Input: Analyze the sentiment of the following text: "I am extremely happy today!"

Available functions:
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
  date_range:
    begin: Limit results to items with date greater than or equal to this value, if provided in input query.
    end: Limit results to items with date less than or equal to this value, if provided in input query.
analyze_text:
  description: Analyzes a text and provides insights such as sentiment, key phrases, etc.
  params:
    text: The text to analyze.

Response:
function: analyze_text
params:
  text: "I am extremely happy today!"

System: A chat.


Instruction:
As an AI agent, select the most suitable function and parameters from the list of available functions below, based on the provided user input. Your response should be in JSON format.

Input: I want to find all documents related to "Artificial Intelligence" between 2010 and 2021.

Available functions:
email_analytics:
  description: This tool is useful for performing various operations such as counts, filters, etc. on email data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
  date_range:
    begin: Limit results to items with date greater than or equal to this value, if provided in input query.
    end: Limit results to items with date less than or equal to this value, if provided in input query.

Response:
{
  "function": "search",
  "parameters": {
    "search_terms": ["Artificial Intelligence"],
    "date_range": {
      "begin": "2010",
      "end": "2021"
    }
  }
}

System: A chat.


Instruction:
As an intelligent agent, pick the appropriate function and parameters from the available functions listed below according to the user input. Present your answer in JSON format.

Input: I have some data about sales performance. Can you generate a bar chart for it?

Available functions:
csv_parser:
  description: Parses CSV data into a more manageable format.
  parameters:
    csv_data: The CSV data to be parsed.
data_visualization:
  description: Visualizes data in different forms like charts, graphs, etc.
  parameters:
    type: The kind of visualization needed ("bar", "line", "pie").
    data_source: The source of the data to be visualized.
text_translation:
  description: Translates text from one language to another.
  parameters:
    source_text: The text to be translated.
    target_language: The language to translate the text into.

Response:
{
  "function": "data_visualization",
  "parameters": {
    "type": "bar",
    "data_source": "sales_performance_data"
  }
}

System: A chat.


Instruction:
As an agent, please select the most suitable function and parameters from the list of available functions below, based on the provided user input.  Provide your response in JSON format.

Input: I want to know about all the books written by J.K. Rowling published between 2000 and 2010.

Available functions:
book_search:
  description: This tool helps users find information about books.
  parameters:
    author: The name of the author whose books are being searched for.
    title: The title of the book being searched for.
    publication_date_range:
      start: Limit results to books with a publication date greater than or equal to this value.
      end: Limit results to books with a publication date less than or equal to this value.
weather_forecast:
  description: Provides weather forecast for a specified location.
  params:
    location: The geographical location for which the weather forecast is required.
    date_range:
      begin: Weather forecast starting from this date.
      end: Weather forecast up to this date.

Response:
{
  "function": "book_search",
  "parameters": {
    "author": "J.K. Rowling",
    "publication_date_range": {
      "start": "2000",
      "end": "2010"
    }
  }
}

System: A chat.


Instruction:
As an AI assistant, select the most suitable function and parameters from the list of available functions below based on the user's input. Provide your response in JSON format.

Input: I need to find all documents related to "Artificial Intelligence" published between 2010 and 2020.

Available functions:
file_search:
  description: This tool helps locate files by converting the input query into a series of search terms and filters.
  parameters:
    keywords: List of important keywords or phrases from the input.
    date_range:
      start: Limit results to items with date greater than or equal to this value, if provided in input query.
      end: Limit results to items with date less than or equal to this value, if provided in input query.
text_analysis:
  description: This tool analyzes text data for sentiment, key phrases, entities, etc.
  params:
    action: The type of analysis we want to perform such as "sentiment", "key_phrases", "entities", etc.
document_classification:
  description: Classify documents into predefined categories.
  params:
    category: The category we want to classify the document into.

Response:
{
  "function": "file_search",
  "parameters": {
    "keywords": ["Artificial Intelligence"],
    "date_range": {
      "start": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
As an AI agent, select the best function and parameters from the list of available functions below based on the user input. Provide your response in JSON format.

Input: I want to find all documents related to "Artificial Intelligence" published between 2015 and 2020.

Available functions:
email_notification:
  description: This tool is useful for sending email notifications.
  params:
    recipient: The email address of the recipient.
    subject: The subject line of the email.
    body: The main content of the email.
document_search:
  description: Help the user find specific documents by converting the input query into a series of search terms and filters.
  parameters:
    search_terms: List of keywords and/or phrases that are important to the input.
    date_range:
      begin: Limit results to items with date greater than or equal to this value, if provided in input query.
      end: Limit results to items with date less than or equal to this value, if provided in input query.

Response:
{
  "function": "document_search",
  "parameters": {
    "search_terms": ["Artificial Intelligence"],
    "date_range": {
      "begin": "2015",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
As an AI agent, select the most suitable function and parameters from the list of available functions below based on the given user input. Provide your response in JSON format.

Input: I need to find all blog posts related to 'AI ethics' published between 2019 and 2021.

Available functions:
get_blog_posts:
  description: Fetches blog posts based on certain criteria.
  params:
    keywords: List of key terms to search for within the blog post content.
    date_range:
      start_date: Filter results to only include posts published after this date.
      end_date: Filter results to only include posts published before this date.
email_notifications:
  description: Sends email notifications based on a specified trigger.
  parameters:
    trigger_event: The event that will trigger the sending of an email notification.
    recipient_list: List of recipients who will receive the email notification.
database_query:
  description: Executes a database query.
  parameters:
    query: SQL statement to execute against the database.

Response:
{
  "function": "get_blog_posts",
  "params": {
    "keywords": ["AI ethics"],
    "date_range": {
      "start_date": "2019-01-01",
      "end_date": "2021-12-31"
    }
  }
}

System: A chat.


Instruction:
As an AI assistant, determine the best function and parameters to use from the list below based on the user input. Your response should be formatted in JSON.

Input: What is the sentiment of the following review? "I absolutely loved the product! It exceeded my expectations."

Available functions:
text_analysis:
  description: Analyzes text for sentiment, key phrases, entities etc.
  params:
    text: The text to analyze.
image_processing:
  description: Processes images for various tasks like cropping, resizing, rotating etc.
  params:
    action: The operation to perform (crop, resize, rotate).
    image_path: Path to the image file.
file_manager:
  description: Assists in managing files in a directory including copying, moving, deleting, renaming etc.
  params:
    action: The operation to perform (copy, move, delete, rename).
    file_name: Name of the file to perform the action on.
    destination: Destination directory/file name (in case of copy/move/rename).

Response:
{
  "function": "text_analysis",
  "params": {
    "text": "I absolutely loved the product! It exceeded my expectations."
  }
}

System: A chat.


Instruction:
As an AI agent, please choose the appropriate function and its parameters from the given list based on the user's input. Your answer should be presented in YAML format.

Input: From the given dataset, calculate the average temperature for each city.

Available functions:
data_aggregation:
  description: Useful for calculating averages, sums, counts, etc. from a dataset.
  parameters:
    operation: The calculation to be performed (e.g., "average", "sum", "count").
    column: The column to perform the operation on.
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
function: data_aggregation
parameters:
  operation: "average"
  column: "temperature"

System: A chat.


Instruction:
As an AI assistant, determine the best function and parameters from the provided list according to the user input. Your response should be formatted in JSON.

Input: Filter my emails by sender 'John Doe'.

Available functions:
email_filter:
  description: Filter emails based on certain criteria.
  params:
    filter_by: Criteria to filter emails by, such as "sender", "subject", etc.
    value: Value to match the filter criteria.
search_engine:
  description: Find information online using specific search terms.
  parameters:
    query: Keywords or phrases to search for.
file_search:
  description: Locate files based on keywords or phrases.
  parameters:
    keyword: Primary word or phrase to search for.

Response:
{
  "function": "email_filter",
  "params": {
    "filter_by": "sender",
    "value": "John Doe"
  }
}

System: A chat.