riteshraut
		
	commited on
		
		
					Commit 
							
							·
						
						2f22e27
	
1
								Parent(s):
							
							f2e217a
								
fix
Browse files- rag_processor.py +1 -1
    	
        rag_processor.py
    CHANGED
    
    | @@ -16,7 +16,7 @@ def create_rag_chain(base_retriever, get_session_history_func, embedding_model, | |
| 16 | 
             
                if not api_key or api_key == "your_groq_api_key_here":
         | 
| 17 | 
             
                    raise ValueError("GROQ_API_KEY not found or not configured properly.")
         | 
| 18 |  | 
| 19 | 
            -
                llm = ChatGroq(model_name=" | 
| 20 |  | 
| 21 | 
             
                # 1. HyDE-like Document Generation Chain
         | 
| 22 | 
             
                hyde_template = """As a document expert, write a concise, fact-based paragraph that directly answers the user's question. This will be used for a database search.
         | 
|  | |
| 16 | 
             
                if not api_key or api_key == "your_groq_api_key_here":
         | 
| 17 | 
             
                    raise ValueError("GROQ_API_KEY not found or not configured properly.")
         | 
| 18 |  | 
| 19 | 
            +
                llm = ChatGroq(model_name="moonshotai/kimi-k2-instruct-0905", api_key=api_key, temperature=0.1)
         | 
| 20 |  | 
| 21 | 
             
                # 1. HyDE-like Document Generation Chain
         | 
| 22 | 
             
                hyde_template = """As a document expert, write a concise, fact-based paragraph that directly answers the user's question. This will be used for a database search.
         |