Skip to content

Commit

Permalink
Beta tag on toolChoice with equals and hashcode
Browse files Browse the repository at this point in the history
  • Loading branch information
Roshin Rajan Panackal committed Feb 27, 2025
1 parent 263b1de commit b2d2ed2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
package com.sap.ai.sdk.foundationmodels.openai;

import com.google.common.annotations.Beta;
import com.sap.ai.sdk.foundationmodels.openai.generated.model.ChatCompletionNamedToolChoice;
import com.sap.ai.sdk.foundationmodels.openai.generated.model.ChatCompletionNamedToolChoiceFunction;
import com.sap.ai.sdk.foundationmodels.openai.generated.model.ChatCompletionToolChoiceOption;
import javax.annotation.Nonnull;
import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
import lombok.RequiredArgsConstructor;

/**
* OpenAi ToolChoice to specify whether to call which tool.
*
* @since 1.4.0
*/
@Beta
@EqualsAndHashCode
@RequiredArgsConstructor(access = AccessLevel.PROTECTED)
public class OpenAiToolChoice {
@Nonnull final ChatCompletionToolChoiceOption toolChoice;
Expand Down

0 comments on commit b2d2ed2

Please sign in to comment.