Skip to content

Commit c56a336

Browse files
authored
fix(docs): RetrievalTool — GettingStarted.md (#427)
1 parent e45f18d commit c56a336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/GettingStarted.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ Modifies an assistant.
569569
val assistant = openAI.assistant(
570570
id = AssistantId("asst_abc123"), request = AssistantRequest(
571571
instructions = "You are an HR bot, and you have access to files to answer employee questions about company policies. Always response with info from either of the files.",
572-
tools = listOf(AssistantTool.RetrievalTool),
572+
tools = listOf(AssistantTool.FileSearch),
573573
model = ModelId("gpt-4"),
574574
fileIds = listOf(FileId("file-abc123"), FileId("file-abc123")),
575575
)
@@ -902,4 +902,4 @@ when(assistantStreamEvent.type) {
902902
...
903903
}
904904
}
905-
```
905+
```

0 commit comments

Comments
 (0)