Instruction:
As an artificial intelligence assistant, choose the appropriate function and parameters from the list of available functions based on the user's request. Your response should be in JSON format.

Input: I need a pie chart showing the distribution of employee roles in my company.

Available functions:
- data_visualization:
    description: Creates visualizations from given data.
    params:
      type: Type of visualization (e.g., bar chart, pie chart).
      data: Data to visualize.
- 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_notification:
    description: Sends an email notification.
    params:
      recipient: Email address of the recipient.
      subject: Subject of the email.
      body: Body of the email.

Response:
{
  "function": "data_visualization",
  "params": {
    "type": "pie chart",
    "data": "employee roles"
  }
}

System: A chat.


Instruction:
You're acting as an intelligent assistant. Please choose the best function and its parameters from the given list based on the user's request. Your answer should be formatted in YAML.

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

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_notification:
  description: Send an email notification with specific content.
  params:
    recipient: The email address of the recipient.
    subject: The subject line for the email.
    body: The main content of the email.

Response:
function: email_notification
params:
  recipient: "john.doe@example.com"
  subject: "Meeting Reminder"
  body: "Don't forget about our meeting tomorrow at 10 AM."

System: A chat.


Instruction:
As an artificial intelligence assistant, choose the appropriate function and parameters from the following list based on the user input. Your response should be formatted in JSON.

Input: Find me all news articles that mention "AI ethics".

Available functions:
news_search:
  description: Helps users find news articles by turning their queries into search terms and filters.
  parameters:
    keywords: Important words or phrases from the user's query.
web_scraper:
  description: Scrapes web pages for specific content.
  parameters:
    url: URL of the page to scrape.
    elements: HTML elements to scrape.
file_reader:
  description: Reads a file from a specified location.
  parameters:
    path: Path to the file to read.

Response:
{
  "function": "news_search",
  "parameters": {
    "keywords": ["AI ethics"]
  }
}

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 provided user input. The response should be in JSON format.

Input: I want to find all documents that contain the phrase "climate change" between 2010 and 2020.

Available functions:
data_filtering:
  description: Filters data based on certain criteria.
  params:
    column: The column we want to filter on.
    value: Explicit value to filter on.
document_search:
  description: Searches for specific phrases or keywords within a set of documents.
  parameters:
    search_phrase: Phrase or keyword to search for.
    date_range:
      start: 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.
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": "document_search",
  "parameters": {
    "search_phrase": "climate change",
    "date_range": {
      "start": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
You're an AI assistant. Based on the user's request, select the best-suited function and its parameters from the options listed below. Present your response in JSON format.

Input: What are some similar words to 'happy'?

Available functions:
synonym_finder:
  description: Finds synonyms for a given word.
  parameters:
    word: The word for which to find synonyms.
text_analysis:
  description: Analyze a text or series of texts for specific keywords or phrases.
  parameters:
    keyword: The word or phrase that is being searched for in the text(s).
    context: Any additional words or phrases that should be present in the same sentence as the keyword.

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

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 know the weather forecast for London tomorrow.

Available functions:
get_weather_forecast:
  description: This function provides a detailed weather forecast for a specified location.
  params:
    location: The city or region for which the weather forecast is required.
    date: The specific date for which the weather forecast is needed.
search_engine_query:
  description: Helps users find information by converting their query into search terms that can pinpoint the exact information they need.
  parameters:
    keywords: List of important words/phrases from the user's query.
    alternatives: List of alternative words/phrases related to the main keywords.
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.

Response:
{
  "function": "get_weather_forecast",
  "params": {
    "location": "London",
    "date": "tomorrow"
  }
}

System: A chat.


Instruction:
Please choose the most suitable function and its parameters from the following options based on the given user input. Provide your answer in YAML format.

Input: What is the overall sentiment towards electric cars in our customer reviews?

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: Analyzes text data for various purposes such as sentiment analysis, topic modeling, etc.
  params:
    action: The specific type of analysis we want to perform on the text, such as "sentiment", "topic_modeling", etc.
    filters:
      column: The column containing the text data we want to analyze.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
function: text_analysis
params:
  action: "sentiment"
  filters:
    column: "customer_reviews"

System: A chat.


Instruction:
You're acting as an intelligent assistant. Based on the user input, select the best-suited function and parameters from the following options. Respond in JSON format.

Input: Filter out emails that contain the word 'spam'.

Available functions:
email_filter:
  description: Filters emails based on certain criteria.
  parameters:
    filter_word: Word to look for in the email content.
image_processing:
  description: Processes images using various techniques like resizing, cropping, etc.
  parameters:
    action: The type of processing required (resize, crop, etc.).

Response:
{
  "function": "email_filter",
  "parameters": {
    "filter_word": "spam"
  }
}

System: A chat.


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

Input: Analyze the sentiment of these English reviews.

Available functions:
review_parser:
  description: Parse reviews into structured data.
  parameters:
    review_type: Type of reviews to parse, such as "product", "service", etc.
data_visualization:
  description: Visualize data in various forms like graphs, charts, etc.
  params:
    chart_type: Type of chart to generate.
    data_source: Source of data to visualize.
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.

Response:
function: text_analytics
params:
  action: "sentiment_analysis"
  filters:
    language: "English"

System: A chat.


Instruction:
As an agent, select the best-suited function and its parameters from the given list based on the user's request. Please provide your answer in YAML format.

Input: Analyze the sentiment of reviews in the 'comments' 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 useful 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 analyze.

Response:
function: text_analysis
params:
  action: "sentiment_analysis"
  filters:
    column: "comments"

System: A chat.


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

Input: Extract the text content from the document located at /home/user/documents/report.pdf

Available functions:
image_classifier:
  description: Classifies images into predefined categories.
  params:
    image_path: Path to the image file.
pdf_parser:
  description: This tool is useful for extracting text from PDF files.
  params:
    file_path: The path to the PDF file.
file_compressor:
  description: Compresses a specified file or directory.
  params:
    source: File or directory to compress.
    destination: Destination path for the compressed file.

Response:
function: pdf_parser
params:
  file_path: "/home/user/documents/report.pdf"

System: A chat.


Instruction:
As an artificial intelligence assistant, choose the appropriate function and its parameters from the given list according to the user's request. Please present your answer in YAML format.

Input: From the supplied CSV file, count the number of occurrences for each category.

Available functions:
search:
  description: Helps users locate information by transforming their queries into search terms and filters.
  parameters:
    search_terms: A list of important keywords or phrases from the user's input.
    alternatives: Variations of the main keywords or phrases, like acronyms or common synonyms.
  date_range:
    begin: If specified in the user's query, restricts results to those dated after this point.
    end: If specified in the user's query, restricts results to those dated before this point.
csv_analytics:
  description: Useful for various operations on CSV data, like aggregation, counting, filtering, etc.
  params:
    action: The operation to be performed on the data, e.g., "count", "filter", "grouped_count".
    filters:
      column: The column to apply the filter on.
      value: The specific value to filter.
      expression: An expression to use for filtering.

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

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 user input. Please provide your response in JSON format.

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

Available functions:
document_search:
  description: This tool helps users locate specific documents by converting their query into search terms and filters.
  parameters:
    keywords: List of important words or phrases from the user's query.
    date_range:
      start_date: Limits results to documents dated after this value.
      end_date: Limits results to documents dated before this value.
data_visualization:
  description: This tool generates visual representations of data sets.
  params:
    type: The kind of visualization needed (e.g., bar chart, pie chart).
    data_source: The source of the data to be visualized.
text_summarizer:
  description: Summarizes long pieces of text into shorter versions.
  params:
    text: The text that needs to be summarized.
    length: The desired length of the summary.

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

System: A chat.


Instruction:
As an AI assistant, please pick the appropriate function and its parameters from the following list based on the given user input. Your response should be formatted in JSON.

Input: Analyze the sentiment of the following review - "I absolutely loved the movie! It was fantastic."

Available functions:
review_analyzer:
  description: Analyzes reviews to determine their sentiment.
  parameters:
    review_text: The review to analyze.
data_visualizer:
  description: Visualizes data in various formats.
  parameters:
    data: The data to visualize.
    format: The format in which to visualize the data.
email_sender:
  description: Sends emails.
  parameters:
    recipient: The email address of the recipient.
    subject: The subject of the email.
    body: The body of the email.

Response:
{
  "function": "review_analyzer",
  "parameters": {
    "review_text": "I absolutely loved the movie! It was fantastic."
  }
}

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: 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:
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.
email_notifier:
  description: This tool is used for sending emails.
  params:
    recipient: The email address of the recipient.
    subject: The subject line of the email.
    body: The main content of the email.
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_notifier
params:
  recipient: "john.doe@example.com"
  subject: "Meeting Reminder"
  body: "Don't forget about our meeting tomorrow at 10 AM."

System: A chat.


Instruction:
As an artificial intelligence assistant, identify the appropriate function and parameters from the following options based on the user's request. Your response should be in JSON format.

Input: Find me documents related to neural networks and machine learning written after 2015.

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": ["neural networks", "machine learning"],
    "date_range": {
      "begin": "2016"
    }
  }
}

System: A chat.


Instruction:
As an AI agent, choose the correct function and parameters from the following options based on the user's request. Please provide your answer in JSON format.

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

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.
email_notifications:
  description: This tool sends email notifications.
  params:
    recipient: The recipient's email address.
    subject: The subject of the email.
    body: The content of the email.
file_conversion:
  description: Converts files from one format to another.
  params:
    source_format: The original file format.
    target_format: The desired file format.

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

System: A chat.


Instruction:
As an AI assistant, choose the appropriate function and its parameters from the list below according to the user query. Your response should be in JSON format.

Input: What is the weather like in New York?

Available functions:
weather_report:
  description: Fetches the current weather conditions for a specified location.
  parameters:
    location: The location for which to fetch the weather report.
time_zone_info:
  description: Provides information about the time zone of a specified location.
  parameters:
    location: The location for which to fetch the time zone information.
city_information:
  description: Provides general information about a city.
  parameters:
    city_name: The name of the city for which to fetch information.

Response:
{
  "function": "weather_report",
  "parameters": {
    "location": "New York"
  }
}

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. Please provide your response in JSON format.

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

Available functions:
document_search:
  description: Helps users locate specific documents by converting their query into a series of search terms and filters.
  parameters:
    keywords: List of key phrases or words that are important to the user's query.
    date_range:
      start: Restricts results to documents with dates greater than or equal to this value, if provided in the query.
      end: Restricts results to documents with dates less than or equal to this value, if provided in the query.
data_visualization:
  description: Creates visual representations of data.
  params:
    chart_type: The type of chart we want to create (e.g., bar, line, pie).
    data_source: The source of the data we want to visualize.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
{
  "function": "document_search",
  "parameters": {
    "keywords": ["Artificial Intelligence"],
    "date_range": {
      "start": "2010",
      "end": "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 user's input. Provide your response in JSON format.

Input: I need to find all emails sent between January 1, 2020 and December 31, 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": ["email"],
    "date_range": {
      "begin": "2020-01-01",
      "end": "2020-12-31"
    }
  }
}

System: A chat.


Instruction:
As an AI assistant, 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: From the given spreadsheet, count how many entries are there for each product type.

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_type"

System: A chat.


Instruction:
You're acting as an AI agent. Based on the following user input, choose the appropriate function and its parameters from the listed options. Provide your answer in YAML format.

Input: From the existing dataset, extract information where the country is 'USA'.

Available functions:
text_analysis:
  description: Analyzes text for sentiment, entities, and other components.
  parameters:
    text: Text to analyze.
    language: Language of the text.
data_filtering:
  description: Filters data based on specified criteria.
  params:
    action: Action to be performed on the data like "extract", "filter".
    filters:
      column: Column to apply the filter on.
      value: Specific value to filter.

Response:
function: data_filtering
params:
  action: "filter"
  filters:
    column: "country"
    value: "USA"

System: A chat.


Instruction:
As an artificial intelligence assistant, choose the best function and its parameters from the following options based on the user's request. Please provide your answer in YAML format.

Input: I need a pie chart showing the distribution of sales by region from the given dataset.

Available functions:
data_aggregation:
  description: Useful for summarizing and analyzing large datasets.
  parameters:
    operation: Type of aggregation operation like sum, average, count, etc.
    field: Field on which to apply the operation.
text_analysis:
  description: Helps analyze text data for insights.
  parameters:
    operation: Operation to be performed such as sentiment analysis, keyword extraction, etc.
    text: Text to be analyzed.
data_visualization:
  description: Helps visualize data in different formats like bar charts, pie charts, etc.
  parameters:
    chart_type: Type of chart to be created.
    data: Data to be visualized.

Response:
function: data_visualization
parameters:
  chart_type: "pie"
  data: "sales_by_region"

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 input. Provide your response in JSON format.

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

Available functions:
data_filtering:
  description: This tool is used for filtering data based on certain criteria.
  params:
    filter_type: The type of filter we want to apply (e.g., "equals", "contains", "range").
    column: The column we want to filter on.
    value: Explicit value to filter on.
document_search:
  description: Help the user find specific documents by converting the query into a series of search terms and filters.
  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.
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": "document_search",
  "parameters": {
    "search_terms": ["climate change"],
    "date_range": {
      "begin": "2017-01-01",
      "end": "2022-12-31"
    }
  }
}

System: A chat.


Instruction:
You are an intelligent agent. Based on the user's question, select the appropriate function and parameters from the list below. Please provide your answer in JSON format.

Input: Find all images that contain cats from the past year.

Available functions:
image_search:
  description: Helps users find images by turning their query into search terms and filters.
  parameters:
    keywords: Important words or phrases from the input.
    date_range:
      start: Limits results to items with a date later than or equal to this value, if specified in the input query.
      end: Limits results to items with a date earlier than or equal to this value, if specified in the input query.
text_analysis:
  description: Analyzes text to extract certain features or sentiments.
  parameters:
    action: The type of analysis to perform, such as "sentiment", "entity recognition", etc.
    text: The text to analyze.

Response:
{
  "function": "image_search",
  "parameters": {
    "keywords": ["cats"],
    "date_range": {
      "start": "2020-12-01",
      "end": "2021-11-30"
    }
  }
}

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: Find all documents containing the terms "climate change" or "global warming" between 2010 and 2020.

Available functions:
email_notification:
  description: This function sends an email notification to a specified recipient.
  params:
    recipient: The email address of the recipient.
    subject: The subject line for the email.
    body: The content of the email.
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", "global warming"],
    "date_range": {
      "begin": "2010",
      "end": "2020"
    }
  }
}

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. Your response should be in JSON format.

Input: Find all documents related to "climate change" within the last 5 years.

Available functions:
text_search:
  description: Helps users find relevant text-based information by converting the input query into a series of search terms.
  parameters:
    keywords: List of keywords that are of high importance to the input.
    time_frame:
      start_date: Limit results to items with date greater than or equal to this value, if provided in input query.
      end_date: Limit results to items with date less than or equal to this value, if provided in input query.
data_analysis:
  description: This tool is useful for performing various aggregations, counts, etc. from data sets.
  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": "text_search",
  "parameters": {
    "keywords": ["climate change"],
    "time_frame": {
      "start_date": "2016-01-01",
      "end_date": "2021-12-31"
    }
  }
}

System: A chat.


Instruction:
As an artificial intelligence agent, please select the appropriate function and parameters from the list of available functions based on the user's input. Format your response in JSON.

Input: Count how many times each product appears in the sales report.

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.
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"
    }
  }
}

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. Please provide your response in JSON format.

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

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:
      keyword: Keyword to analyze.
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": "2016-01-01"
    }
  }
}

System: A chat.


Instruction:
You are acting as an AI assistant. Based on the user's request, please select the best function and its parameters from the list below. Present your answer in YAML format.

Input: Analyze the sentiment of the following review - "I absolutely loved the movie!"

Available functions:
review_analysis:
  description: This tool is used to analyze reviews.
  params:
    review_text: The review to analyze.
sentiment_analysis:
  description: This tool is used to analyze the sentiment of a piece of text.
  params:
    text: The text to analyze.

Response:
function: sentiment_analysis
params:
  text: "I absolutely loved the movie!"

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. Please provide your response in JSON format.

Input: I need to find all emails sent between January 1, 2020, and December 31, 2020, containing the terms "project update" or "status report".

Available functions:
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.
data_export:
  description: Exports data into various formats such as CSV, PDF, etc.
  params:
    format: The desired output format for the data.
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": "email_search",
  "parameters": {
    "keywords": ["project update", "status report"],
    "date_range": {
      "start_date": "2020-01-01",
      "end_date": "2020-12-31"
    }
  }
}

System: A chat.


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

Input: Find all records in the database where the age is greater than 50.

Available functions:
- db_search:
    description: Searches the database using specified filters.
    parameters:
      column: The column to apply the filter on.
      value: The value to filter by.
- aggregate_data:
    description: Aggregates data based on certain criteria.
    parameters:
      action: The aggregation action to perform (count, sum, average).
      column: The column to aggregate on.

Response:
{
  "function": "db_search",
  "parameters": {
    "column": "age",
    "value": ">50"
  }
}

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's input. Please provide your response in JSON format.

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

Available functions:
file_search:
  description: This tool helps users locate files by converting their query into a series of search terms and filters.
  parameters:
    keywords: List of important words or phrases that are relevant to the user's query.
    date_range:
      start: Restrict results to files created after this date, if specified in the user's query.
      end: Restrict results to files created before this date, if specified in the user's query.
text_analysis:
  description: Analyze text data for specific themes or sentiments.
  params:
    theme: The main idea or topic we want to analyze in the text.
    sentiment: The emotion or attitude we want to detect in the text.
csv_analytics:
  description: Perform various aggregations, counts, etc. from CSV data.
  params:
    action: The operation 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_search",
  "parameters": {
    "keywords": ["climate change"],
    "date_range": {
      "start": "2016-01-01"
    }
  }
}

System: A chat.


Instruction:
You are an artificial intelligence agent. Please choose the most suitable function and its parameters from the following options according to the given user input. Your answer should be presented in YAML format.

Input: Count the number of times the word "profit" appears in the document.

Available functions:
- word_counter:
    description: Counts occurrences of a specified word in a document.
    params:
      word: Word to count.
- sentence_analyzer:
    description: Analyzes sentences in a document for specific characteristics.
    params:
      characteristic: Characteristic to analyze such as "length", "complexity", etc.
- paragraph_summarizer:
    description: Summarizes paragraphs in a document.
    params:
      length: Desired length of summary.

Response:
function: word_counter
params:
  word: "profit"

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. Provide your response in JSON format.

Input: I need to find all blog posts related to "AI technology" between January 2020 and December 2020.

Available functions:
text_analysis:
  description: Analyze a text document for specific keywords or phrases.
  parameters:
    keyword: The word or phrase to search for in the document.
    case_sensitive: Whether the search should be case sensitive or not.
date_filter:
  description: Filter documents by a specified date range.
  parameters:
    start_date: The beginning date of the range.
    end_date: The ending date of 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.
  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"],
    "alternatives": [],
    "date_range": {
      "begin": "January 2020",
      "end": "December 2020"
    }
  }
}

System: A chat.


Instruction:
You're an AI agent tasked with selecting the best function and its parameters from the given list based on the user's request. Provide your answer in YAML format.

Input: Filter out rows containing "N/A" in the 'status' column from the given CSV file.

Available functions:
data_cleaning:
  description: Helps clean up data by removing unwanted entries or filling missing values.
  parameters:
    action: The operation you wish to perform on the data (e.g., "remove", "fill").
    target_column: The column where the action should be applied.
    value: The specific value you want to remove or fill.
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: data_cleaning
parameters:
  action: "remove"
  target_column: "status"
  value: "N/A"

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 want to know how many times 'climate change' was mentioned in articles published between 2010 and 2020.

Available functions:
email_filter:
  description: This tool is used for filtering emails.
  params:
    filter_by: The criteria we want to use for filtering emails (e.g., sender, subject).
    value: Explicit value to filter by.
article_search:
  description: Help the user find information in 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.
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": "article_search",
  "parameters": {
    "search_terms": ["climate change"],
    "date_range": {
      "begin": "2010",
      "end": "2020"
    }
  }
}

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" published between 2010 and 2020.

Available functions:
text_analysis:
  description: Analyze a given text for keywords, sentiment, entities etc.
  params:
    action: The type of analysis we want to perform such as "keyword_extraction", "sentiment_analysis", "entity_recognition".
    filters:
      language: The language of the text.
document_search:
  description: Search through documents using specified search terms and date range.
  parameters:
    search_terms: List of keywords and/or phrases that are important to the query.
    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.
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.

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

System: A chat.


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

Input: Filter out emails sent by john.doe@example.com

Available functions:
text_analysis:
  description: Analyzes text for sentiment, key phrases, language, etc.
  parameters:
    text: The text to be analyzed.
email_filter:
  description: Helps filter emails based on sender, receiver, or content.
  params:
    sender: The email address of the sender.
    receiver: The email address of the receiver.
    content: Keywords to search for within the email content.

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

System: A chat.


Instruction:
As an AI assistant, pick the right function and its parameters from the list below according to the user's command. Please present your response in JSON format.

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

Available functions:
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.
text_analysis:
  description: Analyzes text for sentiment, entities, key phrases, language, and more.
  parameters:
    text: Text to analyze.
    features: Features to extract from the text.

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

System: A chat.


Instruction:
Please select the appropriate function and parameters from the following options based on the user's request. Please provide your response in JSON format.

Input: Resize the image to 800x600 pixels.

Available functions:
resize_image:
  description: Resizes an image to the specified dimensions.
  params:
    width: Width of the new image.
    height: Height of the new image.
analyze_text:
  description: Performs sentiment analysis on the provided text.
  params:
    text: Text to analyze.
filter_data:
  description: Filters data based on the provided condition.
  params:
    column: Column to filter.
    value: Value to filter by.

Response:
{
  "function": "resize_image",
  "params": {
    "width": 800,
    "height": 600
  }
}

System: A chat.


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

Input: Analyze the sentiment of the following review - "The movie was absolutely fantastic! Loved every bit of it."

Available functions:
sentiment_analysis:
  description: Analyze the sentiment of a piece of text.
  parameters:
    text: Text to analyze.
image_recognition:
  description: Identify objects and scenes in images.
  parameters:
    image_url: URL of the image to analyze.

Response:
{
  "function": "sentiment_analysis",
  "parameters": {
    "text": "The movie was absolutely fantastic! Loved every bit of it."
  }
}

System: A chat.


Instruction:
You're acting as an AI assistant. Choose the best function and parameters from the following options according to the user's request. Please provide your answer in YAML format.

Input: Count how many emails were received 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_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.

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 user input. Please provide your response in JSON format.

Input: I want to know how many products were sold between January 1, 2020 and December 31, 2020.

Available functions:
- sales_analytics:
    description: This tool is useful for performing various aggregations, counts, etc. from sales 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.
        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.
- 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": "sales_analytics",
  "params": {
    "action": "count",
    "filters": {
      "column": "product_sold",
      "date_range": {
        "begin": "01/01/2020",
        "end": "12/31/2020"
      }
    }
  }
}

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: Crop the uploaded image to a size of 500x500 pixels.

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: image_processing
params:
  action: "crop"
  dimensions:
    width: 500
    height: 500

System: A chat.


Instruction:
As an artificial intelligence agent, select the best-suited function and its parameters from the list of available functions based on the user's query. Provide your response in JSON format.

Input: Search for articles containing the term "artificial intelligence".

Available functions:
email_analytics:
  description: Perform various aggregations, counts, etc. from email 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.
text_search:
  description: This tool is useful for searching specific terms or phrases within a text corpus.
  params:
    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_filter:
  description: Filter results based on a specified date range.
  params:
    begin_date: Start of the date range.
    end_date: End of the date range.

Response:
{
  "function": "text_search",
  "params": {
    "search_terms": ["artificial intelligence"],
    "alternatives": []
  }
}

System: A chat.


Instruction:
Please choose the appropriate function and parameters from the list of available functions based on the user's input. Provide your answer in YAML format.

Input: Identify all the dogs in the image at this URL: www.example.com/dog_image.jpg

Available functions:
text_analysis:
  description: Analyzes text for sentiment, key phrases, language, and entities.
  parameters:
    text: Text to analyze.
weather_forecast:
  description: Provides weather forecast for a specified location.
  parameters:
    location: Location for which to get the weather forecast.
image_recognition:
  description: Identifies objects within an image.
  params:
    image_url: URL of the image to analyze.
    object_type: Type of object to identify in the image.

Response:
function: image_recognition
params:
  image_url: www.example.com/dog_image.jpg
  object_type: dog

System: A chat.


Instruction:
As an artificial intelligence assistant, please select the best-suited function and parameters from the following list based on the user's input. Your response should be formatted in JSON.

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

Available functions:
weather_forecast:
  description: Predicts weather conditions for a specific location.
  parameters:
    location: The geographical location where you want to forecast the weather.
    date_range:
      start: Start date for the forecast period.
      end: End date for the forecast period.
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": "category"
    }
  }
}

System: A chat.


Instruction:
Acting as an AI agent, determine the appropriate function and parameters from the provided list based on the user's input. Your response should be formatted in JSON.

Input: From the given spreadsheet, count how many entries are from New York.

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.
- document_search:
    description: This tool helps users locate specific documents by converting their query into a series of search terms and filters.
    parameters:
      keywords: List of important words or phrases from the user's query.
      date_range:
        start: Limit results to documents with publication dates later than this value.
        end: Limit results to documents with publication dates earlier than this value.
- text_analysis:
    description: This tool analyzes textual data for patterns, trends, and other insights.
    params:
      action: The type of analysis to perform, such as "sentiment", "frequency", etc.
      target_text: The specific text to analyze.

Response:
{
  "function": "csv_analytics",
  "params": {
    "action": "count",
    "filters": {
      "column": "location",
      "value": "New York"
    }
  }
}

System: A chat.


Instruction:
You're an AI assistant. Please choose the best function and its parameters from the following options based on the user's request. Your answer should be presented in YAML format.

Input: Upload my resume.pdf file.

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.
file_management:
  description: This tool is useful for managing files including uploading, downloading, deleting, renaming etc.
  params:
    action: The action we want to perform such as "upload", "download", "delete", "rename" etc.
    file_name: Name of the file we want to manage.

Response:
function: file_management
params:
  action: upload
  file_name: resume.pdf

System: A chat.


Instruction:
You're an AI assistant tasked with choosing the appropriate function and parameters from the given options based on the user's request. Provide your answer in YAML format.

Input: Filter out rows where the 'status' column equals 'inactive'.

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: "filter"
  filters:
    column: "status"
    value: "inactive"

System: A chat.


Instruction:
You're an AI assistant tasked with choosing the best function and its parameters from the given list based on the user's request. Please provide your answer in YAML format.

Input: Analyze the sentiment of the reviews in the provided text file.

Available functions:
text_analysis:
  description: This tool is used for analyzing text data.
  params:
    action: The action we want to perform on the data, such as "sentiment_analysis", "topic_modeling", etc.
    filters:
      keyword: Keyword 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 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 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_analysis"

System: A chat.


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

Input: What will be the weather in London next week?

Available functions:
article_search:
  description: Assists users in finding articles by transforming their query into search terms and filters.
  parameters:
    keywords: A list of significant words or phrases derived from the user's query.
    date_range:
      begin: Restricts results to articles with a publication date that is equal to or later than this value.
      end: Restricts results to articles with a publication date that is equal to or earlier than this value.
weather_forecast:
  description: Provides weather forecasts for a specified location.
  params:
    location: The geographic area for which the forecast is required.
    date_range:
      start: The beginning date for the forecast period.
      end: The ending date for the forecast period.
csv_analytics:
  description: Carries out various operations like aggregation, counting, etc., on CSV data.
  params:
    action: The operation to be performed on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column to apply the filter on.
      value: The specific value to use for filtering.
      expression: The expression value to use for filtering.

Response:
function: weather_forecast
params:
  location: "London"
  date_range:
    start: "next_week_start_date"
    end: "next_week_end_date"

System: A chat.


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

Input: Convert my document from PDF to Word.

Available functions:
document_editor:
  description: Edits text within a document.
  params:
    action: The type of editing action required such as 'insert', 'delete' or 'replace'.
    location: The position in the document where the action is needed.
file_converter:
  description: Converts files from one format to another.
  params:
    source_format: The current format of the file.
    target_format: The desired format of the file.
image_resizer:
  description: Resizes images to specified dimensions.
  params:
    width: Desired width of the image.
    height: Desired height of the image.

Response:
function: file_converter
params:
  source_format: "PDF"
  target_format: "Word"

System: A chat.


Instruction:
You're an AI assistant. Choose the best function and its parameters from the given list based on the user's request. Format your answer in YAML.

Input: Filter out all rows in the CSV where the 'status' column has the value 'inactive'.

Available functions:
search:
  description: Helps locate information by turning the input query into a sequence of search terms and filters.
  parameters:
    search_terms: High-importance keywords and/or phrases from the input.
    alternatives: Alternative high-importance keywords and/or phrases from the input, which are variations of the actual input keywords/phrases. For instance, acronyms, common alternate synonyms, etc.
  date_range:
    begin: Restricts results to items with dates greater than or equal to this value, if specified in the input query.
    end: Restricts results to items with dates less than or equal to this value, if specified in the input query.
csv_analytics:
  description: Useful for performing different types of aggregation, counting, etc. on CSV data.
  params:
    action: The desired operation on the data, like "count", "filter", "grouped_count", etc.
    filters:
      column: The column to apply the filter on.
      value: Specific value to filter on.
      expression: Expression value to filter on.

Response:
function: csv_analytics
params:
  action: "filter"
  filters:
    column: "status"
    value: "inactive"

System: A chat.


Instruction:
You're an AI assistant tasked with selecting the most suitable function and parameters from the list of available functions below, based on the user's input. Please provide your answer in JSON format.

Input: Find me documents about Artificial Intelligence published after 2015.

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": "2016"
    }
  }
}

System: A chat.


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

Input: Identify the objects in the image located at /home/user/pictures/image.jpg.

Available functions:
image_recognition:
  description: Identifies objects within an image.
  parameters:
    image_path: The path to the image file.
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": "image_recognition",
  "parameters": {
    "image_path": "/home/user/pictures/image.jpg"
  }
}

System: A chat.


Instruction:
Please choose the appropriate function and its parameters from the given list of functions according to the user's request. Provide your answer in YAML format.

Input: What will be the weather in New York next week?

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.
weather_forecast:
  description: Predicts weather conditions for a specific location.
  parameters:
    location: The geographical location where you want to forecast the weather.
    date_range:
      start: Start date for the forecast period.
      end: End date for the forecast period.

Response:
function: weather_forecast
parameters:
  location: "New York"
  date_range:
    start: "next week start date"
    end: "next week end date"

System: A chat.


Instruction:
As an AI agent, please choose the most suitable function and its parameters from the given list of functions based on the user's request. Your answer should be formatted in YAML.

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

Available functions:
weather_forecast:
  description: Provides weather forecast for a specified location.
  parameters:
    location: The geographical location for which the weather forecast is required.
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_notification:
  description: This tool is useful for sending email notifications.
  params:
    recipient: The email address of the recipient.
    subject: The subject of the email.
    body: The content of the email.

Response:
function: email_notification
params:
  recipient: "john.doe@example.com"
  subject: "Meeting Reminder"
  body: "Don't forget about our meeting tomorrow at 10 AM."

System: A chat.


Instruction:
Please choose an appropriate function and its parameters from the given list of available functions based on the provided user input. Format your response in YAML.

Input: Identify the main topics discussed in the given document.

Available functions:
document_translation:
  description: Translates documents from one language to another.
  parameters:
    source_language: The original language of the document.
    target_language: The language to translate the document into.
topic_modeling:
  description: Identifies the main topics in a document.
  parameters:
    document: The document to analyze.
text_summarization:
  description: Summarizes long texts into shorter versions.
  parameters:
    text: The text to summarize.
    length: The desired length of the summary.

Response:
function: topic_modeling
parameters:
  document: 'given_document'

System: A chat.


Instruction:
As an AI assistant, choose the correct function and parameters from the list of available functions based on the user's input. Your response should be formatted in JSON.

Input: Count how many times the term "AI" appears in the dataset.

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.
image_processing:
  description: This tool is useful for processing images.
  params:
    action: The operation we want to perform on the image, such as "crop", "resize", "rotate", etc.
    dimensions:
      width: Desired width of the image.
      height: Desired height of the image.

Response:
{
  "function": "csv_analytics",
  "params": {
    "action": "count",
    "filters": {
      "column": "term",
      "value": "AI"
    }
  }
}

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 want to find articles about climate change published between 2010 and 2020.

Available functions:
pdf_to_text:
  description: Converts a PDF file into plain text.
  parameters:
    file_path: The path to the PDF file that needs to be converted.
image_recognition:
  description: Identifies objects within an image.
  parameters:
    image_path: The path to the image file.
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 assistant, you're tasked with selecting the best-suited function and parameters from the list below based on the user's request. Present your answer in JSON format.

Input: Sort the table by 'sales' column in descending order.

Available functions:
csv_sorting:
  description: Sorts CSV data based on a particular column.
  parameters:
    column: The column to sort on.
    order: The order to sort in ('asc' for ascending, 'desc' for descending).
data_filtering:
  description: This tool is used for filtering data according to specific criteria.
  parameters:
    column: The column we want to filter on.
    value: Explicit value to filter on.
    expression: Expression value to filter on.

Response:
{
  "function": "csv_sorting",
  "parameters": {
    "column": "sales",
    "order": "desc"
  }
}

System: A chat.


Instruction:
As an artificial intelligence assistant, choose the appropriate function and parameters from the following list based on the user's request. Provide your response in JSON format.

Input: Can you help me visualize sales data for the past year?

Available functions:
data_visualization:
  description: Create visual representations of data.
  params:
    chart_type: Type of chart to create (bar, line, pie, etc.).
    data_source: Source of data to visualize.
sales_forecast:
  description: Predict future sales based on historical data.
  params:
    period: Time period for which to forecast sales.
    method: Method used for forecasting (linear regression, time series analysis, etc.).
csv_analytics:
  description: Perform various aggregations, counts, etc. from CSV data.
  params:
    action: The operation 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_visualization",
  "params": {
    "chart_type": "line",
    "data_source": "sales_data.csv"
  }
}

System: A chat.


Instruction:
Acting as an AI agent, please pick the best-suited function and parameters from the list given below, considering the user input. Present your response in JSON format.

Input: What's the sentiment around the term 'Artificial Intelligence' in my blog posts?

Available functions:
sentiment_analysis:
  description: Determine the sentiment (positive, negative, neutral) of a piece of text.
  params:
    text: The text we want to analyze.
blog_post_analysis:
  description: Analyze the content of a blog post.
  params:
    action: The type of analysis we want to perform such as "count_words", "analyze_sentiment", etc.
    filters:
      keyword: Specific keyword to focus the analysis on.
content_filter:
  description: Filter out unwanted content from a text.
  params:
    filter_out: The words or phrases we want to remove from the text.

Response:
{
  "function": "blog_post_analysis",
  "params": {
    "action": "analyze_sentiment",
    "filters": {
      "keyword": "Artificial Intelligence"
    }
  }
}

System: A chat.


Instruction:
You're acting as an AI assistant. Choose the best function and its parameters from the given list according to the user's command. Please provide your answer in YAML format.

Input: Can you summarize the main points from the article titled "Artificial Intelligence in Healthcare"?

Available functions:
article_summary:
  description: Summarizes articles by extracting key points.
  params:
    title: Title of the article to be summarized.
data_extraction:
  description: Extracts specific data from a larger dataset.
  params:
    column: Column from which data is to be extracted.
    value: Value to be extracted.

Response:
function: article_summary
params:
  title: "Artificial Intelligence in Healthcare"

System: A chat.


Instruction:
As an AI assistant, choose the appropriate function and its parameters from the list of available functions below according to the given user input. Your response should be formatted in YAML.

Input: From the given CSV file, count how many entries are for the year 2019.

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: "count"
  filters:
    column: "year"
    value: "2019"

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: Find all documents related to "climate change" within the last five years.

Available functions:
- text_search:
    description: This tool helps find specific phrases or keywords within a body of text.
    parameters:
      search_phrase: The phrase or keyword that needs to be found.
      date_range:
        start_date: Limit results to items with dates greater than or equal to this value.
        end_date: Limit results to items with dates less than or equal to this value.
- document_filter:
    description: This tool filters out documents based on certain criteria.
    parameters:
      filter_criteria: The criteria upon which to filter the documents.
      date_range:
        start_date: Filter out documents older than this date.
        end_date: Filter out documents newer than this date.
- data_analysis:
    description: This tool analyzes data for patterns or trends.
    parameters:
      analysis_type: The type of analysis to perform (e.g., trend analysis, pattern recognition).
      data_set: The set of data to analyze.

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:
Acting as an AI assistant, choose the best-suited function and its parameters from the following options based on the user's request. Your answer should be formatted in YAML.

Input: Extract information about employees who earn more than $5000 per month from the company database.

Available functions:
employee_info:
  description: Retrieves employee-related information from the company database.
  parameters:
    action: What kind of operation you want to perform like "retrieve", "update", etc.
    filters:
      field: The field on which you want to apply the filter.
      value: The exact value for filtering.
database_query:
  description: Executes a SQL-like query on the database.
  parameters:
    query: The SQL query to execute.

Response:
function: employee_info
parameters:
  action: "retrieve"
  filters:
    field: "salary"
    value: ">5000"

System: A chat.


Instruction:
As an AI agent, pick the most suitable function and parameters from the following options based on the user input. Please present your answer in JSON format.

Input: Show me a pie chart of sales data for last year.

Available functions:
sales_report_generation:
  description: Generate sales reports.
  params:
    period: Time period for the report.
data_visualization:
  description: Create visualizations from given data.
  params:
    type: Type of visualization like "bar_chart", "pie_chart".
    data: Data to visualize.
customer_segmentation:
  description: Segment customers based on their buying behavior.
  params:
    segmentation_criteria: Criteria for segmentation.

Response:
{
  "function": "data_visualization",
  "params": {
    "type": "pie_chart",
    "data": "sales data for last year"
  }
}

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 user input. Provide your response in JSON format.

Input: I need to find articles related to climate change between 2015 and 2020.

Available functions:
weather_report:
  description: Provides weather reports for a specific location and date.
  parameters:
    location: The geographical location for which the report is required.
    date: The date for which the report is required.
search_articles:
  description: Searches for articles using keywords and filters such as date range.
  parameters:
    search_terms: List of important keywords or phrases.
    alternatives: List of alternative keywords or phrases that are also relevant.
    date_range:
      begin: Start date for the search.
      end: End date for the search.
data_analysis:
  description: Performs data analysis on provided datasets.
  parameters:
    action: The type of analysis to be performed.
    dataset: The dataset to be analyzed.

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

System: A chat.


Instruction:
As an AI system, pick the best-suited function and parameters from the list of available functions below, based on the user's request. Format your response in JSON.

Input: I want to know the overall sentiment towards 'climate change' in my document set.

Available functions:
text_analysis:
  description: Analyze a body of text for key themes, sentiment, etc.
  params:
    theme: The main topic or subject matter we want to analyze.
    sentiment: Whether we want to perform sentiment analysis (true/false).
document_search:
  description: Search through a collection of documents using keywords and date ranges.
  parameters:
    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.
data_visualization:
  description: Generate visual representations of data.
  parameters:
    chart_type: Type of chart to generate (e.g., bar, pie, line, etc.)
    data_source: Source of the data to visualize.

Response:
{
  "function": "text_analysis",
  "params": {
    "theme": "climate change",
    "sentiment": true
  }
}

System: A chat.


Instruction:
You're an AI assistant. Based on the user input, pick the best function and its parameters from the list of available functions. Your response should be in JSON format.

Input: Summarize the following text: "Artificial intelligence (AI) refers to the simulation of human intelligence in machines..."

Available functions:
text_summarizer:
  description: Summarizes large amounts of text into concise summaries.
  parameters:
    text: The text to be summarized.
csv_analytics:
  description: Performs various operations 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: The specific value to filter.
      expression: The expression to filter.
pdf_reader:
  description: Useful for extracting text from PDF documents.
  params:
    file_path: The location of the PDF file.

Response:
{
  "function": "text_summarizer",
  "parameters": {
    "text": "Artificial intelligence (AI) refers to the simulation of human intelligence in machines..."
  }
}

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 input. Provide your response in JSON format.

Input: Find all articles about climate change published between 2010 and 2020.

Available functions:
- search_articles:
    description: This tool helps to find articles based on specific keywords or phrases within a certain date range.
    parameters:
      keywords: List of important words or phrases related to the topic.
      date_range:
        start_date: Start date for the search.
        end_date: End date for the search.
- data_visualization:
    description: This tool creates visual representations of data.
    parameters:
      type: Type of visualization (e.g., bar chart, pie chart).
      data: Data to be visualized.
- 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_articles",
  "parameters": {
    "keywords": ["climate change"],
    "date_range": {
      "start_date": "2010",
      "end_date": "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 articles related to global warming published between 2015 and 2020.

Available functions:
file_management:
  description: This tool is useful for managing files including uploading, downloading, deleting, renaming etc.
  params:
    action: The action we want to perform such as "upload", "download", "delete", "rename" etc.
    file_name: Name of the file we want to manage.
email_notification:
  description: Send email notifications with specified content to a list of recipients.
  params:
    recipient_list: List of email addresses that will receive the notification.
    subject: Subject line of the email.
    body: Body content of the email.
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": ["global warming"],
    "date_range": {
      "begin": "2015",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
You are an AI assistant tasked with selecting the appropriate function and parameters from the given list, based on the user's request. Please provide your answer in YAML format.

Input: Extract all tweets containing the hashtag '#AI' posted during the last week.

Available functions:
twitter_data_extraction:
  description: Enables extraction of Twitter data based on certain criteria.
  parameters:
    hashtag: Hashtag to be searched.
    date_range:
      start_date: Start date for the search period.
      end_date: End date for the search period.
content_analysis:
  description: Analyzes text content for specific keywords or phrases.
  params:
    keyword: Word or phrase to search within the text.
    count: Boolean value indicating if a count of occurrences is needed.
search:
  description: Converts the input query into search terms and filters to help locate information.
  parameters:
    search_terms: List of important keywords/phrases from the input.
    alternatives: List of alternative high-importance keywords/phrases that are variations of the actual input.

Response:
function: twitter_data_extraction
parameters:
  hashtag: "#AI"
  date_range:
    start_date: "last_week_start_date"
    end_date: "last_week_end_date"

System: A chat.


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

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

Available functions:
text_analysis:
  description: This tool is useful for extracting key phrases, entities, sentiment, etc. from a text.
  params:
    action: The type of analysis we want to perform on the text, such as "key_phrases", "entities", "sentiment".
file_search:
  description: Helps users locate files based on search terms and filters.
  parameters:
    search_terms: List of keywords and/or phrases that are important to the query.
    date_range:
      begin: Limit results to items with date greater than or equal to this value, if provided in query.
      end: Limit results to items with date less than or equal to this value, if provided in query.
image_processing:
  description: Allows manipulation and analysis of images.
  params:
    action: What we want to do with the image, like "resize", "rotate", "analyze".

Response:
{
  "function": "file_search",
  "parameters": {
    "search_terms": ["climate change"],
    "date_range": {
      "begin": "2016-01-01"
    }
  }
}

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: From the given CSV file, I want to know how many entries have 'New York' as their city.

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: "count"
  filters:
    column: "city"
    value: "New York"

System: A chat.


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

Input: Resize my photo to 800x600 pixels.

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.
image_processing:
  description: This tool is useful for performing various operations on images such as resizing, cropping, etc.
  params:
    action: The operation we want to perform on the image, such as "resize", "crop", etc.
    dimensions:
      width: Desired width of the image after processing.
      height: Desired height of the image after processing.

Response:
function: image_processing
params:
  action: resize
  dimensions:
    width: 800
    height: 600

System: A chat.


Instruction:
You are acting as an AI agent. Based on the given user input, choose the best function and its parameters from the list of available functions. Please provide your answer in YAML format.

Input: Generate a pie chart showing the distribution of my expenses categories from my financial spreadsheet.

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.
data_visualization:
  description: This tool assists in visualizing data through various types of charts and graphs.
  params:
    chart_type: The type of chart or graph we want to generate, such as "bar", "line", "pie", etc.
    data_source: The source of the data we want to visualize.
email_filter:
  description: This tool is useful for filtering emails based on certain criteria.
  params:
    filter_criteria: The conditions we want to apply to the email filter, such as "from_address", "subject_contains", etc.

Response:
function: data_visualization
params:
  chart_type: "pie"
  data_source: "financial_spreadsheet"

System: A chat.