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