
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
promptflow-azure-ai-language-custom-text-classification
Advanced tools
Use Azure AI Language to generate abstractive summaries of documents.
Based on promptflow-azure-ai-language
Name | Description |
---|---|
Custom Text Classification | Use Azure AI Language to generate abstractive summaries of documents |
PyPI package: promptflow-azure-ai-language.
Prepare runtime
.pip install promptflow-azure-ai-language
You may also want to install the Prompt flow for VS Code extension.
The tool calls APIs from Azure AI Language. To use it, you must create a connection to an Azure AI Language resource. Create a Language Resource first, if necessary.
CustomConnection
.
secrets
field, specify the resource's API key: api_key: <Azure AI Language Resource api key>
configs
field, specify the resource's endpoint: endpoint: <Azure AI Language Resource endpoint>
When a tool parameter is of type Document
, it requires a dict
object of this specification.
Example:
my_document = {
"id": "1",
"text": "This is some document text!",
"language": "en"
}
Name | Type | Description | Required |
---|---|---|---|
connection | CustomConnection | The created connection to an Azure AI Language resource. | Yes |
document | Document | The input document. | Yes |
project_name | string | The project to be called. | Yes |
deployment_name | string | The project deployment to be called. | Yes |
max_retries | int | The maximum number of HTTP request retries. Default value is 5. | No |
max_wait | int | The maximum wait time (in seconds) in-between HTTP requests. Default value is 60. | No |
parse_response | bool | Should the full API JSON output be parsed to extract the single task result. Default value is False. | No |
FAQs
Use Azure AI Language to generate abstractive summaries of documents.
We found that promptflow-azure-ai-language-custom-text-classification demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.