knowledge.ts 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810
  1. // @ts-ignore
  2. /* eslint-disable */
  3. import request from '@repo/api-client'
  4. /** Excel导入 POST /api/ai/faq/batch_import */
  5. export async function postAiFaqBatchImport(
  6. body: {
  7. knowledge_base_id: string
  8. standard_question: string
  9. similar_questions: string[]
  10. negative_questions: string[]
  11. answers: string[]
  12. is_enabled: boolean
  13. },
  14. options?: { [key: string]: any }
  15. ) {
  16. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  17. '/api/ai/faq/batch_import',
  18. {
  19. method: 'POST',
  20. headers: {
  21. 'Content-Type': 'application/json'
  22. },
  23. data: body,
  24. ...(options || {})
  25. }
  26. )
  27. }
  28. /** 创建单个FAQ条目 POST /api/ai/faq/create */
  29. export async function postAiFaqCreate(
  30. body: {
  31. knowledge_base_id: string
  32. standard_question: string
  33. similar_questions: string[]
  34. negative_questions: string[]
  35. answers: string[]
  36. is_enabled: boolean
  37. },
  38. options?: { [key: string]: any }
  39. ) {
  40. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  41. '/api/ai/faq/create',
  42. {
  43. method: 'POST',
  44. headers: {
  45. 'Content-Type': 'application/json'
  46. },
  47. data: body,
  48. ...(options || {})
  49. }
  50. )
  51. }
  52. /** 删除单个FAQ条目 POST /api/ai/faq/delete */
  53. export async function postAiFaqOpenApiDelete(
  54. body: {
  55. id: string
  56. },
  57. options?: { [key: string]: any }
  58. ) {
  59. return request<Record<string, any>>('/api/ai/faq/delete', {
  60. method: 'POST',
  61. headers: {
  62. 'Content-Type': 'application/json'
  63. },
  64. data: body,
  65. ...(options || {})
  66. })
  67. }
  68. /** 详情 POST /api/ai/faq/info */
  69. export async function postAiFaqInfo(
  70. body: {
  71. id: string
  72. },
  73. options?: { [key: string]: any }
  74. ) {
  75. return request<{
  76. isSuccess: boolean
  77. code: number
  78. result: {
  79. answer_strategy: string
  80. answers: string[]
  81. chunk_id: string
  82. chunk_type: string
  83. creationTime: string
  84. creatorUserId: string
  85. id: string
  86. index_mode: string
  87. is_enabled: boolean
  88. is_recommended: boolean
  89. knowledge_base_id: string
  90. knowledge_id: string
  91. negative_questions: string[]
  92. similar_questions: string[]
  93. standard_question: string
  94. tag_id: string
  95. }
  96. isAuthorized: boolean
  97. }>('/api/ai/faq/info', {
  98. method: 'POST',
  99. headers: {
  100. 'Content-Type': 'application/json'
  101. },
  102. data: body,
  103. ...(options || {})
  104. })
  105. }
  106. /** 分页列表 POST /api/ai/faq/pageList */
  107. export async function postAiFaqPageList(
  108. body: {
  109. knowledge_base_id: string
  110. pageIndex: number
  111. pageSize: number
  112. keyword: string
  113. },
  114. options?: { [key: string]: any }
  115. ) {
  116. return request<{
  117. isSuccess: boolean
  118. code: number
  119. result: {
  120. currentPage: number
  121. hasNextPage: boolean
  122. hasPreviousPage: boolean
  123. model: {
  124. answer_strategy?: string
  125. answers?: string[]
  126. chunk_id?: string
  127. chunk_type?: string
  128. creationTime?: string
  129. creatorUserId?: string
  130. id?: string
  131. index_mode?: string
  132. is_enabled?: boolean
  133. is_recommended?: boolean
  134. knowledge_base_id?: string
  135. knowledge_id?: string
  136. negative_questions?: string[]
  137. similar_questions?: string[]
  138. standard_question?: string
  139. tag_id?: string
  140. }[]
  141. pageSize: number
  142. totalCount: number
  143. totalPages: number
  144. }
  145. isAuthorized: boolean
  146. }>('/api/ai/faq/pageList', {
  147. method: 'POST',
  148. headers: {
  149. 'Content-Type': 'application/json'
  150. },
  151. data: body,
  152. ...(options || {})
  153. })
  154. }
  155. /** 更新单个FAQ条目 POST /api/ai/faq/update */
  156. export async function postAiFaqUpdate(
  157. body: {
  158. id: string
  159. standard_question: string
  160. similar_questions: string[]
  161. negative_questions: string[]
  162. answers: string[]
  163. is_enabled: boolean
  164. },
  165. options?: { [key: string]: any }
  166. ) {
  167. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  168. '/api/ai/faq/update',
  169. {
  170. method: 'POST',
  171. headers: {
  172. 'Content-Type': 'application/json'
  173. },
  174. data: body,
  175. ...(options || {})
  176. }
  177. )
  178. }
  179. /** 创建知识库 POST /api/ai/knowledge-base/create */
  180. export async function postAiKnowledgeBaseCreate(
  181. body: {
  182. name: string
  183. description: string
  184. type: string
  185. wiki_config: {
  186. extraction_granularity: string
  187. max_pages_per_ingest: number
  188. synthesis_model_id: string
  189. }
  190. indexing_strategy: {
  191. graph_enabled: boolean
  192. keyword_enabled: boolean
  193. vector_enabled: boolean
  194. wiki_enabled: boolean
  195. }
  196. chunking_config: {
  197. chunk_size: number
  198. chunk_overlap: number
  199. separators: string[]
  200. parser_engine_rules: { engine: string; file_types: string[] }[]
  201. enable_parent_child: boolean
  202. parent_chunk_size: number
  203. child_chunk_size: number
  204. }
  205. embedding_model_id: string
  206. summary_model_id: string
  207. vlm_config: { model_id: string; enabled: boolean }
  208. asr_config: { model_id: string; language: string; enabled: boolean }
  209. storage_provider_config: { provider: string }
  210. storage_config: { provider: string }
  211. question_generation_config: { enabled: boolean; question_count: number }
  212. },
  213. options?: { [key: string]: any }
  214. ) {
  215. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  216. '/api/ai/knowledge-base/create',
  217. {
  218. method: 'POST',
  219. headers: {
  220. 'Content-Type': 'application/json'
  221. },
  222. data: body,
  223. ...(options || {})
  224. }
  225. )
  226. }
  227. /** 删除知识库 POST /api/ai/knowledge-base/delete */
  228. export async function postAiKnowledgeBaseOpenApiDelete(
  229. body: {
  230. id: string
  231. },
  232. options?: { [key: string]: any }
  233. ) {
  234. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  235. '/api/ai/knowledge-base/delete',
  236. {
  237. method: 'POST',
  238. headers: {
  239. 'Content-Type': 'application/json'
  240. },
  241. data: body,
  242. ...(options || {})
  243. }
  244. )
  245. }
  246. /** 混合搜索 (FAQ) POST /api/ai/knowledge-base/faq_hybrid_search */
  247. export async function postAiKnowledgeBaseFaqHybridSearch(
  248. body: {
  249. knowledge_base_id: string
  250. query_text: string
  251. vector_threshold: number
  252. match_count: number
  253. },
  254. options?: { [key: string]: any }
  255. ) {
  256. return request<{
  257. isSuccess: boolean
  258. code: number
  259. result: {
  260. answer_strategy?: string
  261. answers?: string[]
  262. chunk_id?: string
  263. chunk_type?: string
  264. creationTime?: string
  265. creatorUserId?: string
  266. id?: string
  267. index_mode?: string
  268. is_enabled?: boolean
  269. is_recommended?: boolean
  270. knowledge_base_id?: string
  271. knowledge_id?: string
  272. negative_questions?: string[]
  273. score?: number
  274. similar_questions?: string[]
  275. standard_question?: string
  276. tag_id?: string
  277. }[]
  278. isAuthorized: boolean
  279. }>('/api/ai/knowledge-base/faq_hybrid_search', {
  280. method: 'POST',
  281. headers: {
  282. 'Content-Type': 'application/json'
  283. },
  284. data: body,
  285. ...(options || {})
  286. })
  287. }
  288. /** 混合搜索 POST /api/ai/knowledge-base/hybrid_search */
  289. export async function postAiKnowledgeBaseHybridSearch(
  290. body: {
  291. id: string
  292. query_text: string
  293. vector_threshold: number
  294. keyword_threshold: number
  295. match_count: number
  296. },
  297. options?: { [key: string]: any }
  298. ) {
  299. return request<{ isSuccess: boolean; code: number; result: string[]; isAuthorized: boolean }>(
  300. '/api/ai/knowledge-base/hybrid_search',
  301. {
  302. method: 'POST',
  303. headers: {
  304. 'Content-Type': 'application/json'
  305. },
  306. data: body,
  307. ...(options || {})
  308. }
  309. )
  310. }
  311. /** 根据ids,混合搜索 POST /api/ai/knowledge-base/hybrid_search_ids */
  312. export async function postAiKnowledgeBaseHybridSearchIds(
  313. body: {
  314. query: string
  315. knowledge_base_ids: string[]
  316. knowledge_ids: string[]
  317. },
  318. options?: { [key: string]: any }
  319. ) {
  320. return request<{
  321. isSuccess: boolean
  322. code: number
  323. result: {
  324. chunk_index?: string
  325. chunk_metadata: { generated_questions: { id: string; question: string }[] }
  326. chunk_type?: string
  327. content?: string
  328. end_at?: number
  329. id?: string
  330. image_info?: string
  331. knowledge_base_id?: string
  332. knowledge_channel?: string
  333. knowledge_filename?: string
  334. knowledge_id?: string
  335. knowledge_source?: string
  336. knowledge_title?: string
  337. match_type?: number
  338. metadata: { base_score: string }
  339. parent_chunk_id?: string
  340. score?: number
  341. seq?: number
  342. start_at?: number
  343. sub_chunk_id?: string[]
  344. }[]
  345. isAuthorized: boolean
  346. }>('/api/ai/knowledge-base/hybrid_search_ids', {
  347. method: 'POST',
  348. headers: {
  349. 'Content-Type': 'application/json'
  350. },
  351. data: body,
  352. ...(options || {})
  353. })
  354. }
  355. /** 知识库详情 POST /api/ai/knowledge-base/info */
  356. export async function postAiKnowledgeBaseInfo(
  357. body: {
  358. id: string
  359. },
  360. options?: { [key: string]: any }
  361. ) {
  362. return request<{
  363. isSuccess: boolean
  364. code: number
  365. result: {
  366. asr_config: { enabled: boolean; language: string; model_id: string }
  367. chunking_config: {
  368. strategy: string
  369. child_chunk_size: number
  370. chunk_overlap: number
  371. chunk_size: number
  372. enable_parent_child: boolean
  373. parent_chunk_size: number
  374. parser_engine_rules: { engine: string; file_types: string[] }[]
  375. separators: string[]
  376. }
  377. creationTime: string
  378. creatorUserId: string
  379. description: string
  380. embedding_model_id: string
  381. faq_config: { index_mode: string; question_index_mode: string }
  382. id: string
  383. indexing_strategy: {
  384. graph_enabled: boolean
  385. keyword_enabled: boolean
  386. vector_enabled: boolean
  387. wiki_enabled: boolean
  388. }
  389. isDeleted: boolean
  390. is_pinned: boolean
  391. is_temporary: boolean
  392. name: string
  393. question_generation_config: { enabled: boolean; question_count: number }
  394. storage_config: { provider: string }
  395. storage_provider_config: { provider: string }
  396. summary_model_id: string
  397. type: string
  398. updateTime: string
  399. vlm_config: { enabled: boolean; model_id: string }
  400. wiki_config: {
  401. extraction_granularity: string
  402. max_pages_per_ingest: number
  403. synthesis_model_id: string
  404. }
  405. }
  406. isAuthorized: boolean
  407. }>('/api/ai/knowledge-base/info', {
  408. method: 'POST',
  409. headers: {
  410. 'Content-Type': 'application/json'
  411. },
  412. data: body,
  413. ...(options || {})
  414. })
  415. }
  416. /** 获取知识库分页列表 POST /api/ai/knowledge-base/pageList */
  417. export async function postAiKnowledgeBasePageList(
  418. body: {
  419. keyword: string
  420. type: string
  421. pageIndex: number
  422. pageSize: number
  423. },
  424. options?: { [key: string]: any }
  425. ) {
  426. return request<{
  427. isSuccess: boolean
  428. code: number
  429. result: {
  430. currentPage: number
  431. hasNextPage: boolean
  432. hasPreviousPage: boolean
  433. model: {
  434. asr_config: { enabled: boolean; language: string; model_id: string }
  435. chunking_config: {
  436. child_chunk_size: number
  437. chunk_overlap: number
  438. chunk_size: number
  439. enable_parent_child: boolean
  440. parent_chunk_size: number
  441. parser_engine_rules: { engine: string; file_types: string[] }[]
  442. separators: string[]
  443. }
  444. creationTime: string
  445. creatorUserId: string
  446. description: string
  447. embedding_model_id: string
  448. faq_config: { index_mode: string; question_index_mode: string }
  449. id: string
  450. indexing_strategy: {
  451. graph_enabled: boolean
  452. keyword_enabled: boolean
  453. vector_enabled: boolean
  454. wiki_enabled: boolean
  455. }
  456. isDeleted: boolean
  457. is_pinned: boolean
  458. is_temporary: boolean
  459. name: string
  460. question_generation_config: { enabled: boolean; question_count: number }
  461. storage_config: { provider: string }
  462. storage_provider_config: { provider: string }
  463. summary_model_id: string
  464. type: string
  465. updateTime: string
  466. vlm_config: { enabled: boolean; model_id: string }
  467. wiki_config: {
  468. extraction_granularity: string
  469. max_pages_per_ingest: number
  470. synthesis_model_id: string
  471. }
  472. extract_config: { enabled: boolean }
  473. }[]
  474. pageSize: number
  475. totalCount: number
  476. totalPages: number
  477. }
  478. isAuthorized: boolean
  479. }>('/api/ai/knowledge-base/pageList', {
  480. method: 'POST',
  481. headers: {
  482. 'Content-Type': 'application/json'
  483. },
  484. data: body,
  485. ...(options || {})
  486. })
  487. }
  488. /** 更新知识库 POST /api/ai/knowledge-base/update */
  489. export async function postAiKnowledgeBaseUpdate(
  490. body: {
  491. id: string
  492. name: string
  493. description: string
  494. wiki_config: {
  495. extraction_granularity: string
  496. max_pages_per_ingest: number
  497. synthesis_model_id: string
  498. }
  499. indexing_strategy: {
  500. graph_enabled: boolean
  501. keyword_enabled: boolean
  502. vector_enabled: boolean
  503. wiki_enabled: boolean
  504. }
  505. chunking_config: {
  506. chunk_size: number
  507. chunk_overlap: number
  508. separators: string[]
  509. parser_engine_rules: { engine: string; file_types: string[] }[]
  510. enable_parent_child: boolean
  511. parent_chunk_size: number
  512. child_chunk_size: number
  513. }
  514. embedding_model_id: string
  515. summary_model_id: string
  516. vlm_config: { model_id: string; enabled: boolean }
  517. asr_config: { model_id: string; language: string; enabled: boolean }
  518. storage_provider_config: { provider: string }
  519. storage_config: { provider: string }
  520. question_generation_config: { enabled: boolean; question_count: number }
  521. },
  522. options?: { [key: string]: any }
  523. ) {
  524. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  525. '/api/ai/knowledge-base/update',
  526. {
  527. method: 'POST',
  528. headers: {
  529. 'Content-Type': 'application/json'
  530. },
  531. data: body,
  532. ...(options || {})
  533. }
  534. )
  535. }
  536. /** 创建来自文件的知识 POST /api/ai/knowledge/createWithFile */
  537. export async function postAiKnowledgeCreateWithFile(
  538. body: {
  539. knowledge_base_id: string
  540. fileId: string
  541. metadata: Record<string, any>
  542. enable_multi_model: boolean
  543. },
  544. options?: { [key: string]: any }
  545. ) {
  546. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  547. '/api/ai/knowledge/createWithFile',
  548. {
  549. method: 'POST',
  550. headers: {
  551. 'Content-Type': 'application/json'
  552. },
  553. data: body,
  554. ...(options || {})
  555. }
  556. )
  557. }
  558. /** 创建自定义知识 POST /api/ai/knowledge/createWithManual */
  559. export async function postAiKnowledgeCreateWithManual(
  560. body: {
  561. knowledge_base_id: string
  562. title: string
  563. content: string
  564. publish: boolean
  565. },
  566. options?: { [key: string]: any }
  567. ) {
  568. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  569. '/api/ai/knowledge/createWithManual',
  570. {
  571. method: 'POST',
  572. headers: {
  573. 'Content-Type': 'application/json'
  574. },
  575. data: body,
  576. ...(options || {})
  577. }
  578. )
  579. }
  580. /** 删除知识 POST /api/ai/knowledge/delete */
  581. export async function postAiKnowledgeOpenApiDelete(
  582. body: {
  583. id: string
  584. },
  585. options?: { [key: string]: any }
  586. ) {
  587. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  588. '/api/ai/knowledge/delete',
  589. {
  590. method: 'POST',
  591. headers: {
  592. 'Content-Type': 'application/json'
  593. },
  594. data: body,
  595. ...(options || {})
  596. }
  597. )
  598. }
  599. /** 获取详情 POST /api/ai/knowledge/info */
  600. export async function postAiKnowledgeInfo(
  601. body: {
  602. id: string
  603. },
  604. options?: { [key: string]: any }
  605. ) {
  606. return request<{
  607. isSuccess: boolean
  608. code: number
  609. result: {
  610. channel: string
  611. creationTime: string
  612. description: string
  613. embedding_model_id: string
  614. enable_status: string
  615. error_message: string
  616. file_hash: string
  617. file_name: string
  618. file_path: string
  619. file_size: number
  620. file_type: string
  621. id: string
  622. isDeleted: boolean
  623. knowledge_base_id: string
  624. metadata: {
  625. updated_at: string
  626. format: string
  627. version: number
  628. content: string
  629. status: string
  630. }
  631. parse_status: string
  632. source: string
  633. storage_size: number
  634. summary_status: string
  635. tag_id: string
  636. title: string
  637. type: string
  638. updateTime: string
  639. userId: string
  640. }
  641. isAuthorized: boolean
  642. }>('/api/ai/knowledge/info', {
  643. method: 'POST',
  644. headers: {
  645. 'Content-Type': 'application/json'
  646. },
  647. data: body,
  648. ...(options || {})
  649. })
  650. }
  651. /** 获取知识分页列表 POST /api/ai/knowledge/pageList */
  652. export async function postAiKnowledgePageList(
  653. body: {
  654. knowledge_base_id: string
  655. title: string
  656. file_type: string
  657. pageIndex: number
  658. pageSize: number
  659. },
  660. options?: { [key: string]: any }
  661. ) {
  662. return request<{
  663. isSuccess: boolean
  664. code: number
  665. result: {
  666. currentPage: number
  667. hasNextPage: boolean
  668. hasPreviousPage: boolean
  669. model: {
  670. channel?: string
  671. creationTime?: string
  672. description?: string
  673. embedding_model_id?: string
  674. enable_status?: string
  675. error_message?: string
  676. file_hash?: string
  677. file_name?: string
  678. file_path?: string
  679. file_size?: number
  680. file_type?: string
  681. id?: string
  682. isDeleted?: boolean
  683. knowledge_base_id?: string
  684. metadata?: Record<string, any>
  685. parse_status?: string
  686. source?: string
  687. storage_size?: number
  688. summary_status?: string
  689. tag_id?: string
  690. title?: string
  691. type?: string
  692. updateTime?: string
  693. }[]
  694. pageSize: number
  695. totalCount: number
  696. totalPages: number
  697. }
  698. isAuthorized: boolean
  699. }>('/api/ai/knowledge/pageList', {
  700. method: 'POST',
  701. headers: {
  702. 'Content-Type': 'application/json'
  703. },
  704. data: body,
  705. ...(options || {})
  706. })
  707. }
  708. /** 重新解析知识 POST /api/ai/knowledge/reparse */
  709. export async function postAiKnowledgeReparse(
  710. body: {
  711. id: string
  712. },
  713. options?: { [key: string]: any }
  714. ) {
  715. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  716. '/api/ai/knowledge/reparse',
  717. {
  718. method: 'POST',
  719. headers: {
  720. 'Content-Type': 'application/json'
  721. },
  722. data: body,
  723. ...(options || {})
  724. }
  725. )
  726. }
  727. /** 更新知识 POST /api/ai/knowledge/update */
  728. export async function postAiKnowledgeUpdate(
  729. body: {
  730. id: string
  731. title: string
  732. description: string
  733. },
  734. options?: { [key: string]: any }
  735. ) {
  736. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  737. '/api/ai/knowledge/update',
  738. {
  739. method: 'POST',
  740. headers: {
  741. 'Content-Type': 'application/json'
  742. },
  743. data: body,
  744. ...(options || {})
  745. }
  746. )
  747. }
  748. /** 查询异步任务状态 状态 0: 已创建 1: 运行中 2: 成功 3: 失败 4: 挂起 POST /api/bpm/getAsynTaskInfo */
  749. export async function postBpmGetAsynTaskInfo(
  750. body: {
  751. id: string
  752. },
  753. options?: { [key: string]: any }
  754. ) {
  755. return request<{
  756. isSuccess: boolean
  757. code: number
  758. result: {
  759. appPageCode: string
  760. argsInput: { args: { name?: string; value?: string }[] }
  761. code: string
  762. creationTime: string
  763. creatorUserId: string
  764. downFileId: string
  765. entityId: string
  766. fileId: string
  767. htmlStatusInfo: string
  768. id: string
  769. isDeleted: boolean
  770. nodeId: string
  771. params: string
  772. progress: string
  773. status: number
  774. taskId: string
  775. type: number
  776. updateTime: string
  777. }
  778. isAuthorized: boolean
  779. }>('/api/bpm/getAsynTaskInfo', {
  780. method: 'POST',
  781. headers: {
  782. 'Content-Type': 'application/json'
  783. },
  784. data: body,
  785. ...(options || {})
  786. })
  787. }