knowledge.ts 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  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. child_chunk_size: number
  369. chunk_overlap: number
  370. chunk_size: number
  371. enable_parent_child: boolean
  372. parent_chunk_size: number
  373. parser_engine_rules: { engine: string; file_types: string[] }[]
  374. separators: string[]
  375. }
  376. creationTime: string
  377. creatorUserId: string
  378. description: string
  379. embedding_model_id: string
  380. faq_config: { index_mode: string; question_index_mode: string }
  381. id: string
  382. indexing_strategy: {
  383. graph_enabled: boolean
  384. keyword_enabled: boolean
  385. vector_enabled: boolean
  386. wiki_enabled: boolean
  387. }
  388. isDeleted: boolean
  389. is_pinned: boolean
  390. is_temporary: boolean
  391. name: string
  392. question_generation_config: { enabled: boolean; question_count: number }
  393. storage_config: { provider: string }
  394. storage_provider_config: { provider: string }
  395. summary_model_id: string
  396. type: string
  397. updateTime: string
  398. vlm_config: { enabled: boolean; model_id: string }
  399. wiki_config: {
  400. extraction_granularity: string
  401. max_pages_per_ingest: number
  402. synthesis_model_id: string
  403. }
  404. }
  405. isAuthorized: boolean
  406. }>('/api/ai/knowledge-base/info', {
  407. method: 'POST',
  408. headers: {
  409. 'Content-Type': 'application/json'
  410. },
  411. data: body,
  412. ...(options || {})
  413. })
  414. }
  415. /** 获取知识库分页列表 POST /api/ai/knowledge-base/pageList */
  416. export async function postAiKnowledgeBasePageList(
  417. body: {
  418. keyword: string
  419. type: string
  420. pageIndex: number
  421. pageSize: number
  422. },
  423. options?: { [key: string]: any }
  424. ) {
  425. return request<{
  426. isSuccess: boolean
  427. code: number
  428. result: {
  429. currentPage: number
  430. hasNextPage: boolean
  431. hasPreviousPage: boolean
  432. model: {
  433. asr_config: { enabled: boolean; language: string; model_id: string }
  434. chunking_config: {
  435. child_chunk_size: number
  436. chunk_overlap: number
  437. chunk_size: number
  438. enable_parent_child: boolean
  439. parent_chunk_size: number
  440. parser_engine_rules: { engine: string; file_types: string[] }[]
  441. separators: string[]
  442. }
  443. creationTime: string
  444. creatorUserId: string
  445. description: string
  446. embedding_model_id: string
  447. faq_config: { index_mode: string; question_index_mode: string }
  448. id: string
  449. indexing_strategy: {
  450. graph_enabled: boolean
  451. keyword_enabled: boolean
  452. vector_enabled: boolean
  453. wiki_enabled: boolean
  454. }
  455. isDeleted: boolean
  456. is_pinned: boolean
  457. is_temporary: boolean
  458. name: string
  459. question_generation_config: { enabled: boolean; question_count: number }
  460. storage_config: { provider: string }
  461. storage_provider_config: { provider: string }
  462. summary_model_id: string
  463. type: string
  464. updateTime: string
  465. vlm_config: { enabled: boolean; model_id: string }
  466. wiki_config: {
  467. extraction_granularity: string
  468. max_pages_per_ingest: number
  469. synthesis_model_id: string
  470. }
  471. extract_config: { enabled: boolean }
  472. }[]
  473. pageSize: number
  474. totalCount: number
  475. totalPages: number
  476. }
  477. isAuthorized: boolean
  478. }>('/api/ai/knowledge-base/pageList', {
  479. method: 'POST',
  480. headers: {
  481. 'Content-Type': 'application/json'
  482. },
  483. data: body,
  484. ...(options || {})
  485. })
  486. }
  487. /** 更新知识库 POST /api/ai/knowledge-base/update */
  488. export async function postAiKnowledgeBaseUpdate(
  489. body: {
  490. id: string
  491. name: string
  492. description: string
  493. wiki_config: {
  494. extraction_granularity: string
  495. max_pages_per_ingest: number
  496. synthesis_model_id: string
  497. }
  498. indexing_strategy: {
  499. graph_enabled: boolean
  500. keyword_enabled: boolean
  501. vector_enabled: boolean
  502. wiki_enabled: boolean
  503. }
  504. chunking_config: {
  505. chunk_size: number
  506. chunk_overlap: number
  507. separators: string[]
  508. parser_engine_rules: { engine: string; file_types: string[] }[]
  509. enable_parent_child: boolean
  510. parent_chunk_size: number
  511. child_chunk_size: number
  512. }
  513. embedding_model_id: string
  514. summary_model_id: string
  515. vlm_config: { model_id: string; enabled: boolean }
  516. asr_config: { model_id: string; language: string; enabled: boolean }
  517. storage_provider_config: { provider: string }
  518. storage_config: { provider: string }
  519. question_generation_config: { enabled: boolean; question_count: number }
  520. },
  521. options?: { [key: string]: any }
  522. ) {
  523. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  524. '/api/ai/knowledge-base/update',
  525. {
  526. method: 'POST',
  527. headers: {
  528. 'Content-Type': 'application/json'
  529. },
  530. data: body,
  531. ...(options || {})
  532. }
  533. )
  534. }
  535. /** 创建来自文件的知识 POST /api/ai/knowledge/createWithFile */
  536. export async function postAiKnowledgeCreateWithFile(
  537. body: {
  538. knowledge_base_id: string
  539. fileId: string
  540. metadata: Record<string, any>
  541. enable_multi_model: boolean
  542. },
  543. options?: { [key: string]: any }
  544. ) {
  545. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  546. '/api/ai/knowledge/createWithFile',
  547. {
  548. method: 'POST',
  549. headers: {
  550. 'Content-Type': 'application/json'
  551. },
  552. data: body,
  553. ...(options || {})
  554. }
  555. )
  556. }
  557. /** 创建自定义知识 POST /api/ai/knowledge/createWithManual */
  558. export async function postAiKnowledgeCreateWithManual(
  559. body: {
  560. knowledge_base_id: string
  561. title: string
  562. content: string
  563. publish: boolean
  564. },
  565. options?: { [key: string]: any }
  566. ) {
  567. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  568. '/api/ai/knowledge/createWithManual',
  569. {
  570. method: 'POST',
  571. headers: {
  572. 'Content-Type': 'application/json'
  573. },
  574. data: body,
  575. ...(options || {})
  576. }
  577. )
  578. }
  579. /** 删除知识 POST /api/ai/knowledge/delete */
  580. export async function postAiKnowledgeOpenApiDelete(
  581. body: {
  582. id: string
  583. },
  584. options?: { [key: string]: any }
  585. ) {
  586. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  587. '/api/ai/knowledge/delete',
  588. {
  589. method: 'POST',
  590. headers: {
  591. 'Content-Type': 'application/json'
  592. },
  593. data: body,
  594. ...(options || {})
  595. }
  596. )
  597. }
  598. /** 获取详情 POST /api/ai/knowledge/info */
  599. export async function postAiKnowledgeInfo(
  600. body: {
  601. id: string
  602. },
  603. options?: { [key: string]: any }
  604. ) {
  605. return request<{
  606. isSuccess: boolean
  607. code: number
  608. result: {
  609. channel: string
  610. creationTime: string
  611. description: string
  612. embedding_model_id: string
  613. enable_status: string
  614. error_message: string
  615. file_hash: string
  616. file_name: string
  617. file_path: string
  618. file_size: number
  619. file_type: string
  620. id: string
  621. isDeleted: boolean
  622. knowledge_base_id: string
  623. metadata: {
  624. updated_at: string
  625. format: string
  626. version: number
  627. content: string
  628. status: string
  629. }
  630. parse_status: string
  631. source: string
  632. storage_size: number
  633. summary_status: string
  634. tag_id: string
  635. title: string
  636. type: string
  637. updateTime: string
  638. userId: string
  639. }
  640. isAuthorized: boolean
  641. }>('/api/ai/knowledge/info', {
  642. method: 'POST',
  643. headers: {
  644. 'Content-Type': 'application/json'
  645. },
  646. data: body,
  647. ...(options || {})
  648. })
  649. }
  650. /** 获取知识分页列表 POST /api/ai/knowledge/pageList */
  651. export async function postAiKnowledgePageList(
  652. body: {
  653. knowledge_base_id: string
  654. title: string
  655. file_type: string
  656. pageIndex: number
  657. pageSize: number
  658. },
  659. options?: { [key: string]: any }
  660. ) {
  661. return request<{
  662. isSuccess: boolean
  663. code: number
  664. result: {
  665. currentPage: number
  666. hasNextPage: boolean
  667. hasPreviousPage: boolean
  668. model: {
  669. channel?: string
  670. creationTime?: string
  671. description?: string
  672. embedding_model_id?: string
  673. enable_status?: string
  674. error_message?: string
  675. file_hash?: string
  676. file_name?: string
  677. file_path?: string
  678. file_size?: number
  679. file_type?: string
  680. id?: string
  681. isDeleted?: boolean
  682. knowledge_base_id?: string
  683. metadata?: Record<string, any>
  684. parse_status?: string
  685. source?: string
  686. storage_size?: number
  687. summary_status?: string
  688. tag_id?: string
  689. title?: string
  690. type?: string
  691. updateTime?: string
  692. }[]
  693. pageSize: number
  694. totalCount: number
  695. totalPages: number
  696. }
  697. isAuthorized: boolean
  698. }>('/api/ai/knowledge/pageList', {
  699. method: 'POST',
  700. headers: {
  701. 'Content-Type': 'application/json'
  702. },
  703. data: body,
  704. ...(options || {})
  705. })
  706. }
  707. /** 重新解析知识 POST /api/ai/knowledge/reparse */
  708. export async function postAiKnowledgeReparse(
  709. body: {
  710. id: string
  711. },
  712. options?: { [key: string]: any }
  713. ) {
  714. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  715. '/api/ai/knowledge/reparse',
  716. {
  717. method: 'POST',
  718. headers: {
  719. 'Content-Type': 'application/json'
  720. },
  721. data: body,
  722. ...(options || {})
  723. }
  724. )
  725. }
  726. /** 更新知识 POST /api/ai/knowledge/update */
  727. export async function postAiKnowledgeUpdate(
  728. body: {
  729. id: string
  730. title: string
  731. description: string
  732. },
  733. options?: { [key: string]: any }
  734. ) {
  735. return request<{ isSuccess: boolean; code: number; isAuthorized: boolean }>(
  736. '/api/ai/knowledge/update',
  737. {
  738. method: 'POST',
  739. headers: {
  740. 'Content-Type': 'application/json'
  741. },
  742. data: body,
  743. ...(options || {})
  744. }
  745. )
  746. }
  747. /** 查询异步任务状态 状态 0: 已创建 1: 运行中 2: 成功 3: 失败 4: 挂起 POST /api/bpm/getAsynTaskInfo */
  748. export async function postBpmGetAsynTaskInfo(
  749. body: {
  750. id: string
  751. },
  752. options?: { [key: string]: any }
  753. ) {
  754. return request<{
  755. isSuccess: boolean
  756. code: number
  757. result: {
  758. appPageCode: string
  759. argsInput: { args: { name?: string; value?: string }[] }
  760. code: string
  761. creationTime: string
  762. creatorUserId: string
  763. downFileId: string
  764. entityId: string
  765. fileId: string
  766. htmlStatusInfo: string
  767. id: string
  768. isDeleted: boolean
  769. nodeId: string
  770. params: string
  771. progress: string
  772. status: number
  773. taskId: string
  774. type: number
  775. updateTime: string
  776. }
  777. isAuthorized: boolean
  778. }>('/api/bpm/getAsynTaskInfo', {
  779. method: 'POST',
  780. headers: {
  781. 'Content-Type': 'application/json'
  782. },
  783. data: body,
  784. ...(options || {})
  785. })
  786. }