web-core-tcm 0.0.36 → 0.0.37

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.
@@ -1,7 +1,7 @@
1
1
  import { ComprehensiveAlgorithm } from '../..';
2
- export declare class AlovaComprehensiveAlgorithm implements ComprehensiveAlgorithm {
3
- comprehensiveDeepSeekR1Algorithm(data: object): Promise<Response>;
4
- comprehensiveDeepSeekV3Algorithm(data: object): Promise<Response>;
5
- comprehensiveQwenAlgorithm(data: object): Promise<Response>;
6
- doctorSceneTextAnalysis(data: object): Promise<Response>;
2
+ export declare class AlovaComprehensiveAlgorithm extends ComprehensiveAlgorithm {
3
+ static comprehensiveDeepSeekR1Algorithm(data: object): Promise<Response>;
4
+ static comprehensiveDeepSeekV3Algorithm(data: object): Promise<Response>;
5
+ static comprehensiveQwenAlgorithm(data: object): Promise<Response>;
6
+ static doctorSceneTextAnalysis(data: object): Promise<Response>;
7
7
  }
@@ -1,26 +1,26 @@
1
1
  import { comprehensiveAlgorithmService as t } from "../index.js";
2
- import "../../comprehensiveAlgorithm.js";
2
+ import { ComprehensiveAlgorithm as o } from "../../comprehensiveAlgorithm.js";
3
3
  import "../../inquiriesAlgorithm.js";
4
4
  import "../../inspectionsAlgorithm.js";
5
5
  import "../../lisemsAlgorithm.js";
6
6
  import "../../pulsationsAlgorithm.js";
7
- class h {
8
- comprehensiveDeepSeekR1Algorithm(e) {
7
+ class h extends o {
8
+ static comprehensiveDeepSeekR1Algorithm(e) {
9
9
  return t.Post("/千问大模型分析", e, {
10
10
  timeout: 3e4
11
11
  }).send();
12
12
  }
13
- comprehensiveDeepSeekV3Algorithm(e) {
13
+ static comprehensiveDeepSeekV3Algorithm(e) {
14
14
  return t.Post("/DeepSeekV3大模型分析", e, {
15
15
  timeout: 3e4
16
16
  }).send();
17
17
  }
18
- comprehensiveQwenAlgorithm(e) {
18
+ static comprehensiveQwenAlgorithm(e) {
19
19
  return t.Post("/DeepSeekR1大模型分析", e, {
20
20
  timeout: 3e5
21
21
  }).send();
22
22
  }
23
- doctorSceneTextAnalysis(e) {
23
+ static doctorSceneTextAnalysis(e) {
24
24
  return t.Post("/医生场景文本", e, {
25
25
  timeout: 3e5
26
26
  }).send();
@@ -1,15 +1,15 @@
1
1
  import { InquiriesAlgorithm } from '../..';
2
- export declare class AlovaInquiriesAlgorithm implements InquiriesAlgorithm {
3
- complaintsRecognition(symptomDescription: string): Promise<string[]>;
4
- complaintsDialog(body: object): Promise<{
2
+ export declare class AlovaInquiriesAlgorithm extends InquiriesAlgorithm {
3
+ static complaintsRecognition(symptomDescription: string): Promise<string[]>;
4
+ static complaintsDialog(body: object): Promise<{
5
5
  reply: string;
6
6
  positive_symptom: string[];
7
7
  }>;
8
- complaintsView(params: string): Promise<{
8
+ static complaintsView(params: string): Promise<{
9
9
  symptoms: string[];
10
10
  }>;
11
- complaintsSearch(data: string): Promise<string[]>;
12
- complaintsChoose(body: object): Promise<{
11
+ static complaintsSearch(data: string): Promise<string[]>;
12
+ static complaintsChoose(body: object): Promise<{
13
13
  status: string;
14
14
  data: [];
15
15
  }>;
@@ -1,26 +1,26 @@
1
- import { inquiriesAlgorithmService as t } from "../index.js";
1
+ import { inquiriesAlgorithmService as i } from "../index.js";
2
2
  import "../../comprehensiveAlgorithm.js";
3
- import "../../inquiriesAlgorithm.js";
3
+ import { InquiriesAlgorithm as o } from "../../inquiriesAlgorithm.js";
4
4
  import "../../inspectionsAlgorithm.js";
5
5
  import "../../lisemsAlgorithm.js";
6
6
  import "../../pulsationsAlgorithm.js";
7
- class l {
8
- complaintsRecognition(o) {
9
- return t.Post("/主诉/识别", { symptomDescription: o }).send();
7
+ class p extends o {
8
+ static complaintsRecognition(t) {
9
+ return i.Post("/主诉/识别", { symptomDescription: t }).send();
10
10
  }
11
- complaintsDialog(o) {
12
- return t.Post("/主诉/对话", o).send();
11
+ static complaintsDialog(t) {
12
+ return i.Post("/主诉/对话", t).send();
13
13
  }
14
- complaintsView(o) {
15
- return t.Post("/主诉/视图", { params: o }).send();
14
+ static complaintsView(t) {
15
+ return i.Post("/主诉/视图", { params: t }).send();
16
16
  }
17
- complaintsSearch(o) {
18
- return t.Post("/主诉/搜索", { data: o }).send();
17
+ static complaintsSearch(t) {
18
+ return i.Post("/主诉/搜索", { data: t }).send();
19
19
  }
20
- complaintsChoose(o) {
21
- return t.Post("/主诉/选择", o).send();
20
+ static complaintsChoose(t) {
21
+ return i.Post("/主诉/选择", t).send();
22
22
  }
23
23
  }
24
24
  export {
25
- l as AlovaInquiriesAlgorithm
25
+ p as AlovaInquiriesAlgorithm
26
26
  };
@@ -1,5 +1,5 @@
1
1
  import { InspectionsAlgorithm } from '../..';
2
- export declare class AlovaInspectionsAlgorithm implements InspectionsAlgorithm {
2
+ export declare class AlovaInspectionsAlgorithm extends InspectionsAlgorithm {
3
3
  static tongueAnalyze(images: FormData): Promise<JSON>;
4
4
  static faceAnalyze(images: FormData): Promise<JSON>;
5
5
  }
@@ -1,10 +1,10 @@
1
1
  import { inspectionAlgorithmService as o } from "../index.js";
2
2
  import "../../comprehensiveAlgorithm.js";
3
3
  import "../../inquiriesAlgorithm.js";
4
- import "../../inspectionsAlgorithm.js";
4
+ import { InspectionsAlgorithm as e } from "../../inspectionsAlgorithm.js";
5
5
  import "../../lisemsAlgorithm.js";
6
6
  import "../../pulsationsAlgorithm.js";
7
- class a {
7
+ class a extends e {
8
8
  static tongueAnalyze(t) {
9
9
  return o.Post("/舌象", t, {
10
10
  timeout: 3e4
@@ -1,5 +1,5 @@
1
1
  import { LisemsAlgorithm } from '../..';
2
- export declare class AlovaLisemsAlgorithm implements LisemsAlgorithm {
3
- analysisLisems(body: object): Promise<JSON>;
4
- getFrequencyDomainDiagram(body: number[]): Promise<string>;
2
+ export declare class AlovaLisemsAlgorithm extends LisemsAlgorithm {
3
+ static analysisLisems(body: object): Promise<JSON>;
4
+ static getFrequencyDomainDiagram(body: number[]): Promise<string>;
5
5
  }
@@ -1,26 +1,26 @@
1
- import { lisemsAlgorithmService as o } from "../index.js";
1
+ import { lisemsAlgorithmService as s } from "../index.js";
2
2
  import "../../comprehensiveAlgorithm.js";
3
3
  import "../../inquiriesAlgorithm.js";
4
4
  import "../../inspectionsAlgorithm.js";
5
- import "../../lisemsAlgorithm.js";
5
+ import { LisemsAlgorithm as o } from "../../lisemsAlgorithm.js";
6
6
  import "../../pulsationsAlgorithm.js";
7
- class p {
8
- analysisLisems(r) {
9
- return o.Post("/特征参数", r, {
7
+ class g extends o {
8
+ static analysisLisems(r) {
9
+ return s.Post("/特征参数", r, {
10
10
  transform(t) {
11
11
  return t.json();
12
12
  }
13
13
  }).send();
14
14
  }
15
- getFrequencyDomainDiagram(r) {
16
- return o.Post("/频域图", JSON.stringify(r), {
15
+ static getFrequencyDomainDiagram(r) {
16
+ return s.Post("/频域图", JSON.stringify(r), {
17
17
  async transform(t) {
18
- const s = await t.blob();
19
- return URL.createObjectURL(s);
18
+ const i = await t.blob();
19
+ return URL.createObjectURL(i);
20
20
  }
21
21
  }).send();
22
22
  }
23
23
  }
24
24
  export {
25
- p as AlovaLisemsAlgorithm
25
+ g as AlovaLisemsAlgorithm
26
26
  };
@@ -1,7 +1,7 @@
1
1
  import { PulsationsAlgorithm } from '../..';
2
- export declare class AlovaPulsationsAlgorithm implements PulsationsAlgorithm {
3
- pulsationPreprocessing(pulsation: object): Promise<{
2
+ export declare class AlovaPulsationsAlgorithm extends PulsationsAlgorithm {
3
+ static pulsationPreprocessing(pulsation: object): Promise<{
4
4
  [key: string]: number[];
5
5
  }>;
6
- pulsationAnalysis(pulsation: object): Promise<JSON>;
6
+ static pulsationAnalysis(pulsation: object): Promise<JSON>;
7
7
  }
@@ -1,19 +1,19 @@
1
- import { pulsationsAlgorithmService as t } from "../index.js";
1
+ import { pulsationsAlgorithmService as o } from "../index.js";
2
2
  import "../../comprehensiveAlgorithm.js";
3
3
  import "../../inquiriesAlgorithm.js";
4
4
  import "../../inspectionsAlgorithm.js";
5
5
  import "../../lisemsAlgorithm.js";
6
- import "../../pulsationsAlgorithm.js";
7
- class l {
8
- pulsationPreprocessing(o) {
9
- return t.Post("/预处理", o, {}).send();
6
+ import { PulsationsAlgorithm as s } from "../../pulsationsAlgorithm.js";
7
+ class a extends s {
8
+ static pulsationPreprocessing(t) {
9
+ return o.Post("/预处理", t, {}).send();
10
10
  }
11
- pulsationAnalysis(o) {
12
- return t.Post("/特征参数", o, {
11
+ static pulsationAnalysis(t) {
12
+ return o.Post("/特征参数", t, {
13
13
  timeout: 3e4
14
14
  }).send();
15
15
  }
16
16
  }
17
17
  export {
18
- l as AlovaPulsationsAlgorithm
18
+ a as AlovaPulsationsAlgorithm
19
19
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-core-tcm",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "description": "Core",
5
5
  "productName": "Core",
6
6
  "author": "wywywywywywywywywy <qa123456_0714@qq.com>",