Skip to content

Commit fbd8847

Browse files
committed
add 'ai_optimization/llm_responses'
1 parent e63778e commit fbd8847

File tree

86 files changed

+3428
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+3428
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<?php
2+
3+
namespace DFSClientV3\Entity\Custom;
4+
5+
use DFSClientV3\Entity\Custom\LlmResponsesChatGptCompletedTasksEntityMainTasks;
6+
7+
#[\AllowDynamicProperties]
8+
class LlmResponsesChatGptCompletedTasksEntityMain extends \DFSClientV3\Models\ResponseModel
9+
{
10+
/**
11+
* @var null|string $version;
12+
*/
13+
public $version = '0.1.20250526';
14+
15+
/**
16+
* @var null|integer $status_code;
17+
*/
18+
public $status_code = null;
19+
20+
/**
21+
* @var null|string $status_message;
22+
*/
23+
public $status_message = null;
24+
25+
/**
26+
* @var null|string $time;
27+
*/
28+
public $time = null;
29+
30+
/**
31+
* @var null|integer $cost;
32+
*/
33+
public $cost = null;
34+
35+
/**
36+
* @var null|integer $tasks_count;
37+
*/
38+
public $tasks_count = null;
39+
40+
/**
41+
* @var null|integer $tasks_error;
42+
*/
43+
public $tasks_error = null;
44+
45+
/**
46+
* @var array|LlmResponsesChatGptCompletedTasksEntityMainTasks[] $tasks;
47+
*/
48+
public $tasks = [];
49+
50+
51+
/**
52+
* @return \DFSClientV3\Entity\Custom\LlmResponsesChatGptCompletedTasksEntityMainTasksResult[]|null
53+
*/
54+
public function getResultsByPostID($postID): ?array {
55+
return parent::getResultsByPostID($postID);
56+
}
57+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<?php
2+
3+
namespace DFSClientV3\Entity\Custom;
4+
5+
use DFSClientV3\Entity\Custom\LlmResponsesChatGptCompletedTasksEntityMainTasksData;
6+
use DFSClientV3\Entity\Custom\LlmResponsesChatGptCompletedTasksEntityMainTasksResult;
7+
8+
#[\AllowDynamicProperties]
9+
class LlmResponsesChatGptCompletedTasksEntityMainTasks
10+
{
11+
/**
12+
* @var null|string $id;
13+
*/
14+
public $id = null;
15+
16+
/**
17+
* @var null|integer $status_code;
18+
*/
19+
public $status_code = null;
20+
21+
/**
22+
* @var null|string $status_message;
23+
*/
24+
public $status_message = null;
25+
26+
/**
27+
* @var null|string $time;
28+
*/
29+
public $time = null;
30+
31+
/**
32+
* @var null|integer $cost;
33+
*/
34+
public $cost = null;
35+
36+
/**
37+
* @var null|integer $result_count;
38+
*/
39+
public $result_count = null;
40+
41+
/**
42+
* @var null|array $path;
43+
*/
44+
public $path = null;
45+
46+
/**
47+
* @var null|LlmResponsesChatGptCompletedTasksEntityMainTasksData $data;
48+
*/
49+
public $data = null;
50+
51+
/**
52+
* @var array|LlmResponsesChatGptCompletedTasksEntityMainTasksResult[] $result;
53+
*/
54+
public $result = [];
55+
56+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace DFSClientV3\Entity\Custom;
4+
5+
6+
#[\AllowDynamicProperties]
7+
class LlmResponsesChatGptCompletedTasksEntityMainTasksData
8+
{
9+
10+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?php
2+
3+
namespace DFSClientV3\Entity\Custom;
4+
5+
6+
#[\AllowDynamicProperties]
7+
class LlmResponsesChatGptCompletedTasksEntityMainTasksResult
8+
{
9+
/**
10+
* @var null|string $id;
11+
*/
12+
public $id = null;
13+
14+
/**
15+
* @var null|string $se;
16+
*/
17+
public $se = null;
18+
19+
/**
20+
* @var null|string $se_type;
21+
*/
22+
public $se_type = null;
23+
24+
/**
25+
* @var null|string $date_posted;
26+
*/
27+
public $date_posted = null;
28+
29+
/**
30+
* @var null|string $tag;
31+
*/
32+
public $tag = null;
33+
34+
/**
35+
* @var null|string $endpoint;
36+
*/
37+
public $endpoint = null;
38+
39+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<?php
2+
3+
namespace DFSClientV3\Entity\Custom;
4+
5+
use DFSClientV3\Entity\Custom\LlmResponsesChatGptGetResultsByIdEntityMainTasks;
6+
7+
#[\AllowDynamicProperties]
8+
class LlmResponsesChatGptGetResultsByIdEntityMain extends \DFSClientV3\Models\ResponseModel
9+
{
10+
/**
11+
* @var null|string $version;
12+
*/
13+
public $version = '0.1.20250526';
14+
15+
/**
16+
* @var null|integer $status_code;
17+
*/
18+
public $status_code = null;
19+
20+
/**
21+
* @var null|string $status_message;
22+
*/
23+
public $status_message = null;
24+
25+
/**
26+
* @var null|string $time;
27+
*/
28+
public $time = null;
29+
30+
/**
31+
* @var null|integer $cost;
32+
*/
33+
public $cost = null;
34+
35+
/**
36+
* @var null|integer $tasks_count;
37+
*/
38+
public $tasks_count = null;
39+
40+
/**
41+
* @var null|integer $tasks_error;
42+
*/
43+
public $tasks_error = null;
44+
45+
/**
46+
* @var array|LlmResponsesChatGptGetResultsByIdEntityMainTasks[] $tasks;
47+
*/
48+
public $tasks = [];
49+
50+
51+
/**
52+
* @return \DFSClientV3\Entity\Custom\LlmResponsesChatGptGetResultsByIdEntityMainTasksResult[]|null
53+
*/
54+
public function getResultsByPostID($postID): ?array {
55+
return parent::getResultsByPostID($postID);
56+
}
57+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<?php
2+
3+
namespace DFSClientV3\Entity\Custom;
4+
5+
use DFSClientV3\Entity\Custom\LlmResponsesChatGptGetResultsByIdEntityMainTasksData;
6+
use DFSClientV3\Entity\Custom\LlmResponsesChatGptGetResultsByIdEntityMainTasksResult;
7+
8+
#[\AllowDynamicProperties]
9+
class LlmResponsesChatGptGetResultsByIdEntityMainTasks
10+
{
11+
/**
12+
* @var null|string $id;
13+
*/
14+
public $id = null;
15+
16+
/**
17+
* @var null|integer $status_code;
18+
*/
19+
public $status_code = null;
20+
21+
/**
22+
* @var null|string $status_message;
23+
*/
24+
public $status_message = null;
25+
26+
/**
27+
* @var null|string $time;
28+
*/
29+
public $time = null;
30+
31+
/**
32+
* @var null|integer $cost;
33+
*/
34+
public $cost = null;
35+
36+
/**
37+
* @var null|integer $result_count;
38+
*/
39+
public $result_count = null;
40+
41+
/**
42+
* @var null|array $path;
43+
*/
44+
public $path = null;
45+
46+
/**
47+
* @var null|LlmResponsesChatGptGetResultsByIdEntityMainTasksData $data;
48+
*/
49+
public $data = null;
50+
51+
/**
52+
* @var array|LlmResponsesChatGptGetResultsByIdEntityMainTasksResult[] $result;
53+
*/
54+
public $result = [];
55+
56+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace DFSClientV3\Entity\Custom;
4+
5+
6+
#[\AllowDynamicProperties]
7+
class LlmResponsesChatGptGetResultsByIdEntityMainTasksData
8+
{
9+
10+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?php
2+
3+
namespace DFSClientV3\Entity\Custom;
4+
5+
6+
#[\AllowDynamicProperties]
7+
class LlmResponsesChatGptGetResultsByIdEntityMainTasksResult
8+
{
9+
/**
10+
* @var null|string $model_name;
11+
*/
12+
public $model_name = null;
13+
14+
/**
15+
* @var null|integer $input_tokens;
16+
*/
17+
public $input_tokens = null;
18+
19+
/**
20+
* @var null|integer $output_tokens;
21+
*/
22+
public $output_tokens = null;
23+
24+
/**
25+
* @var null|boolean $web_search;
26+
*/
27+
public $web_search = null;
28+
29+
/**
30+
* @var null|double $money_spent;
31+
*/
32+
public $money_spent = null;
33+
34+
/**
35+
* @var null|string $datetime;
36+
*/
37+
public $datetime = null;
38+
39+
/**
40+
* @var array|LlmResponsesChatGptGetResultsByIdEntityMainTasksResultItems[] $items;
41+
*/
42+
public $items = [];
43+
44+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
namespace DFSClientV3\Entity\Custom;
4+
5+
use DFSClientV3\Entity\Custom\LlmResponsesChatGptGetResultsByIdEntityMainTasksResultItemsSections;
6+
7+
#[\AllowDynamicProperties]
8+
class LlmResponsesChatGptGetResultsByIdEntityMainTasksResultItems
9+
{
10+
/**
11+
* @var null|string $type;
12+
*/
13+
public $type = null;
14+
15+
/**
16+
* @var array|LlmResponsesChatGptGetResultsByIdEntityMainTasksResultItemsSections[] $sections;
17+
*/
18+
public $sections = [];
19+
20+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
namespace DFSClientV3\Entity\Custom;
4+
5+
use DFSClientV3\Entity\Custom\LlmResponsesChatGptGetResultsByIdEntityMainTasksResultItemsSectionsAnnotations;
6+
7+
#[\AllowDynamicProperties]
8+
class LlmResponsesChatGptGetResultsByIdEntityMainTasksResultItemsSections
9+
{
10+
/**
11+
* @var null|string $type;
12+
*/
13+
public $type = null;
14+
15+
/**
16+
* @var null|string $text;
17+
*/
18+
public $text = null;
19+
20+
/**
21+
* @var array|LlmResponsesChatGptGetResultsByIdEntityMainTasksResultItemsSectionsAnnotations[] $annotations;
22+
*/
23+
public $annotations = [];
24+
25+
}

0 commit comments

Comments
 (0)