Skip to content

Commit

Permalink
fix out-of-date reference to RetrievalTool — GettingStarted.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marcdownie authored Feb 20, 2025
1 parent f70d2f9 commit a193bf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ Modifies an assistant.
val assistant = openAI.assistant(
id = AssistantId("asst_abc123"), request = AssistantRequest(
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.",
tools = listOf(AssistantTool.RetrievalTool),
tools = listOf(AssistantTool.FileSearch),
model = ModelId("gpt-4"),
fileIds = listOf(FileId("file-abc123"), FileId("file-abc123")),
)
Expand Down Expand Up @@ -902,4 +902,4 @@ when(assistantStreamEvent.type) {
...
}
}
```
```

0 comments on commit a193bf1

Please sign in to comment.