env
This commit is contained in:
parent
3757f3d24a
commit
f51639547a
@ -8,8 +8,8 @@ import { environment } from 'src/environments/environment';
|
||||
})
|
||||
export class SiteTreeservice {
|
||||
private baseURL = "SiteTree/SiteTree";
|
||||
private dlfbaseURL = environment.builderUrl + "/entityBuilder";
|
||||
private nodeURL = environment.nodeUrl;
|
||||
private dlfbaseURL = environment.nodeUrl + "/entityBuilder";
|
||||
private llmURL = environment.nodeUrl + "/llm";
|
||||
private geminiURL = environment.ollamaUrl;
|
||||
|
||||
|
||||
@ -55,11 +55,11 @@ export class SiteTreeservice {
|
||||
}
|
||||
|
||||
callLlm(data: any): Observable<any> {
|
||||
return this.http.post(`${this.nodeURL}/chatMemory`, data);
|
||||
return this.http.post(`${this.llmURL}/chatMemory`, data);
|
||||
}
|
||||
|
||||
callGemini(data: any): Observable<any> {
|
||||
return this.http.post(`${this.geminiURL}/api/gemini`, data);
|
||||
return this.http.post(`${this.llmURL}/api/gemini`, data);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -10,13 +10,12 @@ export const environment = {
|
||||
// changeblelocal configs url
|
||||
captchaSiteKey: '6LfrdSUpAAAAALkYDmnvdX3GLLCArgPWNHfXasjP',
|
||||
|
||||
// backport:'31701/visaproject36808/back',
|
||||
// backendUrl:'http://localhost:9292/back',
|
||||
nodeUrl:'http://157.66.191.31:31170/llm',
|
||||
builderUrl:'http://157.66.191.31:31170',
|
||||
// backendUrl: 'http://localhost:9292/back',
|
||||
ollamaUrl: 'http://localhost:8080/llm',
|
||||
nodeUrl: 'http://157.66.191.31:31170',
|
||||
|
||||
|
||||
backendUrl:'http://157.66.191.31:30101/back',
|
||||
backendUrl: 'http://157.66.191.31:30101/back',
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user