You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for retrieving File Search result content in Run Steps and other fixes (#294)
### Features added
- OpenAI.Assistants:
- Added a `Content` property to `RunStepFileSearchResult` ([`step_details.tool_calls.file_search.results.content` in the REST API](https://platform.openai.com/docs/api-reference/run-steps/step-object)).
- When using an Assistant with the File Search tool, you can use this property to retrieve the contents of the File Search results that were used by the model.
- Added `FileSearchRankingOptions` and `FileSearchResults` properties to `RunStepDetailsUpdate`.
### Breaking Changes in Preview APIs
- OpenAI.RealtimeConversation:
- Renamed the `From*()` factory methods on `ConversationContentPart` to `Create*Part()` for consistency.
- Removed an extraneous `toolCallId` parameter from `ConversationItem.CreateSystemMessage()`.
- OpenAI.Assistants:
- Renamed `RunStepType` to `RunStepKind`.
- Changed `RunStepKind` from an "extensible enum" to a regular enum.
- Renamed the `ToolCallId` property of `RunStepToolCall` to `Id`.
- Renamed the `ToolKind` property of `RunStepToolCall` to `Kind`.
- Replaced the `FileSearchRanker` and `FileSearchScoreThreshold` properties of `RunStepToolCall` with a new `FileSearchRankingOptions` property that contains both values to make it clearer how they are related.
### Bugs fixed
- OpenAI.RealtimeConversation:
- Fixed serialization issues with `ConversationItem` creation of system and assistant messages.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,31 @@
1
1
# Release History
2
2
3
+
## 2.1.0-beta.3 (Unreleased)
4
+
5
+
### Features added
6
+
7
+
- OpenAI.Assistants:
8
+
- Added a `Content` property to `RunStepFileSearchResult` ([`step_details.tool_calls.file_search.results.content` in the REST API](https://platform.openai.com/docs/api-reference/run-steps/step-object)). (commit_hash)
9
+
- When using an Assistant with the File Search tool, you can use this property to retrieve the contents of the File Search results that were used by the model.
10
+
- Added `FileSearchRankingOptions` and `FileSearchResults` properties to `RunStepDetailsUpdate`. (commit_hash)
11
+
12
+
### Breaking Changes in Preview APIs
13
+
14
+
- OpenAI.RealtimeConversation:
15
+
- Renamed the `From*()` factory methods on `ConversationContentPart` to `Create*Part()` for consistency. (commit_hash)
16
+
- Removed an extraneous `toolCallId` parameter from `ConversationItem.CreateSystemMessage()`. (commit_hash)
17
+
- OpenAI.Assistants:
18
+
- Renamed `RunStepType` to `RunStepKind`. (commit_hash)
19
+
- Changed `RunStepKind` from an "extensible enum" to a regular enum. (commit_hash)
20
+
- Renamed the `ToolCallId` property of `RunStepToolCall` to `Id`. (commit_hash)
21
+
- Renamed the `ToolKind` property of `RunStepToolCall` to `Kind`. (commit_hash)
22
+
- Replaced the `FileSearchRanker` and `FileSearchScoreThreshold` properties of `RunStepToolCall` with a new `FileSearchRankingOptions` property that contains both values to make it clearer how they are related. (commit_hash)
23
+
24
+
### Bugs fixed
25
+
26
+
- OpenAI.RealtimeConversation:
27
+
- Fixed serialization issues with `ConversationItem` creation of system and assistant messages. (commit_hash)
0 commit comments