Coding
PromptBeginner5 minmarkdown
Nano Banana Pro
Agent skill for nano-banana-pro
7
- Skill inputs
Sign in to like and favorite skills
Skill inputs
Skill outputs
Sample Definition:
{ "@odata.type": "#Microsoft.Skills.Custom.AmlSkill", "description": "A custom model that detects the language in a document.", "uri": "https://language-model.models.contoso.com/score", "context": "/document", "inputs": [ { "name": "text", "source": "/document/content" } ], "outputs": [ { "name": "detected_language_code" } ] }
{ "@odata.type": "#Microsoft.Skills.Custom.ChatCompletionSkill", "name": "Summarizer", "description": "Summarizes document content.", "context": "/document", "timeout": "PT30S", "inputs": [ { "name": "text", "source": "/document/content" }, { "name": "systemMessage", "source": "='You are a concise AI assistant.'" }, { "name": "userMessage", "source": "='Summarize the following text:'" } ], "outputs": [ { "name": "response" } ], "uri": "https://demo.openai.azure.com/openai/deployments/gpt-4o/chat/completions", "apiKey": "<api-key>", "commonModelParameters": { "temperature": 0.3 } }
{ "@odata.type": "#Microsoft.Skills.Custom.ChatCompletionSkill", "name": "Image Describer", "context": "/document/normalized_images/*", "inputs": [ { "name": "image", "source": "/document/normalized_images/*/data" }, { "name": "imageDetail", "source": "=high" }, { "name": "systemMessage", "source": "='You are a useful AI assistant.'" }, { "name": "userMessage", "source": "='Describe this image:'" } ], "outputs": [ { "name": "response" } ], "uri": "https://demo.openai.azure.com/openai/deployments/gpt-4o/chat/completions", "authIdentity": "11111111-2222-3333-4444-555555555555", "responseFormat": { "type": "text" } }
{ "@odata.type": "#Microsoft.Skills.Custom.ChatCompletionSkill", "name": "NumericalFactFinder", "context": "/document", "inputs": [ { "name": "systemMessage", "source": "='You are an AI assistant that helps people find information.'" }, { "name": "userMessage", "source": "='Find all the numerical data and put it in the specified fact format.'"}, { "name": "text", "source": "/document/content" } ], "outputs": [ { "name": "response" } ], "uri": "https://demo.openai.azure.com/openai/deployments/gpt-4o/chat/completions", "apiKey": "<api-key>", "responseFormat": { "type": "json_schema", "jsonSchemaProperties": { "name": "NumericalFactObj", "strict": true, "schema": { "type": "object", "properties": { "facts": { "type": "array", "items": { "type": "object", "properties": { "number": { "type": "number" }, "fact": { "type": "string" } }, "required": [ "number", "fact" ] } } }, "required": [ "facts" ], "additionalProperties": false } } } }
{ "@odata.type": "#Microsoft.Skills.Text.CustomEntityLookupSkill", "context": "/document", "inlineEntitiesDefinition": [ { "name" : "Bill Gates", "description" : "Microsoft founder." , "aliases" : [ { "text" : "William H. Gates", "caseSensitive" : false }, { "text" : "BillG", "caseSensitive" : true } ] }, { "name" : "Xbox One", "type": "Hardware", "subtype" : "Gaming Device", "id" : "4e36bf9d-5550-4396-8647-8e43d7564a76", "description" : "The Xbox One product" } ], "inputs": [ { "name": "text", "source": "/document/content" } ], "outputs": [ { "name": "entities", "targetName": "matchedEntities" } ] }
{ "@odata.type": "#Microsoft.Skills.Text.CustomEntityLookupSkill", "context": "/document", "entitiesDefinitionUri": "https://myblobhost.net/keyWordsConfig.csv", "inputs": [ { "name": "text", "source": "/document/content" } ], "outputs": [ { "name": "entities", "targetName": "matchedEntities" } ] }
The Custom Web API skill allows you to extend AI enrichment by calling out to a Web API endpoint providing custom operations.
Similar to built-in skills, a Custom Web API skill has inputs and outputs. Depending on the inputs, your Web API receives a JSON payload when the indexer runs, and outputs a JSON payload as a response, along with a success status code.
The response is expected to have the outputs specified by your custom skill. Any other response is considered an error and no enrichments are performed.
Sample Definition
{ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill", "description": "A custom skill that can identify positions of different phrases in the source text", "uri": "https://contoso.count-things.com", "batchSize": 4, "context": "/document", "inputs": [ { "name": "text", "source": "/document/content" }, { "name": "language", "source": "/document/languageCode" }, { "name": "phraseList", "source": "/document/keyphrases" } ], "outputs": [ { "name": "hitPositions" } ] }