@posiwise/common-services 0.1.65 → 0.1.66
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.
- package/esm2022/index.mjs +3 -1
- package/esm2022/lib/brain-api-http.service.mjs +26 -0
- package/esm2022/lib/brain.service.mjs +32 -0
- package/fesm2022/posiwise-common-services.mjs +49 -2
- package/fesm2022/posiwise-common-services.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/brain-api-http.service.d.ts +10 -0
- package/lib/brain.service.d.ts +10 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Injector } from '@angular/core';
|
|
3
|
+
import { BaseHttpService } from './base-http.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BrainApiHttpService extends BaseHttpService {
|
|
6
|
+
constructor(http: HttpClient, injector: Injector);
|
|
7
|
+
getConfig(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrainApiHttpService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BrainApiHttpService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BrainApiHttpService } from './brain-api-http.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BrainApiService {
|
|
4
|
+
private api;
|
|
5
|
+
constructor(api: BrainApiHttpService);
|
|
6
|
+
invokeClaude(sessionId: string, prompt: string): import("rxjs").Observable<any>;
|
|
7
|
+
invokeDeepseek(sessionId: string, prompt: string, temperature?: number, max_tokens?: number): import("rxjs").Observable<any>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrainApiService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BrainApiService>;
|
|
10
|
+
}
|