Overview of tools in prompt flow
This page provides an overview of the tools that are available in prompt flow. It also offers instructions on how to create your own custom tool and how to install custom tools.
An index of tools
The following table shows an index of tools in prompt flow.
Tool (set) name | Description | Environment | Package name |
---|---|---|---|
Python | Runs Python code. | Default | promptflow-tools |
LLM | Uses OpenAI's large language model (LLM) for text completion or chat. | Default | promptflow-tools |
Prompt | Crafts a prompt by using Jinja as the templating language. | Default | promptflow-tools |
Embedding | Uses OpenAI's embedding model to create an embedding vector that represents the input text. | Default | promptflow-tools |
Open Model LLM | Enable the utilization of a variety of Open Model and Foundational Models, such as Falcon and Llama 2 from the Azure Model catalog. | Default | promptflow-tools |
Serp API | Uses Serp API to obtain search results from a specific search engine. | Default | promptflow-tools |
Content Safety (Text) | Uses Azure Content Safety to detect harmful content. | Default | promptflow-tools |
Azure OpenAI GPT-4 Turbo with Vision | Use AzureOpenAI GPT-4 Turbo with Vision model deployment to analyze images and provide textual responses to questions about them. | Default | promptflow-tools |
OpenAI GPT-4V | Use OpenAI GPT-4V to leverage vision ability. | Default | promptflow-tools |
Index Lookup*1 | Search an Azure Machine Learning Vector Index for relevant results using one or more text queries. | Default | promptflow-vectordb |
Azure AI Language tools* | This collection of tools is a wrapper for various Azure AI Language APIs, which can help effectively understand and analyze documents and conversations. The capabilities currently supported include: Abstractive Summarization, Extractive Summarization, Conversation Summarization, Entity Recognition, Key Phrase Extraction, Language Detection, PII Entity Recognition, Conversational PII, Sentiment Analysis, Conversational Language Understanding, Translator. You can learn how to use them by the Sample flows. | Custom | promptflow-azure-ai-language |
Rerank | Rerank documents based on the relevancy to a given query | Default | promptflow-vectordb |
1 The Index Lookup tool replaces the three deprecated legacy index tools: Vector Index Lookup, Vector DB Lookup, and Faiss Index Lookup. If you have a flow that contains one of those tools, follow the migration steps to upgrade your flow.
*The asterisk marks indicate custom tools, which are created by the community that extend prompt flow's capabilities for specific use cases. They aren't officially maintained or endorsed by prompt flow team. When you encounter questions or issues for these tools, prioritize using the support contact if it's provided in the description.
To discover more custom tools developed by the open-source community, see More custom tools.
Remarks
- If existing tools don't meet your requirements, you can develop your own custom tool and make a tool package.
- To install custom tools or add more tools to the custom environment, see Custom tool package creation and usage to start compute session. Then the tools can be displayed in the tool list.