ChatGPT-Java-API
2.0.2-SNAPSHOT
jvm
ChatGPT-Java-API
/
com.cjcrafter.openai.chat
/
ChatRequest
/
Builder
/
useFunctionTool
use
Function
Tool
fun
useFunctionTool
(
name
:
String
)
:
ChatRequest.Builder
Forces ChatGPT to call the specified function.