Skip to content

DOC How to use Response Converters #409

@nina-msft

Description

@nina-msft

Describe the issue linked to the documentation

We need an example of how to use PromptResponseConverterConfiguration in practice.

Suggest a potential alternative/fix

This can be configured as part of a NormalizerRequest - so a good example might be to show how a response from a target could be converted to a specific format. i.e. If converting a prompt from English to a specific language, apply a response converter to convert the response back to English before returning it.

The GPTV Demo already uses NormalizerRequests for multi-modal scenarios, as an example of how this might be invoked. See unit test for an example of use.

This should probably be a new DOC page within doc/code/converters, and will need to use a simple orchestrator as an example because it is implemented within the Normalizer.

Metadata

Metadata

Labels

documentationImprovements or additions to documentationgood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions