Oven logo

Oven

Published

Prompt flow built-in tools

pip install promptflow-tools

Package Downloads

Weekly DownloadsMonthly Downloads

Requires Python

<4.0,>=3.8

Prompt flow tools

Python package License: MIT

Introduction

Tools are the fundamental building blocks of a flow in Azure Machine Learning prompt flow. Each tool is a simple, executable unit with a specific function, allowing users to perform various tasks. By combining different tools, users can create a flow that accomplishes a wide range of goals. One of the key benefit of prompt flow tools is their seamless integration with third-party APIs and python open source packages. This not only improves the functionality of large language models but also makes the development process more efficient.

In this package, we provide a set of builtin tools of prompt flow, which are the most commonly used tools in the development of AI applications. We also provide a flexible way for users to create their own tools and share them with others. See Create and Use Tool Package for more details.

Release History

1.4.0 (2024.03.26)

Features Added

  • Enable token based auth in azure openai connection for tools.
  • Add "seed" to LLM and GPT-Vision tool inputs.

Improvements

  • Improve error message when LLM tool meets gpt-4-vision-preview model.

Bugs Fixed

  • Set default values to workspace triad parameters of dynamic list function to avoid misleading errors when clicking tool input.

1.3.0 (2024.03.01)

Improvements

  • Disable openai built-in retry mechanism for better debuggability and real-time status updates.
  • Refine the retry-after interval for openai retry error.

1.2.0 (2024.02.07)

Features Added

  • Support tool "Azure OpenAI GPT-4 Turbo with Vision" to auto list "deployment_name".

Improvements

  • Match the promptflow-tools setup to promptflow setup.

1.1.0 (2024.01.23)

Features Added

  • Use ruamel.yaml instead of pyyaml in promptflow.

1.0.3 (2024.01.08)

Features Added

  • Add new tool "Azure OpenAI GPT-4 Turbo with Vision".
  • Support "response_format" for azure openai chat api in LLM tool.

1.0.1 (2023.12.13)

Features Added

  • Support "response_format" for openai chat api in LLM tool.
  • Add "allow_manual_entry" for embedding tool.

Improvements

  • Handle all OpenSource\HuggingFace Models with the same MIR request format in 'Open Model LLM' tool.

1.0.0 (2023.11.30)

Features Added

  • Support openai 1.x in promptflow-tools.
  • Add new tool "OpenAI GPT-4V".