Class OpenAiChatCompletionFunction
java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.model.OpenAiChatCompletionFunction
Deprecated.
OpenAI function signature.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDeprecated.booleanDeprecated.inthashCode()Deprecated.setDescription(String description) Deprecated.Description of the function.Deprecated.Name of the function to be called.setParameters(Map<String, Object> parameters) Deprecated.JSON Schema for the function input parameters.toString()Deprecated.
-
Constructor Details
-
OpenAiChatCompletionFunction
public OpenAiChatCompletionFunction()Deprecated.
-
-
Method Details
-
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated. -
setName
Deprecated.Name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.- Returns:
this.
-
setDescription
Deprecated.Description of the function.- Returns:
this.
-
setParameters
Deprecated.JSON Schema for the function input parameters.Note: As mentioned by OpenAI, it follows JSON Schema 7 (2020-12). Not all JSON Schema parameters in the specification are supported by OpenAI.
- Returns:
this.
-