File tree 6 files changed +28
-28
lines changed
6 files changed +28
-28
lines changed Original file line number Diff line number Diff line change @@ -9,19 +9,19 @@ parseElements API is a function.
9
9
``` ts
10
10
function getElementSelectors(
11
11
HTML : string ,
12
- content : string | XCrawlOpenAIGetElementSelectorsContentOptions ,
13
- option ? : XCrawlOpenAICommonAPIOtherOption
14
- ): Promise <XCrawlOpenAIGetElementSelectorsResult >
12
+ content : string | CrawlOpenAIGetElementSelectorsContentOptions ,
13
+ option ? : CrawlOpenAICommonAPIOtherOption
14
+ ): Promise <CrawlOpenAIGetElementSelectorsResult >
15
15
```
16
16
17
17
** Parameter Type :**
18
18
19
- - View the [XCrawlOpenAIGetElementSelectorsContentOptions ](/ type / get - element - selectors #crawlopenaigetelementselectorscontentoptions ) type
20
- - View the [XCrawlOpenAICommonAPIOtherOption ](/ type / crawl - openai - other - config #crawlopenaicommonapiotheroption ) type
19
+ - View the [CrawlOpenAIGetElementSelectorsContentOptions ](/ type / get - element - selectors #crawlopenaigetelementselectorscontentoptions ) type
20
+ - View the [CrawlOpenAICommonAPIOtherOption ](/ type / crawl - openai - other - config #crawlopenaicommonapiotheroption ) type
21
21
22
22
** Return value type :**
23
23
24
- - View the [XCrawlOpenAIGetElementSelectorsResult ](/ type / get - element - selectors #crawlopenaigetelementselectorsresult ) type
24
+ - View the [CrawlOpenAIGetElementSelectorsResult ](/ type / get - element - selectors #crawlopenaigetelementselectorsresult ) type
25
25
26
26
## Example
27
27
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ help API is a function.
9
9
``` ts
10
10
function help(
11
11
content : string ,
12
- option ? : XCrawlOpenAICommonAPIOtherOption
12
+ option ? : CrawlOpenAICommonAPIOtherOption
13
13
): Promise <string >
14
14
```
15
15
16
16
** Parameter Type :**
17
17
18
- - View the [XCrawlOpenAICommonAPIOtherOption ](/ type / crawl - openai - other - config #crawlopenaicommonapiotheroption ) type
18
+ - View the [CrawlOpenAICommonAPIOtherOption ](/ type / crawl - openai - other - config #crawlopenaicommonapiotheroption ) type
19
19
20
20
## Example
21
21
Original file line number Diff line number Diff line change @@ -9,19 +9,19 @@ parseElements API is a function.
9
9
``` ts
10
10
function parseElements<T extends Record <string , string >>(
11
11
HTML : string ,
12
- content : string | XCrawlOpenAIParseElementsContentOptions ,
13
- option ? : XCrawlOpenAICommonAPIOtherOption
14
- ): Promise <XCrawlOpenAIParseElementsResult <T >>
12
+ content : string | CrawlOpenAIParseElementsContentOptions ,
13
+ option ? : CrawlOpenAICommonAPIOtherOption
14
+ ): Promise <CrawlOpenAIParseElementsResult <T >>
15
15
```
16
16
17
17
** Parameter Type :**
18
18
19
- - View the [XCrawlOpenAIParseElementsContentOptions ](/ type / parse - elements #crawlopenaiparseelementscontentoptions ) type
20
- - View the [XCrawlOpenAICommonAPIOtherOption ](/ type / crawl - openai - other - config #crawlopenaicommonapiotheroption ) type
19
+ - View the [CrawlOpenAIParseElementsContentOptions ](/ type / parse - elements #crawlopenaiparseelementscontentoptions ) type
20
+ - View the [CrawlOpenAICommonAPIOtherOption ](/ type / crawl - openai - other - config #crawlopenaicommonapiotheroption ) type
21
21
22
22
** Return value type :**
23
23
24
- - View the [XCrawlOpenAIParseElementsResult ](/ type / parse - elements #crawlopenaiparseelementsresult ) type
24
+ - View the [CrawlOpenAIParseElementsResult ](/ type / parse - elements #crawlopenaiparseelementsresult ) type
25
25
26
26
## Example
27
27
Original file line number Diff line number Diff line change @@ -9,19 +9,19 @@ parseElements API 是一个函数。
9
9
``` ts
10
10
function getElementSelectors(
11
11
HTML : string ,
12
- content : string | XCrawlOpenAIGetElementSelectorsContentOptions ,
13
- option ? : XCrawlOpenAICommonAPIOtherOption
14
- ): Promise <XCrawlOpenAIGetElementSelectorsResult >
12
+ content : string | CrawlOpenAIGetElementSelectorsContentOptions ,
13
+ option ? : CrawlOpenAICommonAPIOtherOption
14
+ ): Promise <CrawlOpenAIGetElementSelectorsResult >
15
15
```
16
16
17
17
** 参数类型:**
18
18
19
- - 查看 [XCrawlOpenAIGetElementSelectorsContentOptions ](/ cn / type / get - element - selectors #crawlopenaigetelementselectorscontentoptions ) 类型
20
- - 查看 [XCrawlOpenAICommonAPIOtherOption ](/ cn / type / crawl - openai - other - config #crawlopenaicommonapiotheroption ) 类型
19
+ - 查看 [CrawlOpenAIGetElementSelectorsContentOptions ](/ cn / type / get - element - selectors #crawlopenaigetelementselectorscontentoptions ) 类型
20
+ - 查看 [CrawlOpenAICommonAPIOtherOption ](/ cn / type / crawl - openai - other - config #crawlopenaicommonapiotheroption ) 类型
21
21
22
22
** 返回值类型:**
23
23
24
- - 查看 [XCrawlOpenAIGetElementSelectorsResult ](/ cn / type / get - element - selectors #crawlopenaigetelementselectorsresult ) 类型
24
+ - 查看 [CrawlOpenAIGetElementSelectorsResult ](/ cn / type / get - element - selectors #crawlopenaigetelementselectorsresult ) 类型
25
25
26
26
## 示例
27
27
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ help API 是一个函数。
9
9
``` ts
10
10
function help(
11
11
content : string ,
12
- option ? : XCrawlOpenAICommonAPIOtherOption
12
+ option ? : CrawlOpenAICommonAPIOtherOption
13
13
): Promise <string >
14
14
```
15
15
16
16
** 参数类型:**
17
17
18
- - 查看 [XCrawlOpenAICommonAPIOtherOption ](/ cn / type / crawl - openai - other - config #crawlopenaicommonapiotheroption ) 类型
18
+ - 查看 [CrawlOpenAICommonAPIOtherOption ](/ cn / type / crawl - openai - other - config #crawlopenaicommonapiotheroption ) 类型
19
19
20
20
## 示例
21
21
Original file line number Diff line number Diff line change @@ -9,19 +9,19 @@ parseElements API 是一个函数。
9
9
``` ts
10
10
function parseElements<T extends Record <string , string >>(
11
11
HTML : string ,
12
- content : string | XCrawlOpenAIParseElementsContentOptions ,
13
- option ? : XCrawlOpenAICommonAPIOtherOption
14
- ): Promise <XCrawlOpenAIParseElementsResult <T >>
12
+ content : string | CrawlOpenAIParseElementsContentOptions ,
13
+ option ? : CrawlOpenAICommonAPIOtherOption
14
+ ): Promise <CrawlOpenAIParseElementsResult <T >>
15
15
```
16
16
17
17
** 参数类型:**
18
18
19
- - 查看 [XCrawlOpenAIParseElementsContentOptions ](/ cn / type / parse - elements #crawlopenaiparseelementscontentoptions ) 类型
20
- - 查看 [XCrawlOpenAICommonAPIOtherOption ](/ cn / type / crawl - openai - other - config #crawlopenaicommonapiotheroption ) 类型
19
+ - 查看 [CrawlOpenAIParseElementsContentOptions ](/ cn / type / parse - elements #crawlopenaiparseelementscontentoptions ) 类型
20
+ - 查看 [CrawlOpenAICommonAPIOtherOption ](/ cn / type / crawl - openai - other - config #crawlopenaicommonapiotheroption ) 类型
21
21
22
22
** 返回值类型:**
23
23
24
- - 查看 [XCrawlOpenAIParseElementsResult ](/ cn / type / parse - elements #crawlopenaiparseelementsresult ) 类型
24
+ - 查看 [CrawlOpenAIParseElementsResult ](/ cn / type / parse - elements #crawlopenaiparseelementsresult ) 类型
25
25
26
26
## 示例
27
27
You can’t perform that action at this time.
0 commit comments