Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ public class ChatObservationProperties {
public static final String CONFIG_PREFIX = "spring.ai.chat.observations";

/**
* Whether to include the completion content in the observations.
* Whether to log the completion content in the observations.
*/
private boolean includeCompletion = false;
private boolean logCompletion = false;

/**
* Whether to log the prompt content in the observations.
Expand All @@ -45,12 +45,12 @@ public class ChatObservationProperties {
*/
private boolean includeErrorLogging = false;

public boolean isIncludeCompletion() {
return this.includeCompletion;
public boolean isLogCompletion() {
return this.logCompletion;
}

public void setIncludeCompletion(boolean includeCompletion) {
this.includeCompletion = includeCompletion;
public void setLogCompletion(boolean logCompletion) {
this.logCompletion = logCompletion;
}

public boolean isLogPrompt() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ public class VectorStoreObservationProperties {
public static final String CONFIG_PREFIX = "spring.ai.vectorstore.observations";

/**
* Whether to include the search response content in the observations.
* Whether to log the search response content in the observations.
*/
private boolean includeQueryResponse = false;
private boolean logQueryResponse = false;

public boolean isIncludeQueryResponse() {
return this.includeQueryResponse;
public boolean isLogQueryResponse() {
return this.logQueryResponse;
}

public void setIncludeQueryResponse(boolean includeQueryResponse) {
this.includeQueryResponse = includeQueryResponse;
public void setLogQueryResponse(boolean logQueryResponse) {
this.logQueryResponse = logQueryResponse;
}

}