spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

Improve ChatGenerationMetadata ability to handle arbitrary data returned from the generation.

Open markpollack opened this issue 1 year ago • 2 comments
trafficstars

There are several objects that should be returned as metadata, but the current implementation was developed a long time ago and only handled the metadata that was returned from making Azure OpenAI calls. A hashmap at least should be added, but also a comparison of various model APIs should be done to look for common properties that are returned.

markpollack avatar Nov 11 '24 16:11 markpollack