Skip to content

Tools#86

Merged
Zochory merged 4 commits into
mainfrom
tools
Feb 18, 2025
Merged

Tools#86
Zochory merged 4 commits into
mainfrom
tools

Conversation

@Zochory
Copy link
Copy Markdown
Member

@Zochory Zochory commented Feb 17, 2025

This pull request introduces several new tools and makes some updates to existing files in the agentic_fleet project. The most important changes include adding new tools for Bing search, calculator, fetching webpages, generating images, and generating PDFs. Additionally, there are dependency updates and reorganization of imports in the __init__.py files.

New Tools Added:

  • Bing Search Tool:

    • Implemented a new tool for performing Bing searches using the Bing Web Search API. This tool supports web, news, image, and video searches. (src/agentic_fleet/tools/bing_search.py)
  • Calculator Tool:

    • Added a simple calculator tool that performs basic arithmetic operations such as addition, subtraction, multiplication, and division. (src/agentic_fleet/tools/calculator.py)
  • Fetch Webpage Tool:

    • Created a tool to fetch a webpage and convert its content to markdown format, with options to include images and limit the content length. (src/agentic_fleet/tools/fetch_webpage.py)
  • Generate Image Tool:

    • Developed a tool to generate images using OpenAI's DALL-E model based on text descriptions. The tool allows specifying the size of the generated image and the output directory. (src/agentic_fleet/tools/generate_image.py)
  • Generate PDF Tool:

    • Introduced a tool to generate PDF reports with formatted sections containing text and images. The tool supports adding titles, headings, and images with rounded corners. (src/agentic_fleet/tools/generate_pdf.py)

Dependency Updates:

  • Dependency Addition:
    • Added html2text to the dependencies list in pyproject.toml to support converting HTML content to markdown. (pyproject.toml)

Code Reorganization:

  • Reorganized Imports:

    • Reorganized imports in the __init__.py file to group related imports together and ensure consistency. (src/agentic_fleet/__init__.py)
  • Initialization of Tools:

    • Added initialization of new tools in the __init__.py file for the tools module to ensure they are accessible when the module is imported. (src/agentic_fleet/tools/__init__.py)

@Zochory Zochory added the enhancement New feature or request label Feb 17, 2025
@Zochory Zochory self-assigned this Feb 17, 2025
Comment thread src/agentic_fleet/tools/generate_pdf.py
Comment thread src/agentic_fleet/tools/generate_pdf.py
Comment thread src/agentic_fleet/tools/generate_pdf.py Outdated
Co-authored-by: datadog-qredence[bot] <196866967+datadog-qredence[bot]@users.noreply.github.com>
Signed-off-by: Zachary BENSALEM <zachary@qredence.ai>
@Zochory Zochory merged commit 60f88f8 into main Feb 18, 2025
@Zochory Zochory deleted the tools branch February 26, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant