new(whatsapp.gblib): LLM SQL.
This commit is contained in:
		
							parent
							
								
									fa6fe752cc
								
							
						
					
					
						commit
						681f398f14
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -506,7 +506,7 @@ export class ChatServices {
 | 
			
		|||
 | 
			
		||||
      const prompt = 
 | 
			
		||||
        PromptTemplate.fromTemplate(`Based on the provided SQL table schema below, write a SQL query that would answer the user's question.
 | 
			
		||||
          VERY IMPORTANT: Return just the  generated SQL command, nothing else.
 | 
			
		||||
          VERY IMPORTANT: Return just the  generated SQL command as plain text with no Markdown or formmating.
 | 
			
		||||
          ------------
 | 
			
		||||
    SCHEMA: {schema}
 | 
			
		||||
    ------------
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue