ragie_ruby_sdk 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +16 -5
- data/docs/CodeInterpreterOutput.md +28 -0
- data/docs/CodeInterpreterOutputLogs.md +20 -0
- data/docs/FileSearchOutput.md +26 -0
- data/docs/FileSearchResult.md +26 -0
- data/docs/FinalAnswerStepsInner.md +4 -0
- data/docs/QueryDetails.md +24 -0
- data/docs/Reasoning.md +1 -1
- data/docs/ReasoningOutput.md +28 -0
- data/docs/ReasoningSummary.md +20 -0
- data/docs/ReasoningText.md +20 -0
- data/docs/Response.md +4 -4
- data/docs/ResponseOutputInner.md +40 -0
- data/docs/{ResponseOutput.md → ResponseOutputMessage.md} +2 -2
- data/docs/SearchEffort.md +15 -0
- data/docs/SearchStep.md +1 -1
- data/docs/SearchStepWithQueryDetails.md +28 -0
- data/lib/ragie_ruby_sdk/models/code_interpreter_output.rb +389 -0
- data/lib/ragie_ruby_sdk/models/code_interpreter_output_logs.rb +283 -0
- data/lib/ragie_ruby_sdk/models/file_search_output.rb +368 -0
- data/lib/ragie_ruby_sdk/models/file_search_result.rb +348 -0
- data/lib/ragie_ruby_sdk/models/final_answer_steps_inner.rb +1 -0
- data/lib/ragie_ruby_sdk/models/query_details.rb +341 -0
- data/lib/ragie_ruby_sdk/models/reasoning.rb +1 -2
- data/lib/ragie_ruby_sdk/models/reasoning_output.rb +391 -0
- data/lib/ragie_ruby_sdk/models/reasoning_summary.rb +283 -0
- data/lib/ragie_ruby_sdk/models/reasoning_text.rb +283 -0
- data/lib/ragie_ruby_sdk/models/response.rb +4 -7
- data/lib/ragie_ruby_sdk/models/response_output_inner.rb +105 -0
- data/lib/ragie_ruby_sdk/models/{response_output.rb → response_output_message.rb} +3 -3
- data/lib/ragie_ruby_sdk/models/search_effort.rb +41 -0
- data/lib/ragie_ruby_sdk/models/search_step.rb +3 -3
- data/lib/ragie_ruby_sdk/models/search_step_with_query_details.rb +358 -0
- data/lib/ragie_ruby_sdk/version.rb +1 -1
- data/lib/ragie_ruby_sdk.rb +12 -1
- data/spec/models/code_interpreter_output_logs_spec.rb +46 -0
- data/spec/models/code_interpreter_output_spec.rb +74 -0
- data/spec/models/file_search_output_spec.rb +68 -0
- data/spec/models/file_search_result_spec.rb +60 -0
- data/spec/models/query_details_spec.rb +54 -0
- data/spec/models/reasoning_output_spec.rb +74 -0
- data/spec/models/reasoning_summary_spec.rb +46 -0
- data/spec/models/reasoning_text_spec.rb +46 -0
- data/spec/models/response_output_inner_spec.rb +21 -0
- data/spec/models/{response_output_spec.rb → response_output_message_spec.rb} +6 -6
- data/spec/models/search_effort_spec.rb +30 -0
- data/spec/models/search_step_spec.rb +1 -1
- data/spec/models/search_step_with_query_details_spec.rb +70 -0
- metadata +49 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dcb41b85be852cce3aa9b68ce3050546c0087cdb4b8b34b98b8241d2443ea619
|
|
4
|
+
data.tar.gz: 3eeaaa36171ba6bfdab19859c30f7979732b8eb1a6b32f545ffd15b032a18e3e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9eade4450a39a4c1488501b83c837366395126da728c597249010b43f1af48b23471c249774614781bc6a3b790c5cca681d8420927fbb17794117b80f013bd9
|
|
7
|
+
data.tar.gz: 51da453e45a230d632095ffeb4cd4007240c787cd3e09cbc8a6926f518c2f7093a54aad6224db500888e1ee7d28ef7482fe57e4ab16f8e00e09d79a3ff4c590a
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 1.0.0
|
|
10
|
-
- Package version: 1.0.
|
|
10
|
+
- Package version: 1.0.17
|
|
11
11
|
- Generator version: 7.17.0-SNAPSHOT
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build ragie_ruby_sdk.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./ragie_ruby_sdk-1.0.
|
|
27
|
+
gem install ./ragie_ruby_sdk-1.0.17.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./ragie_ruby_sdk-1.0.
|
|
30
|
+
(for development, run `gem install --dev ./ragie_ruby_sdk-1.0.17.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'ragie_ruby_sdk', '~> 1.0.
|
|
36
|
+
gem 'ragie_ruby_sdk', '~> 1.0.17'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -174,6 +174,8 @@ Class | Method | HTTP request | Description
|
|
|
174
174
|
- [RagieRubySdk::BodyUpdateDocumentFile](docs/BodyUpdateDocumentFile.md)
|
|
175
175
|
- [RagieRubySdk::BucketData](docs/BucketData.md)
|
|
176
176
|
- [RagieRubySdk::CodeInterpreterEvidence](docs/CodeInterpreterEvidence.md)
|
|
177
|
+
- [RagieRubySdk::CodeInterpreterOutput](docs/CodeInterpreterOutput.md)
|
|
178
|
+
- [RagieRubySdk::CodeInterpreterOutputLogs](docs/CodeInterpreterOutputLogs.md)
|
|
177
179
|
- [RagieRubySdk::CodeStep](docs/CodeStep.md)
|
|
178
180
|
- [RagieRubySdk::ConfluenceData](docs/ConfluenceData.md)
|
|
179
181
|
- [RagieRubySdk::Connection](docs/Connection.md)
|
|
@@ -226,6 +228,8 @@ Class | Method | HTTP request | Description
|
|
|
226
228
|
- [RagieRubySdk::EntityList](docs/EntityList.md)
|
|
227
229
|
- [RagieRubySdk::ErrorMessage](docs/ErrorMessage.md)
|
|
228
230
|
- [RagieRubySdk::EvaluatedAnswerStep](docs/EvaluatedAnswerStep.md)
|
|
231
|
+
- [RagieRubySdk::FileSearchOutput](docs/FileSearchOutput.md)
|
|
232
|
+
- [RagieRubySdk::FileSearchResult](docs/FileSearchResult.md)
|
|
229
233
|
- [RagieRubySdk::FinalAnswer](docs/FinalAnswer.md)
|
|
230
234
|
- [RagieRubySdk::FinalAnswerEvidenceInner](docs/FinalAnswerEvidenceInner.md)
|
|
231
235
|
- [RagieRubySdk::FinalAnswerStepsInner](docs/FinalAnswerStepsInner.md)
|
|
@@ -278,22 +282,29 @@ Class | Method | HTTP request | Description
|
|
|
278
282
|
- [RagieRubySdk::PublicIntercomConnection](docs/PublicIntercomConnection.md)
|
|
279
283
|
- [RagieRubySdk::PublicS3CompatibleConnection](docs/PublicS3CompatibleConnection.md)
|
|
280
284
|
- [RagieRubySdk::PublicZendeskConnection](docs/PublicZendeskConnection.md)
|
|
285
|
+
- [RagieRubySdk::QueryDetails](docs/QueryDetails.md)
|
|
281
286
|
- [RagieRubySdk::RagieApiSchemaResponseUsage](docs/RagieApiSchemaResponseUsage.md)
|
|
282
287
|
- [RagieRubySdk::RagieEvidence](docs/RagieEvidence.md)
|
|
283
288
|
- [RagieRubySdk::Reasoning](docs/Reasoning.md)
|
|
289
|
+
- [RagieRubySdk::ReasoningOutput](docs/ReasoningOutput.md)
|
|
290
|
+
- [RagieRubySdk::ReasoningSummary](docs/ReasoningSummary.md)
|
|
291
|
+
- [RagieRubySdk::ReasoningText](docs/ReasoningText.md)
|
|
284
292
|
- [RagieRubySdk::Request](docs/Request.md)
|
|
285
293
|
- [RagieRubySdk::Response](docs/Response.md)
|
|
286
294
|
- [RagieRubySdk::ResponseContent](docs/ResponseContent.md)
|
|
287
295
|
- [RagieRubySdk::ResponseOK](docs/ResponseOK.md)
|
|
288
|
-
- [RagieRubySdk::
|
|
296
|
+
- [RagieRubySdk::ResponseOutputInner](docs/ResponseOutputInner.md)
|
|
297
|
+
- [RagieRubySdk::ResponseOutputMessage](docs/ResponseOutputMessage.md)
|
|
289
298
|
- [RagieRubySdk::ResponsePatchdocumentmetadata](docs/ResponsePatchdocumentmetadata.md)
|
|
290
299
|
- [RagieRubySdk::Retrieval](docs/Retrieval.md)
|
|
291
300
|
- [RagieRubySdk::RetrieveParams](docs/RetrieveParams.md)
|
|
292
301
|
- [RagieRubySdk::S3CompatibleCredentials](docs/S3CompatibleCredentials.md)
|
|
293
302
|
- [RagieRubySdk::ScoredChunk](docs/ScoredChunk.md)
|
|
294
303
|
- [RagieRubySdk::Search](docs/Search.md)
|
|
304
|
+
- [RagieRubySdk::SearchEffort](docs/SearchEffort.md)
|
|
295
305
|
- [RagieRubySdk::SearchResultLink](docs/SearchResultLink.md)
|
|
296
306
|
- [RagieRubySdk::SearchStep](docs/SearchStep.md)
|
|
307
|
+
- [RagieRubySdk::SearchStepWithQueryDetails](docs/SearchStepWithQueryDetails.md)
|
|
297
308
|
- [RagieRubySdk::SetConnectionEnabledPayload](docs/SetConnectionEnabledPayload.md)
|
|
298
309
|
- [RagieRubySdk::SharepointData](docs/SharepointData.md)
|
|
299
310
|
- [RagieRubySdk::SharepointFileData](docs/SharepointFileData.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# RagieRubySdk::CodeInterpreterOutput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | The unique ID of the code interpreter tool call. | |
|
|
8
|
+
| **code** | **String** | The code executed by the code interpreter. | |
|
|
9
|
+
| **container_id** | **String** | The ID of the container used to run the code. | |
|
|
10
|
+
| **outputs** | [**Array<CodeInterpreterOutputLogs>**](CodeInterpreterOutputLogs.md) | The outputs generated by the code interpreter, such as logs or images. | |
|
|
11
|
+
| **type** | **String** | | [optional][default to 'code_interpreter_output'] |
|
|
12
|
+
| **status** | **String** | | [optional][default to 'completed'] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'ragie_ruby_sdk'
|
|
18
|
+
|
|
19
|
+
instance = RagieRubySdk::CodeInterpreterOutput.new(
|
|
20
|
+
id: null,
|
|
21
|
+
code: null,
|
|
22
|
+
container_id: null,
|
|
23
|
+
outputs: null,
|
|
24
|
+
type: null,
|
|
25
|
+
status: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# RagieRubySdk::CodeInterpreterOutputLogs
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **logs** | **String** | The logs output from the code interpreter. | |
|
|
8
|
+
| **type** | **String** | | [optional][default to 'logs'] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ragie_ruby_sdk'
|
|
14
|
+
|
|
15
|
+
instance = RagieRubySdk::CodeInterpreterOutputLogs.new(
|
|
16
|
+
logs: null,
|
|
17
|
+
type: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# RagieRubySdk::FileSearchOutput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | |
|
|
8
|
+
| **queries** | **Array<String>** | The queries used to search for files. | |
|
|
9
|
+
| **status** | **String** | | [optional][default to 'searching'] |
|
|
10
|
+
| **type** | **String** | | |
|
|
11
|
+
| **results** | [**Array<FileSearchResult>**](FileSearchResult.md) | The results of the file search tool call. | |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'ragie_ruby_sdk'
|
|
17
|
+
|
|
18
|
+
instance = RagieRubySdk::FileSearchOutput.new(
|
|
19
|
+
id: null,
|
|
20
|
+
queries: null,
|
|
21
|
+
status: null,
|
|
22
|
+
type: null,
|
|
23
|
+
results: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# RagieRubySdk::FileSearchResult
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **file_id** | **String** | The unique ID of the document. | |
|
|
8
|
+
| **filename** | **String** | The name of the document. | |
|
|
9
|
+
| **score** | **Float** | The relevance score of the chunk - a value between 0 and 1. | |
|
|
10
|
+
| **text** | **String** | The text content of the chunk. | |
|
|
11
|
+
| **attributes** | **Hash<String, Object>** | The attributes of the chunk. | |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'ragie_ruby_sdk'
|
|
17
|
+
|
|
18
|
+
instance = RagieRubySdk::FileSearchResult.new(
|
|
19
|
+
file_id: null,
|
|
20
|
+
filename: null,
|
|
21
|
+
score: null,
|
|
22
|
+
text: null,
|
|
23
|
+
attributes: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
| **other_resolved_question_ids** | **Array<String>** | A list of questions ids that are no longer relevant to the current answer referenced by their IDs. | [optional] |
|
|
11
11
|
| **answer** | [**Answer**](Answer.md) | | |
|
|
12
12
|
| **search** | [**Search**](Search.md) | The search request to be made. | |
|
|
13
|
+
| **query_details** | [**Array<QueryDetails>**](QueryDetails.md) | | [optional] |
|
|
14
|
+
| **search_log** | **String** | A log of the search results you found. | [optional][default to ''] |
|
|
13
15
|
| **questions_to_answer** | **Array<String>** | The questions that need to be answered to answer the original question. | [optional] |
|
|
14
16
|
| **code_issue** | **String** | The natural language description of the code issue you need to solve. | |
|
|
15
17
|
| **code** | **String** | The code you generated to solve the code issue. | [optional][default to ''] |
|
|
@@ -30,6 +32,8 @@ instance = RagieRubySdk::FinalAnswerStepsInner.new(
|
|
|
30
32
|
other_resolved_question_ids: null,
|
|
31
33
|
answer: null,
|
|
32
34
|
search: null,
|
|
35
|
+
query_details: null,
|
|
36
|
+
search_log: null,
|
|
33
37
|
questions_to_answer: null,
|
|
34
38
|
code_issue: null,
|
|
35
39
|
code: null,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# RagieRubySdk::QueryDetails
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **query** | **String** | | |
|
|
8
|
+
| **search_effort** | [**SearchEffort**](SearchEffort.md) | | |
|
|
9
|
+
| **metadata_filter** | **Hash<String, Object>** | | |
|
|
10
|
+
| **search_results** | [**Array<RagieEvidence>**](RagieEvidence.md) | | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'ragie_ruby_sdk'
|
|
16
|
+
|
|
17
|
+
instance = RagieRubySdk::QueryDetails.new(
|
|
18
|
+
query: null,
|
|
19
|
+
search_effort: null,
|
|
20
|
+
metadata_filter: null,
|
|
21
|
+
search_results: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
data/docs/Reasoning.md
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# RagieRubySdk::ReasoningOutput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | The unique ID of the reasoning output. | |
|
|
8
|
+
| **summary** | [**Array<ReasoningSummary>**](ReasoningSummary.md) | The summary of the reasoning. | |
|
|
9
|
+
| **type** | **String** | | [optional][default to 'reasoning'] |
|
|
10
|
+
| **content** | [**Array<ReasoningText>**](ReasoningText.md) | The content of the reasoning. | |
|
|
11
|
+
| **encrypted_content** | **String** | The encrypted content of the reasoning output. | |
|
|
12
|
+
| **status** | **String** | | [optional][default to 'completed'] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'ragie_ruby_sdk'
|
|
18
|
+
|
|
19
|
+
instance = RagieRubySdk::ReasoningOutput.new(
|
|
20
|
+
id: null,
|
|
21
|
+
summary: null,
|
|
22
|
+
type: null,
|
|
23
|
+
content: null,
|
|
24
|
+
encrypted_content: null,
|
|
25
|
+
status: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# RagieRubySdk::ReasoningSummary
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **summary** | **String** | The summary of the reasoning. | |
|
|
8
|
+
| **type** | **String** | | [optional][default to 'summary'] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ragie_ruby_sdk'
|
|
14
|
+
|
|
15
|
+
instance = RagieRubySdk::ReasoningSummary.new(
|
|
16
|
+
summary: null,
|
|
17
|
+
type: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# RagieRubySdk::ReasoningText
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **text** | **String** | The text of the reasoning. | |
|
|
8
|
+
| **type** | **String** | | [optional][default to 'reasoning_text'] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'ragie_ruby_sdk'
|
|
14
|
+
|
|
15
|
+
instance = RagieRubySdk::ReasoningText.new(
|
|
16
|
+
text: null,
|
|
17
|
+
type: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
data/docs/Response.md
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
| **created_at** | **Integer** | | |
|
|
10
10
|
| **status** | **String** | | |
|
|
11
11
|
| **error** | **String** | | [optional] |
|
|
12
|
-
| **incomplete_details** | **
|
|
12
|
+
| **incomplete_details** | [**Null**](Null.md) | | [optional] |
|
|
13
13
|
| **instructions** | **String** | | [optional] |
|
|
14
|
-
| **max_output_tokens** | **
|
|
14
|
+
| **max_output_tokens** | [**Null**](Null.md) | | [optional] |
|
|
15
15
|
| **model** | **String** | | [optional][default to 'deep-search'] |
|
|
16
|
-
| **output** | [**Array<
|
|
16
|
+
| **output** | [**Array<ResponseOutputInner>**](ResponseOutputInner.md) | | |
|
|
17
17
|
| **output_parsed** | [**FinalAnswer**](FinalAnswer.md) | | [optional] |
|
|
18
18
|
| **tools** | [**Array<Tool>**](Tool.md) | | |
|
|
19
19
|
| **reasoning** | [**Reasoning**](Reasoning.md) | | |
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
| **top_p** | **Float** | | [optional][default to 1.0] |
|
|
26
26
|
| **truncation** | **String** | | [optional][default to 'disabled'] |
|
|
27
27
|
| **usage** | [**RagieApiSchemaResponseUsage**](RagieApiSchemaResponseUsage.md) | | |
|
|
28
|
-
| **user** | **
|
|
28
|
+
| **user** | [**Null**](Null.md) | | [optional] |
|
|
29
29
|
| **metadata** | **Hash<String, Object>** | | [optional] |
|
|
30
30
|
|
|
31
31
|
## Example
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# RagieRubySdk::ResponseOutputInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **type** | **String** | | [default to 'message'] |
|
|
8
|
+
| **id** | **String** | | |
|
|
9
|
+
| **role** | **String** | | [optional][default to 'assistant'] |
|
|
10
|
+
| **content** | [**Array<ReasoningText>**](ReasoningText.md) | The content of the reasoning. | |
|
|
11
|
+
| **summary** | [**Array<ReasoningSummary>**](ReasoningSummary.md) | The summary of the reasoning. | |
|
|
12
|
+
| **encrypted_content** | **String** | The encrypted content of the reasoning output. | |
|
|
13
|
+
| **status** | **String** | | [optional][default to 'searching'] |
|
|
14
|
+
| **code** | **String** | The code executed by the code interpreter. | |
|
|
15
|
+
| **container_id** | **String** | The ID of the container used to run the code. | |
|
|
16
|
+
| **outputs** | [**Array<CodeInterpreterOutputLogs>**](CodeInterpreterOutputLogs.md) | The outputs generated by the code interpreter, such as logs or images. | |
|
|
17
|
+
| **queries** | **Array<String>** | The queries used to search for files. | |
|
|
18
|
+
| **results** | [**Array<FileSearchResult>**](FileSearchResult.md) | The results of the file search tool call. | |
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```ruby
|
|
23
|
+
require 'ragie_ruby_sdk'
|
|
24
|
+
|
|
25
|
+
instance = RagieRubySdk::ResponseOutputInner.new(
|
|
26
|
+
type: null,
|
|
27
|
+
id: null,
|
|
28
|
+
role: null,
|
|
29
|
+
content: null,
|
|
30
|
+
summary: null,
|
|
31
|
+
encrypted_content: null,
|
|
32
|
+
status: null,
|
|
33
|
+
code: null,
|
|
34
|
+
container_id: null,
|
|
35
|
+
outputs: null,
|
|
36
|
+
queries: null,
|
|
37
|
+
results: null
|
|
38
|
+
)
|
|
39
|
+
```
|
|
40
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# RagieRubySdk::
|
|
1
|
+
# RagieRubySdk::ResponseOutputMessage
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'ragie_ruby_sdk'
|
|
16
16
|
|
|
17
|
-
instance = RagieRubySdk::
|
|
17
|
+
instance = RagieRubySdk::ResponseOutputMessage.new(
|
|
18
18
|
type: null,
|
|
19
19
|
id: null,
|
|
20
20
|
role: null,
|
data/docs/SearchStep.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **type** | **String** | | [optional][default to '
|
|
7
|
+
| **type** | **String** | | [optional][default to 'base_search'] |
|
|
8
8
|
| **think** | **String** | | |
|
|
9
9
|
| **current_question** | **String** | | |
|
|
10
10
|
| **search** | [**Search**](Search.md) | The search request to be made. | |
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# RagieRubySdk::SearchStepWithQueryDetails
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **type** | **String** | | [optional][default to 'search'] |
|
|
8
|
+
| **think** | **String** | | |
|
|
9
|
+
| **current_question** | **String** | | |
|
|
10
|
+
| **search** | [**Search**](Search.md) | The search request to be made. | |
|
|
11
|
+
| **query_details** | [**Array<QueryDetails>**](QueryDetails.md) | | [optional] |
|
|
12
|
+
| **search_log** | **String** | A log of the search results you found. | [optional][default to ''] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'ragie_ruby_sdk'
|
|
18
|
+
|
|
19
|
+
instance = RagieRubySdk::SearchStepWithQueryDetails.new(
|
|
20
|
+
type: null,
|
|
21
|
+
think: null,
|
|
22
|
+
current_question: null,
|
|
23
|
+
search: null,
|
|
24
|
+
query_details: null,
|
|
25
|
+
search_log: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|