new(basic.gblib): New batch features.
This commit is contained in:
		
							parent
							
								
									1af8cb99bf
								
							
						
					
					
						commit
						7b7b6330fb
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -583,6 +583,9 @@ export class ChatServices {
 | 
				
			||||||
      result = await finalChain.invoke({
 | 
					      result = await finalChain.invoke({
 | 
				
			||||||
        question: question
 | 
					        question: question
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
 | 
					      GBLogEx.info(min, `LLM SQL: ${result.sql}`);
 | 
				
			||||||
 | 
					      result = result.result;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    } else if (LLMMode === 'nochain') {
 | 
					    } else if (LLMMode === 'nochain') {
 | 
				
			||||||
      result = await (tools.length > 0 ? modelWithTools : model).invoke(`
 | 
					      result = await (tools.length > 0 ? modelWithTools : model).invoke(`
 | 
				
			||||||
      ${systemPrompt}
 | 
					      ${systemPrompt}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue