Azure / Azure/azure-sdk-for-python

[FEATURE REQ] Strip analyzer output to bare minimum using a flag/parameter

Aperta
#47,145 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Cognitive - Content Understanding customer-reported needs-team-attention question
Lingua principale
Python
Stelle
5.6k
Fork
3.4k
Merge medio
2g
PR unite (30g)
217

Descrizione

## Problem
- Calling content understanding from a copilot studio agent is impossible since a single analysis would congest the context window of the agent.
- Reading the analysis output from a JSON is impossible since the output size is too big.

## Solution
Adding a flag/parameter in the sdk so that we can create an MCP Server that has the possibility of stripping the analyzer output to the bare minimum so have a much smaller waste of tokens inside the context window for copilot studio.

## Additional Context
By bare minimum I mean just the result of the analysis so:
{
"key":"value",
"key":"value",
"key":"value"
}
and also keep the consumed token for the analysis.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia individuando il punto di ingresso dell’analizzatore nel Python SDK e verificando come vengono assemblati il risultato dell’analisi e il valore dei token consumati. Definisci il comportamento del flag o del parametro in base all’esempio dell’issue, quindi verifica che l’output abilitato contenga solo i risultati dell’analisi in formato chiave-valore più i token consumati, mentre l’output esistente rimanga invariato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
api
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.