mirror of
				https://github.com/hwchase17/langchain.git
				synced 2025-11-04 10:10:09 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			6 lines
		
	
	
		
			213 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			213 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from openai_functions_agent.agent import agent_executor
 | 
						|
 | 
						|
if __name__ == "__main__":
 | 
						|
    question = "who won the womens world cup in 2023?"
 | 
						|
    print(agent_executor.invoke({"input": question, "chat_history": []}))
 |