taarhissian commited on
Commit
8a4919a
·
verified ·
1 Parent(s): e128c09

Create app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +14 -0
app/main.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Import the FarmFreshAgent class
2
+ from agent.farmfresh_agent import FarmFreshAgent
3
+
4
+ # Initialize the FarmFreshAgent
5
+ farm_agent = FarmFreshAgent()
6
+
7
+ # Example query for the agent
8
+ query = "What are the latest trends in organic farming?"
9
+
10
+ # Run the agent with the query
11
+ response = farm_agent.run_query(query)
12
+
13
+ # Print out the response
14
+ print(response)