Instruction:
As an AI assistant, choose the correct function and parameters from the list of available functions below, according to the user's request. Your response should be in JSON format.

Input: Find related terms for the keyword 'AI'.

Available functions:
keyword_analysis:
  description: Helps identify related keywords or phrases to a given term.
  parameters:
    keyword: The keyword or phrase 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.

Response:
{
  "function": "keyword_analysis",
  "parameters": {
    "keyword": "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 user input. Provide your response in JSON format.

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

Available functions:
get_articles:
  description: This tool helps fetch articles related to a specific topic.
  params:
    topic: The subject matter or theme of the articles.
    date_range:
      start: Fetch articles published after this date.
      end: Fetch articles published before this date.
data_visualization:
  description: This tool assists in visualizing data in various formats such as bar graphs, pie charts, etc.
  params:
    type: The type of visualization desired (e.g., "bar", "pie").
    data: The data to be visualized.
email_notification:
  description: Sends email notifications to users.
  params:
    recipient: Email address of the recipient.
    message: Content of the email.

Response:
{
  "function": "get_articles",
  "params": {
    "topic": "climate change",
    "date_range": {
      "start": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


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

Input: Convert my resume.pdf to .docx

Available functions:
file_uploader:
  description: Uploads files to a specified location.
  parameters:
    file_path: The path to the file to be uploaded.
    destination: The upload destination.
pdf_converter:
  description: Converts PDF files into different formats.
  parameters:
    file_path: The path to the PDF file.
    output_format: The desired output format.
email_sender:
  description: Sends emails with optional attachments.
  parameters:
    recipient: The email address of the recipient.
    subject: The subject line of the email.
    body: The main content of the email.
    attachment: The file to be attached to the email.

Response:
{
  "function": "pdf_converter",
  "parameters": {
    "file_path": "resume.pdf",
    "output_format": ".docx"
  }
}

System: A chat.


Instruction:
Acting as an intelligent agent, choose the appropriate function and its parameters from the following options based on the given user input. Provide your answer in YAML format.

Input: Analyze the sentiment of the sentence "I love using this product."

Available functions:
text_analysis:
  description: This tool can be used for text mining and analysis.
  params:
    action: The type of analysis we want to perform such as "sentiment", "topic", "keyword_extraction".
    filters:
      text: The specific text we want to analyze.
document_search:
  description: Help the user find relevant documents by converting the input query into a series of search terms and filters.
  parameters:
    search_terms: List of keywords and/or phrases that are important to the input.
    date_range:
      begin: Limit results to items with date greater than or equal to this value, if provided in input query.
      end: Limit results to items with date less than or equal to this value, if provided in input query.

Response:
function: text_analysis
params:
  action: "sentiment"
  filters:
    text: "I love using this product."

System: A chat.


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

Input: Analyze the provided spreadsheet and count how many times each product category appears.

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_notifier:
  description: This tool sends emails 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": "csv_analytics",
  "params": {
    "action": "grouped_count",
    "filters": {
      "column": "product_category"
    }
  }
}

System: A chat.


Instruction:
As an AI assistant, determine the most appropriate function and parameters from the following options based on the user's input. Your response should be formatted in JSON.

Input: Find me some alternative terms for the word 'happy'.

Available functions:
synonym_finder:
  description: This tool can find synonyms for a given word.
  params:
    word: The word for which you want to find synonyms.
search:
  description: Help the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases.  For example, acronyms, common alternate synonyms, etc.
  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": "synonym_finder",
  "params": {
    "word": "happy"
  }
}

System: A chat.


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

Input: Can you give me a summary report of sales data filtered by 'Electronics' category?

Available functions:
filter_data:
  description: Filter data based on certain criteria.
  parameters:
    column: Column to apply the filter on.
    value: Value to use as filter.
data_visualization:
  description: Visualize data in various forms like charts, graphs etc.
  parameters:
    chart_type: Type of chart to create.
    data_columns: Columns of data to include in the visualization.
generate_report:
  description: Generate a report based on the provided data.
  params:
    type: Type of report to generate (e.g., "summary", "detailed").
    filters:
      field: The field we want to filter on.
      value: Explicit value to filter on.

Response:
function: generate_report
params:
  type: "summary"
  filters:
    field: "category"
    value: "Electronics"

System: A chat.


Instruction:
As an artificial intelligence assistant, choose the best-suited function and its parameters from the provided list based on the given user input. Your answer should be formatted in YAML.

Input: Count the number of files with .txt extension.

Available functions:
image_processing:
  description: This tool can perform various actions on images like resizing, cropping, etc.
  params:
    action: The action to perform on the image, such as "resize", "crop", etc.
    dimensions:
      width: Width of the image after resizing.
      height: Height of the image after resizing.
file_analytics:
  description: Useful for performing various operations on files such as count, filter, etc.
  params:
    action: The action we want to perform on the file, such as "count", "filter", etc.
    filters:
      filename: Name of the file to be filtered.
      extension: File extension to be filtered.
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

Response:
function: file_analytics
params:
  action: "count"
  filters:
    extension: ".txt"

System: A chat.


Instruction:
As an AI agent, choose the best function and its parameters from the options listed below according to the user's request. Your response should be in JSON format.

Input: Find all documents related to artificial intelligence from 2005 onwards.

Available functions:
csv_analytics:
  description: Useful for various tasks like aggregation, counting, filtering in CSV data.
  params:
    action: Desired operation on the data ("count", "filter", "grouped_count").
    filters:
      column: Column to apply the filter on.
      value: Specific value to filter.
search:
  description: Assists users in finding information by turning their queries into pertinent search terms and filters.
  parameters:
    search_terms: Important keywords/phrases from the input.
    alternatives: Variants of the main keywords/phrases (like acronyms, synonyms).
  date_range:
    begin: If mentioned in the query, filters results to only include those after this date.
    end: If mentioned in the query, filters results to only include those before this date.

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

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

Input: I want to find all posts containing "AI" or "Artificial Intelligence" within the last month.

Available functions:
get_posts:
  description: Retrieves a list of posts based on provided filters.
  parameters:
    keywords: List of words to search for in the posts.
    date_range:
      start_date: Start date for the range of posts to retrieve.
      end_date: End date for the range of posts to retrieve.
email_alerts:
  description: Sends email alerts based on certain triggers.
  params:
    trigger: The event that will cause an alert to be sent.
    recipient_email: Email address where the alert should be sent.
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": "get_posts",
  "parameters": {
    "keywords": ["AI", "Artificial Intelligence"],
    "date_range": {
      "start_date": "one_month_ago",
      "end_date": "today"
    }
  }
}

System: A chat.


Instruction:
Acting as an AI agent, please choose the appropriate function and parameters from the given list based on the user's input. Provide your response in JSON format.

Input: Find any references to the term "climate change" in our document database.

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": "search",
  "parameters": {
    "search_terms": ["climate change"]
  }
}

System: A chat.


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

Input: I want to know the overall sentiment of my latest blog post.

Available functions:
blog_post_analytics:
  description: Provides insights about a blog post such as views, likes, comments, etc.
  params:
    url: The URL of the blog post.
    metrics: The specific metrics you want to retrieve.
text_analysis:
  description: Analyzes text data for sentiment, key topics, etc.
  params:
    action: What type of analysis to perform (e.g., 'sentiment', 'topic').
    text: The text to analyze.
website_scraper:
  description: Scrapes information from websites.
  params:
    url: The URL of the website to scrape.
    elements: The HTML elements to scrape.

Response:
function: text_analysis
params:
  action: sentiment
  text: {insert_blog_text_here}

System: A chat.


Instruction:
As an artificial intelligence assistant, choose the appropriate function and its parameters from the provided list according to the user input. Please provide your answer in YAML format.

Input: Extract the names and addresses of all employees who earn more than $50,000 annually from the provided CSV file.

Available functions:
1. employee_info_extractor:
   description: This function extracts specific information about employees from a CSV file.
   parameters:
     fields: A list of field names that need to be extracted.
     conditions:
       field: The field name where condition needs to be applied.
       operator: The comparison operator to use (e.g., '>', '<', '=', '!=').
       value: The value to compare against.
2. document_search:
   description: Helps users find documents by transforming their queries into a series of search terms and filters.
   parameters:
     search_terms: List of high-importance keywords/phrases from the user's query.
     alternatives: List of alternative high-importance keywords/phrases which are variations of the actual input keywords/phrases.

Response:
function: employee_info_extractor
parameters:
  fields: ["name", "address"]
  conditions:
    field: "annual_salary"
    operator: ">"
    value: 50000

System: A chat.


Instruction:
As an AI agent, choose the appropriate function and its parameters from the following list based on the user's input. Please provide your response in JSON format.

Input: Move my PDF document from Desktop to Documents folder.

Available functions:
file_management:
  description: Manages files including moving, copying, deleting etc.
  parameters:
    action: The operation to perform on the file (move, copy, delete).
    source_path: The current path of the file.
    destination_path: The desired path of the file.
email_sending:
  description: Sends emails with optional attachments.
  parameters:
    recipient: Email address of the recipient.
    subject: Subject line of the email.
    body: Main content of the email.
    attachment: File to attach with the email.
web_scraping:
  description: Extracts information from websites.
  parameters:
    url: The website URL to scrape.
    data_type: The type of data to extract (text, images, links).

Response:
{
  "function": "file_management",
  "parameters": {
    "action": "move",
    "source_path": "Desktop/PDF_document.pdf",
    "destination_path": "Documents/PDF_document.pdf"
  }
}

System: A chat.


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

Input: From the provided CSV, count how many times the value 'red' appears in the 'color' column.

Available functions:
document_search:
  description: Help the user find documents by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
  parameters:
    search_terms: List of keywords and/or phrases that are of high importance to the input.
    date_range:
      begin: Limit results to items with date greater than or equal to this value, if provided in input query.
      end: Limit results to items with date less than or equal to this value, if provided in input query.
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", "keyword_extraction", etc.
    filters:
      language: The language of the text.
      value: Explicit value to filter on.

Response:
{
  "function": "csv_analytics",
  "params": {
    "action": "count",
    "filters": {
      "column": "color",
      "value": "red"
    }
  }
}

System: A chat.


Instruction:
As an artificial intelligence assistant, please choose the correct function and parameters from the list of available functions based on the user's input. Deliver your response in JSON format.

Input: Find all emails from john.doe@example.com containing the word "invoice".

Available functions:
email_filter:
  description: Helps filter emails based on specific criteria provided by the user.
  params:
    sender: Filter emails based on the sender's email address.
    subject_keywords: Keywords to look for in the email subject.
    body_keywords: Keywords to look for in the email body.
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": "email_filter",
  "params": {
    "sender": "john.doe@example.com",
    "body_keywords": ["invoice"]
  }
}

System: A chat.


Instruction:
You're an AI assistant. Based on the user input, choose the most suitable function and its parameters from the list given below. Your answer should be formatted in YAML.

Input: Extract rows from the dataset where the 'status' column has the value 'pending'.

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

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 need to find all documents related to "Artificial Intelligence" between 2015 and 2020.

Available functions:
text_search:
  description: This tool helps users locate specific information within a large text corpus.
  parameters:
    keywords: List of important words or phrases to search for.
    date_range:
      start: Limit results to items with dates greater than or equal to this value.
      end: Limit results to items with dates less than or equal to this value.
document_classification:
  description: Classify documents into predefined categories.
  params:
    category: The category we want to classify the document into.
csv_analytics:
  description: 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": "text_search",
  "parameters": {
    "keywords": ["Artificial Intelligence"],
    "date_range": {
      "start": "2015",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
Acting as an AI assistant, select the best-suited function and parameters from the list of available functions according to the user input. Your response should be formatted in JSON.

Input: Analyze the sentiment of the following review - "I absolutely loved the food at this restaurant."

Available functions:
sentiment_analysis:
  description: Determines the sentiment expressed in a piece of text.
  parameters:
    text: Text whose sentiment needs to be analyzed.
    language: Language of the text.
keyword_extraction:
  description: Extracts important keywords from a piece of text.
  parameters:
    text: Text from which keywords need to be extracted.

Response:
{
  "function": "sentiment_analysis",
  "parameters": {
    "text": "I absolutely loved the food at this restaurant.",
    "language": "English"
  }
}

System: A chat.


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

Input: Filter out rows from the CSV where the 'status' column has the value '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.
- document_search:
    description: This tool is useful for finding specific documents by converting the input query into a series of search terms and filters.
    parameters:
      keywords: List of important words or phrases that are present in the input.
      date_range:
        start: Limit results to items with date greater than or equal to this value, if provided in input query.
        end: Limit results to items with date less than or equal to this value, if provided in input query.

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

System: A chat.


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

Input: Extract the row containing information about employee ID 12345 from the HR database.

Available functions:
employee_lookup:
  description: Locates specific employee details within the HR database.
  parameters:
    id: Employee ID to look up.
database_query:
  description: Runs a SQL-like query against a specified database.
  parameters:
    table: Name of the table to run the query against.
    conditions:
      field: Field name to apply the condition to.
      operator: Operator to use in the condition (e.g., "=", "<", ">").
      value: Value to compare the field against.
file_reader:
  description: Reads a file from a specified location.
  parameters:
    path: Path to the file to read.

Response:
function: database_query
parameters:
  table: "HR"
  conditions:
    field: "id"
    operator: "="
    value: "12345"

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 articles related to "climate change" published between 2010 and 2020.

Available functions:
pdf_reader:
  description: This tool is useful for extracting text data from PDF files.
  params:
    file_path: The path where the PDF file is located.
    page_number: Specific page number to extract text from.
article_search:
  description: Help the user find specific 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.
image_classifier:
  description: Classify images using machine learning models.
  params:
    image_path: Path to the image file.
    model_name: Name of the machine learning model to use for classification.

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

System: A chat.


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

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

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 from the user's query.
    date_range:
      start: Filters results to include only those with dates greater than or equal to this value.
      end: Filters results to include only those with dates less than or equal to this value.
data_extraction:
  description: Extracts specific data from given sources based on the provided criteria.
  params:
    source: The location of the data we want to extract.
    fields: The specific pieces of information we want to extract.

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

System: A chat.


Instruction:
You're acting as an agent with direction to choose the most suitable function from the list provided below based on the given user input. Please provide your answer in YAML format.

Input: Filter out all tweets containing the word 'politics'.

Available functions:
tweet_filter:
  description: Filters tweets based on specific words or phrases.
  params:
    keyword: Word or phrase to filter tweets.
text_analytics:
  description: Analyzes text data for insights.
  params:
    action: Action to perform on the text data ("analyze_sentiment", "extract_keywords", etc.)
    text: Text 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.

Response:
function: tweet_filter
params:
  keyword: "politics"

System: A chat.


Instruction:
Please choose an appropriate function and parameters from the following list based on the given user input. Your answer should be formatted in YAML.

Input: Extract the text content from the webpage at https://www.example.com

Available functions:
text_extractor:
  description: Extracts text from a given URL.
  params:
    url: The URL from which to extract text.
image_downloader:
  description: Downloads all images from a specified URL.
  params:
    url: The URL from which to download images.
pdf_converter:
  description: Converts a webpage into a PDF document.
  params:
    url: The URL of the webpage to convert into a PDF.

Response:
function: text_extractor
params:
  url: "https://www.example.com"

System: A chat.


Instruction:
As an AI assistant, select the appropriate function and parameters from the listed functions based on the user's request. Your response should be formatted in JSON.

Input: Find all occurrences of the word "climate change" in the provided PDF document.

Available functions:
- pdf_text_extraction:
    description: Extracts text from a PDF document for further processing.
    parameters:
      keyword: Word or phrase to look for in the document.
- image_recognition:
    description: Identifies objects and patterns in images.
    parameters:
      image: Image to analyze.
      object: Specific object or pattern to identify in the image.
- data_filtering:
    description: Filters data according to specific criteria.
    parameters:
      column: Column to filter on.
      value: Value to filter on.

Response:
{
  "function": "pdf_text_extraction",
  "parameters": {
    "keyword": "climate change"
  }
}

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: What is the current weather in New York?

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.
weather_forecast:
  description: Get weather forecast for a specific location.
  params:
    location: Location for which we want to get the weather forecast.

Response:
function: weather_forecast
params:
  location: "New York"

System: A chat.


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

Input: Filter my emails based on the sender 'john.doe@example.com'.

Available functions:
- data_aggregation:
    description: Aggregates data based on certain criteria.
    params:
      aggregation_type: Type of aggregation (e.g., "sum", "average", "count").
      column: Column to aggregate.
- email_filter:
    description: Filters emails based on specific criteria.
    params:
      filter_type: Type of filter (e.g., "sender", "subject", "date").
      filter_value: Value to filter by.
- keyword_search:
    description: Searches for information using specified keywords.
    parameters:
      keywords: Important words or phrases from the input.

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

System: A chat.


Instruction:
As an AI agent, please choose the appropriate function and parameters from the following options based on the user's request. Your response should be formatted in JSON.

Input: Analyze the provided CSV file and count how many times each product appears.

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: 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.

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

System: A chat.


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

Input: Convert a PDF document to Word format.

Available functions:
pdf_to_word:
  description: Converts a PDF document to Word format.
  params:
    file_path: Path to the PDF file.
image_resizing:
  description: Resizes an image to specified dimensions.
  params:
    width: New width of the image.
    height: New height of the image.
video_editing:
  description: Edits a video according to specified parameters.
  params:
    trim_start: Start time for trimming the video.
    trim_end: End time for trimming the video.

Response:
{
  "function": "pdf_to_word",
  "params": {
    "file_path": "/path/to/file.pdf"
  }
}

System: A chat.


Instruction:
As an AI agent, choose the correct function and its parameters from the following options according to the user's command. Respond in JSON format.

Input: Count how many times each product appears in the sales.csv 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.
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": "csv_analytics",
  "params": {
    "action": "grouped_count",
    "filters": {
      "column": "product"
    }
  }
}

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

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

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

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

System: A chat.


Instruction:
As an AI agent, choose the best function and parameters from the list of available functions below according to the user's command. Your answer should be given in YAML format.

Input: Can you tell me how many times the word "innovation" appears in my document?

Available functions:
- word_count:
    description: Count the frequency of a particular word in a document.
    params:
      word: The word whose frequency we want to count.
- text_summarization:
    description: Summarize the main points of a long piece of text.
    params:
      text: The text we want to summarize.
- language_detection:
    description: Detect the language used in a piece of text.
    params:
      text: The text whose language we want to detect.

Response:
function: word_count
params:
  word: "innovation"

System: A chat.


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

Input: Convert the PDF at '/home/user/documents/report.pdf' into a DOCX file.

Available functions:
pdf_converter:
  description: Converts PDF files into other formats.
  parameters:
    file_path: Path to the source PDF file.
    output_format: Desired output format (e.g., 'docx', 'txt').
weather_forecast:
  description: Provides weather forecast for a specified location and time period.
  parameters:
    location: The geographical location for which the weather forecast is required.
    time_period: The time period for which the weather forecast is required.
email_filter:
  description: Filters emails based on specific criteria.
  params:
    keyword: The keyword we want to filter the emails by.
    date_range:
      start_date: Limit results to items with date greater than or equal to this value.
      end_date: Limit results to items with date less than or equal to this value.

Response:
{
  "function": "pdf_converter",
  "parameters": {
    "file_path": "/home/user/documents/report.pdf",
    "output_format": "docx"
  }
}

System: A chat.


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

Input: Search for news articles related to COVID-19 published after January 1, 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": ["COVID-19"],
    "date_range": {
      "begin": "2020-01-01"
    }
  }
}

System: A chat.


Instruction:
You're acting as an intelligent agent. Choose the best function and its parameters from the list of available functions based on the following user input. Provide your answer in YAML format.

Input: Find the total number of entries where the product category is 'Electronics' in the given CSV file.

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

Response:
function: csv_analytics
params:
  action: "count"
  filters:
    column: "product_category"
    value: "Electronics"

System: A chat.


Instruction:
As an AI agent, choose the correct function and parameters from the following options based on the user's query. Your response should be in JSON format.

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

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": "search",
  "parameters": {
    "search_terms": ["climate change"],
    "date_range": {
      "begin": "2000-01-01",
      "end": "2020-12-31"
    }
  }
}

System: A chat.


Instruction:
You're an AI agent. 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: Visualize the sales data for product X in a bar chart.

Available functions:
image_processing:
  description: This tool processes images using different techniques.
  parameters:
    action: The operation we want to perform on the image like "resize", "crop", "rotate", etc.
    dimensions:
      width: New width of the image after processing.
      height: New height of the image after processing.
data_visualization:
  description: This tool helps visualize data in various forms such as graphs, charts etc.
  params:
    type: The form in which we want to visualize the data like "bar", "line", "pie", etc.
    data_source: Source from where the data is coming.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.

Response:
function: data_visualization
params:
  type: "bar"
  data_source: "sales_data"
  filters:
    column: "product"
    value: "X"

System: A chat.


Instruction:
As an AI assistant, please pick 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: Extract all email addresses from the text document located at /user/documents/email_list.txt.

Available functions:
text_extractor:
  description: Extracts specific types of data from a text document.
  params:
    file_path: Path to the text document.
    data_type: Type of data to extract (email, phone number, etc.)
document_search:
  description: Searches for documents using keywords and date range.
  parameters:
    search_terms: List of keywords that are of high importance to the input.
    date_range:
      begin: Limit results to items with date greater than or equal to this value, if provided in input query.
      end: Limit results to items with date less than or equal to this value, if provided in input query.
file_reader:
  description: Reads a file from a specified path.
  params:
    file_path: Path to the file.
    file_type: Type of the file (txt, csv, json).

Response:
{
  "function": "text_extractor",
  "params": {
    "file_path": "/user/documents/email_list.txt",
    "data_type": "email"
  }
}

System: A chat.


Instruction:
As an AI assistant, pick the appropriate function and parameters from the following options based on the user's input. Provide your response in JSON format.

Input: Resize the image at /home/user/pictures/photo.jpg to 800x600 pixels.

Available functions:
image_processing:
  description: Processes images using various techniques.
  params:
    action: The type of processing to perform on the image (e.g., resize, crop, rotate).
    image_path: The path to the image file.
    dimensions: The new dimensions for the image, if resizing.
file_management:
  description: Manages files and directories.
  params:
    action: The action to perform (e.g., create, delete, move).
    target: The file or directory to act upon.
data_analysis:
  description: Analyzes data using statistical methods.
  params:
    dataset: The dataset to analyze.
    method: The statistical method to use (e.g., mean, median, mode).

Response:
{
  "function": "image_processing",
  "params": {
    "action": "resize",
    "image_path": "/home/user/pictures/photo.jpg",
    "dimensions": "800x600"
  }
}

System: A chat.


Instruction:
You are an AI assistant. Choose the best function and parameters from the list of available functions based on the user's input. Provide your response in JSON format.

Input: Convert my word document to pdf.

Available functions:
document_converter:
  description: Converts documents from one format to another.
  parameters:
    source_format: Format of the original document.
    target_format: Desired format of the converted document.
text_analyzer:
  description: Analyzes a text document for occurrences of certain words or phrases.
  parameters:
    word: Word or phrase to count.
    document: Document to analyze.
search_documents:
  description: Helps the user locate specific documents by converting the input query into a series of search terms and filters.
  parameters:
    keywords: List of important words or phrases from the input.
    date_range:
      start: Limit results to items with date greater than or equal to this value.
      end: Limit results to items with date less than or equal to this value.

Response:
{
  "function": "document_converter",
  "parameters": {
    "source_format": "word",
    "target_format": "pdf"
  }
}

System: A chat.


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

Input: From the provided CSV file, count how many entries have 'California' in the 'State' column.

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.
email_sender:
  description: This tool is useful for sending emails.
  params:
    recipient: The email address of the recipient.
    subject: The subject line of the email.
    body: The content of the email.

Response:
{
  "function": "csv_analytics",
  "params": {
    "action": "count",
    "filters": {
      "column": "State",
      "value": "California"
    }
  }
}

System: A chat.


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

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

Available functions:
file_search:
  description: This tool helps users locate files by converting their query into 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 files with dates greater than or equal to this value.
      end: Limit results to files with dates less than or equal to this value.
data_visualization:
  description: This tool is used for visualizing data in various formats such as charts, graphs, etc.
  params:
    type: The type of visualization we want to create (e.g., "bar", "line", "pie").
    data_source: The source of the data we want to visualize.
text_analytics:
  description: This tool is useful for analyzing text data, identifying patterns, extracting information, etc.
  params:
    action: The action we want to perform on the text data, such as "sentiment_analysis", "entity_extraction", etc.
    text_source: The source of the text we want to analyze.

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

System: A chat.


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

Input: I need to find all documents related to "AI research" between 2015 and 2020.

Available functions:
file_search:
  description: This tool helps users locate files by converting the input query into a series of search terms and filters.
  parameters:
    keywords: List of high importance keywords or phrases from the input.
    date_range:
      start: Limit results to items with dates greater than or equal to this value if provided in the input query.
      end: Limit results to items with dates less than or equal to this value if provided in the input query.
data_extraction:
  description: Extracts specific data from a database based on the specified criteria.
  params:
    table_name: The name of the table where the data will be extracted.
    columns: A list of column names to extract.
    conditions: Conditions that must be met for the data to be extracted.

Response:
{
  "function": "file_search",
  "parameters": {
    "keywords": ["AI research"],
    "date_range": {
      "start": "2015",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
As an AI assistant, select the appropriate function and parameters from the list of available functions according to the user's request. Your response should be in JSON format.

Input: What is the sentiment behind the following statement? "I absolutely love using this product!"

Available functions:
sentiment_analysis:
  description: Determines whether the input text is positive, negative, or neutral.
  parameters:
    text: The text whose sentiment is to be analyzed.
text_to_speech:
  description: Converts text into spoken audio.
  parameters:
    text: The text to convert into speech.
speech_to_text:
  description: Transcribes spoken words into written text.
  parameters:
    audio_file: The audio file to transcribe.

Response:
{
  "function": "sentiment_analysis",
  "parameters": {
    "text": "I absolutely love using this product!"
  }
}

System: A chat.


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

Input: From the given spreadsheet, calculate the average sales for each product category.

Available functions:
spreadsheet_analytics:
  description: Useful for performing various calculations and analyses on spreadsheet data.
  params:
    operation: The calculation we want to perform, such as "average", "sum", "max", etc.
    column: The column we want to operate on.
csv_analytics:
  description: 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": "spreadsheet_analytics",
  "params": {
    "operation": "average",
    "column": "product_category"
  }
}

System: A chat.


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

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

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

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

System: A chat.


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

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

Available functions:
weather_forecast:
  description: This tool provides weather forecasts for a specified location.
  params:
    location: The city or region for which the forecast is needed.
    date_range:
      start: Start date for the forecast period.
      end: End date for the forecast period.
search_articles:
  description: This function helps users find articles by converting their query into search terms and filters.
  parameters:
    keywords: List of important words/phrases from the input.
    date_range:
      begin: Limits results to items with dates greater than or equal to this value.
      end: Limits results to items with dates less than or equal to this value.
music_recommendation:
  description: Recommends music based on user preferences.
  parameters:
    genre: The type of music the user prefers.
    mood: The mood the user is currently in.

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

System: A chat.


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

Input: I want to know how many times 'COVID-19' was mentioned in news articles published between 1st January 2020 and 31st December 2020.

Available functions:
content_analysis:
  description: This tool helps analyze text content for specific keywords or phrases.
  params:
    keyword: The word or phrase we want to search within the text.
    count: Boolean value indicating whether a count of occurrences is required.
news_search:
  description: Helps find news articles based on certain criteria.
  parameters:
    query: Keywords or phrases to search for in the news articles.
    date_range:
      start_date: Limit results to items with date greater than or equal to this value.
      end_date: Limit results to items with date less than or equal to this value.
csv_analytics:
  description: 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": "news_search",
  "parameters": {
    "query": "COVID-19",
    "date_range": {
      "start_date": "2020-01-01",
      "end_date": "2020-12-31"
    }
  }
}

System: A chat.


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

Input: Filter out emails containing the word 'promotion' received after January 1, 2022.

Available functions:
csv_analytics:
  description: Useful for performing various aggregations, counts, etc. from CSV data.
  params:
    action: Action to perform on the data such as "count", "filter", "grouped_count".
    filters:
      column: Column to filter on.
      value: Explicit value to filter on.
email_filter:
  description: Helps filter emails based on specific keywords or phrases.
  params:
    keyword: Keyword to look for in the email content.
    date_range:
      start_date: Start date for filtering emails.
      end_date: End date for filtering emails.

Response:
function: email_filter
params:
  keyword: 'promotion'
  date_range:
    start_date: '2022-01-01'

System: A chat.


Instruction:
You're acting as an AI assistant. Based on the provided user input, choose the most suitable function and its parameters from the given list. Deliver your answer in YAML format.

Input: Identify the objects present in the image located at /user/images/image1.jpg

Available functions:
csv_analytics:
  description: Performs various operations like count, filter etc. on CSV data.
  params:
    action: Action to perform on the data like "count", "filter" etc.
    filters:
      column: Column to filter on.
      value: Value to filter on.
image_classification:
  description: Uses machine learning models to classify images.
  parameters:
    image_path: Path to the image that needs to be classified.
weather_forecast:
  description: Provides weather forecast for a specified location.
  parameters:
    location: Location for which weather forecast is required.

Response:
function: image_classification
parameters:
  image_path: "/user/images/image1.jpg"

System: A chat.


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

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

Available functions:
sort_by_date:
  description: Sorts search results by date.
  parameters:
    order: The order in which to sort the dates (e.g., ascending or descending).
web_search:
  description: Conducts a web search for the specified terms.
  parameters:
    query: The search terms.
    time_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": "web_search",
  "parameters": {
    "query": "climate change",
    "time_range": {
      "start": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
As an AI assistant, choose the best-suited function and its parameters from the given list according to the user's request. Your answer should be formatted in YAML.

Input: Extract key phrases from the following paragraph: "Artificial intelligence is transforming industries by automating tasks that were previously performed by humans."

Available functions:
text_extraction:
  description: Extracts key information from a block of text.
  params:
    text: The text to extract information from.
image_processing:
  description: Processes images to enhance quality, detect objects, etc.
  params:
    image: Image to process.
    processing_type: Type of processing to apply (e.g., "enhance", "object_detection").
database_query:
  description: Queries a database based on user-defined criteria.
  params:
    query: SQL-like query string.

Response:
function: text_extraction
params:
  text: "Artificial intelligence is transforming industries by automating tasks that were previously performed by humans."

System: A chat.


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

Input: From the supplied CSV file, filter rows containing 'error' in the status column.

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.
weather_forecast:
  description: This tool provides weather forecasts for a specified location.
  params:
    location: The city or country where you want to know the weather forecast.

Response:
{
  "function": "csv_analytics",
  "params": {
    "action": "filter",
    "filters": {
      "column": "status",
      "value": "error"
    }
  }
}

System: A chat.


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

Input: I need to find all the documents that contain "climate change" or "global warming" between 2010 and 2020.

Available functions:
email_notifications:
  description: This function allows users to send email notifications.
  parameters:
    recipient: The email address of the recipient.
    subject: The subject line for the email.
    body: The main content of the email.
document_search:
  description: This function helps users search for specific documents using keywords and date ranges.
  parameters:
    keywords: List of important words or phrases from the input.
    alternatives: List of alternative words or phrases related to the input.
    date_range:
      start: Limit results to documents with a date greater than or equal to this value.
      end: Limit results to documents with a date less than or equal to this value.
image_processing:
  description: This function processes images based on specified parameters.
  parameters:
    action: What you want to do with the image (e.g., resize, crop).
    dimensions: The desired dimensions for the image after processing.

Response:
{
  "function": "document_search",
  "parameters": {
    "keywords": ["climate change", "global warming"],
    "date_range": {
      "start": "2010",
      "end": "2020"
    }
  }
}

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

Input: I need to find all documents related to "AI Ethics" published between 2015 and 2020.

Available functions:
text_analysis:
  description: This tool helps analyze text data for specific keywords or phrases.
  params:
    action: The operation we want to perform such as "analyze", "summarize", etc.
    filters:
      keyword: The word or phrase we want to search within the text.
      sentiment: Sentiment value to filter on if required.
document_search:
  description: Helps users locate specific documents using various 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 a date greater than or equal to this value, if provided in the input query.
      end: Limit results to items with a date less than or equal to this value, if provided in the input query.

Response:
{
  "function": "document_search",
  "parameters": {
    "search_terms": ["AI Ethics"],
    "date_range": {
      "begin": "2015",
      "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 need to find all documents related to "AI ethics" published between 2015 and 2020.

Available functions:
email_notification:
  description: Send an email notification with a specific message.
  parameters:
    recipient: The email address of the recipient.
    subject: The subject line for the email.
    body: The main content of the email.
document_search:
  description: Search through a collection of documents using specified search terms and date range.
  parameters:
    search_terms: List of keywords and/or phrases that are important to the input.
    alternatives: List of alternative keywords/phrases that may be variations of the actual input keywords/phrases.
    date_range:
      begin: Limit results to items with dates greater than or equal to this value.
      end: Limit results to items with dates less than or equal to this value.
data_visualization:
  description: Create visual representations of data.
  parameters:
    type: Type of visualization (e.g., bar chart, pie chart).
    data: Data to visualize.

Response:
{
  "function": "document_search",
  "parameters": {
    "search_terms": ["AI ethics"],
    "alternatives": [],
    "date_range": {
      "begin": "2015",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
Please pick the appropriate function and parameters from the following options, based on the user's question. Your answer should be presented in JSON format.

Input: Find me documents containing the term "climate change".

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": ["climate change"]
  }
}

System: A chat.


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

Input: Send an email notification to john@example.com about our upcoming webinar.

Available functions:
data_analysis:
  description: Perform various data analysis tasks such as aggregations, counts, etc.
  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 line of the email.
    body: The main content of the email.

Response:
function: email_notification
params:
  recipient: "john@example.com"
  subject: "Upcoming Webinar"
  body: "We would like to invite you to our upcoming webinar."

System: A chat.


Instruction:
As an AI assistant, determine the appropriate function and parameters from the following options based on the user's command. Your response should be formatted in JSON.

Input: Filter out rows where the age is above 50 from the provided dataset.

Available functions:
csv_analytics:
  description: This tool is useful in performing various aggregations, counts, etc. from CSV data.
  params:
    action: The action we want to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column we want to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.
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": "csv_analytics",
  "params": {
    "action": "filter",
    "filters": {
      "column": "age",
      "expression": ">50"
    }
  }
}

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

Input: I need to find all documents related to 'climate change' between 2010 and 2020.

Available functions:
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.
document_search:
  description: Helps users find documents by converting their queries into search terms and filters.
  parameters:
    keywords: List of important keywords or phrases from the user's input.
    date_range:
      start: Limit results to documents with dates greater than or equal to this value.
      end: Limit results to documents with dates less than or equal to this value.
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.

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

System: A chat.


Instruction:
As an artificial intelligence agent, choose the appropriate function and parameters from the options below based on the user's request. Please provide your response in JSON format.

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

Available functions:
image_processing:
  description: This tool helps with various image processing tasks.
  params:
    action: The specific task we want to perform on the image such as "crop", "resize", "rotate", etc.
    dimensions:
      width: Desired width for the output image.
      height: Desired height for the output image.
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 artificial intelligence assistant, you need to choose the appropriate function and parameters from the following list based on the user's input. Provide your response in JSON format.

Input: I want to know the weather forecast for New York City tomorrow.

Available functions:
weather_forecast:
  description: Provides weather forecasts for specified locations and dates.
  parameters:
    location: Location for which to provide the weather forecast.
    date: Date for which to provide the weather forecast.
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": "weather_forecast",
  "parameters": {
    "location": "New York City",
    "date": "tomorrow"
  }
}

System: A chat.


Instruction:
You're acting as an AI agent. Please choose the most suitable function and its parameters from the following options based on the given user input. Present your answer in YAML format.

Input: From the supplied CSV file, count how many times each product category appears.

Available functions:
search:
  description: Helps users locate information by transforming their query into a set of search terms and filters.
  parameters:
    search_terms: A list of important keywords and/or phrases from the input.
    alternatives: A list of alternative keywords and/or phrases that are also significant to the input, like acronyms or common synonyms.
  date_range:
    begin: Restricts results to those dated on or after this value, if specified in the input query.
    end: Restricts results to those dated on or before this value, if specified in the input query.
csv_analytics:
  description: Useful for executing different types of aggregation, counting, etc., on CSV data.
  params:
    action: The operation we wish to execute on the data (e.g., "count", "filter", "grouped_count").
    filters:
      column: The column to be filtered.
      value: The explicit value for filtering.
      expression: The expression value for filtering.

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

System: A chat.


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

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

Available functions:
email_filter:
  description: Filters emails based on specified criteria.
  params:
    sender: The email address of the sender.
    subject_keywords: List of keywords that might be in the subject line.
    body_keywords: List of keywords that might be in the body of the email.
document_search:
  description: Helps users locate specific documents by converting their query into a series of search terms and filters.
  parameters:
    search_terms: List of important keywords or phrases from the input.
    date_range:
      begin: Limits results to items with dates greater than or equal to this value, if provided in the input query.
      end: Limits results to items with dates less than or equal to this value, if provided in the input query.
csv_analytics:
  description: This tool is useful for performing various aggregations, counts, etc. from CSV data.
  params:
    action: The desired action to perform on the data, such as "count", "filter", "grouped_count", etc.
    filters:
      column: The column to filter on.
      value: Explicit value to filter on.
      expression: Expression value to filter on.

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

System: A chat.


Instruction:
As an AI assistant, pick the best-suited function and its parameters from the following options based on the user's instruction. Your response should be formatted in JSON.

Input: Filter out rows where the salary is above $50000 from the employee.csv 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.
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": "salary",
      "expression": "<=50000"
    }
  }
}

System: A chat.


Instruction:
As an AI assistant, you are required to pick the right function and parameters from the given list based on the user query. Provide your answer in JSON format.

Input: I want to know the popularity of the hashtag #AI over the last month.

Available functions:
analyze_hashtag:
  description: Analyzes the popularity of a specific hashtag over a certain period.
  parameters:
    hashtag: Hashtag to analyze.
    duration: Duration for which to analyze the hashtag.
fetch_tweets:
  description: Fetches tweets containing a specific keyword or hashtag.
  parameters:
    keyword: Keyword or hashtag to search for.
    count: Number of tweets to fetch.
generate_graph:
  description: Generates a graph based on provided data.
  parameters:
    data: Data to use for the graph.
    graph_type: Type of graph to generate (e.g., bar, line).

Response:
{
  "function": "analyze_hashtag",
  "parameters": {
    "hashtag": "#AI",
    "duration": "1 month"
  }
}

System: A chat.


Instruction:
As an AI assistant, pick the right function and parameters from the following list based on the user's query. Your response should be in JSON format.

Input: Extract the main content from the webpage at 'www.example.com'.

Available functions:
web_scraper:
  description: Extracts data from web pages.
  parameters:
    url: The URL of the webpage to scrape.
    element: The HTML element to extract data from.
file_converter:
  description: Converts one type of file into another.
  parameters:
    source_file: The file to convert.
    destination_format: The format to convert the file into.
text_summarizer:
  description: Summarizes large blocks of text.
  parameters:
    text: The text to summarize.
    summary_length: The desired length of the summary.

Response:
{
  "function": "web_scraper",
  "parameters": {
    "url": "www.example.com",
    "element": "main_content"
  }
}

System: A chat.


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

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

Available functions:
- filter_content:
    description: This tool helps to narrow down content based on specific criteria.
    parameters:
      category: The type of content we want to filter (e.g., "articles", "videos").
      topic: The subject matter of the content.
      date_range:
        start: Limit results to items with a publication date greater than or equal to this value.
        end: Limit results to items with a publication date less than or equal to this value.
- generate_report:
    description: Generate a report based on data analysis.
    params:
      data_source: The source of the data for the report.
      report_type: The type of report to be generated (e.g., "summary", "detailed").
- 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": "2015",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
Acting as an AI agent, choose the best-suited function and its parameters from the list below according to the user's request. Your answer should be formatted in YAML.

Input: Please provide a summary report of sales data from our database.

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.
- generate_report:
    description: Generate a report based on data analysis.
    params:
      data_source: The source of the data for the report.
      report_type: The type of report to be generated (e.g., "summary", "detailed").
- 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: generate_report
params:
  data_source: "database"
  report_type: "summary"

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

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

Available functions:
data_scraper:
  description: This tool is used for extracting data from websites.
  params:
    url: The URL of the website where we want to extract data from.
    data_type: Type of data we want to extract (e.g., text, images).
search_engine:
  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_engine",
  "parameters": {
    "search_terms": ["climate change"],
    "date_range": {
      "begin": "2010",
      "end": "2020"
    }
  }
}

System: A chat.


Instruction:
Based on the user's request, please select the most suitable function and parameters from the list of available functions. Format your response in JSON.

Input: Analyze the data and provide a count per category.

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: This tool is useful for sending email notifications.
  params:
    recipient: The email address of the recipient.
    subject: The subject line of the email.
    body: The main content of the email.

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

System: A chat.


Instruction:
As an agent, 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: Find all articles related to climate change published between 2010 and 2020.

Available functions:
- text_analysis:
    description: Analyzes a given text for sentiment, key phrases, entities, etc.
    params:
      text: The text to analyze.
      language: Language of the text.
- search:
    description: Helps the user find information by converting the input query into a series of search terms and filters that may help pinpoint the location of the information.
    parameters:
      search_terms: List of keywords and/or phrases that are of high importance to the input.
      alternatives: List of alternative keywords and/or phrases that are of high importance to the input, which are variations of the actual input keywords/phrases. For example, acronyms, common alternate synonyms, etc.
    date_range:
      begin: Limit results to items with date greater than or equal to this value, if provided in input query.
      end: Limit results to items with date less than or equal to this value, if provided in input query.
- data_visualization:
    description: Creates visualizations from given data.
    params:
      type: Type of visualization (e.g., bar chart, pie chart).
      data: Data to visualize.

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

System: A chat.


Instruction:
As an AI agent, please choose the best function and parameters from the provided list of available functions based on the user input. Your response should be formatted in YAML.

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

Available functions:
- csv_analytics:
    description: Useful for performing operations like aggregation, count, filtering etc. on CSV data.
    params:
      action: Desired operation on the data like "count", "filter", "grouped_count".
      filters:
        column: Column to apply filter on.
        value: Specific value to filter on.
        expression: Expression value to filter on.
- document_search:
    description: Helps in locating specific documents by transforming user query into search terms and filters.
    parameters:
      keywords: Important words or phrases from user's query.
      date_range:
        start: Limits result to documents with publication date greater or equal to this value.
        end: Limits result to documents with publication date lesser or equal to this value.

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

System: A chat.


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

Input: From the uploaded CSV file, count how many times each product was sold.

Available functions:
- search:
    description: Helps users find information by transforming their queries into search terms and filters.
    parameters:
      search_terms: Keywords or phrases of high importance to the input.
      alternatives: Alternative keywords or phrases that are important to the input, like acronyms or common synonyms.
    date_range:
      begin: Restricts results to items dated after this value, if provided.
      end: Restricts results to items dated before this value, if provided.
- csv_analytics:
    description: Useful for performing different operations on CSV data, like aggregation, counting, filtering, etc.
    params:
      action: The desired operation on the data, e.g., "count", "filter", "grouped_count".
      filters:
        column: The column to be filtered.
        value: The explicit value to filter.
        expression: The expression to filter.

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

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 JSON format.

Input: I need to find alternative words for 'happy'.

Available functions:
synonym_finder:
  description: This tool is used to find synonyms for a given word.
  params:
    word: The word for which to find synonyms.
sentiment_analysis:
  description: This tool is used to analyze the sentiment of a piece of text.
  params:
    text: The text to analyze.

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

System: A chat.


Instruction:
You are an AI agent. Select the best function and parameters from the list of available functions based on the user input. Your response should be in JSON format.

Input: Translate the attached document from French to English.

Available functions:
pdf_conversion:
  description: Converts PDF files into other formats.
  parameters:
    source_file: The file to convert.
    target_format: The format to convert the file into.
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.
image_enhancement:
  description: Enhances image quality using various techniques.
  parameters:
    image: The image to enhance.
    enhancement_type: The type of enhancement to apply (e.g., "sharpen", "brighten").

Response:
{
  "function": "document_translation",
  "parameters": {
    "source_language": "French",
    "target_language": "English"
  }
}

System: A chat.