Skip to content

ChatObservationProperties.class missing logCompletion field and corresponding setter method. #3151

Closed
@iAMSagar44

Description

@iAMSagar44

The ChatObservationProperties.class is missing the logCompletion field and its corresponding setter method.

As per the documentation, the following properties have changed in RC1 -

spring.ai.chat.observations.include-prompt → spring.ai.chat.observations.log-prompt
spring.ai.chat.observations.include-completion → spring.ai.chat.observations.log-completion

This is resulting in the following error -

"message": "'spring.ai.chat.observations.log-completion' is an unknown property. Did you mean 'spring.ai.chat.observations.log-prompt'?"

A similar error is noticed for the below property too, due to the missing field (logQueryResponse) in VectorStoreObservationProperties.class
spring.ai.vectorstore.observations.log-query-response

Spring AI version - 1.0.0-RC1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions