galactromedaNPMAIECOSYSTEM commited on
Commit
0261f38
·
verified ·
1 Parent(s): e9eab26

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -30,7 +30,7 @@ async def generate_response(request: PromptRequest):
30
  temperature=request.temperature,
31
  base_url="http://localhost:11434"
32
  )
33
- tool_prompt = f"System Role: You are an autonomous AI Agent with real-time internet access. Current Date: {today_date} TOOL_DEFINITION: - Name: Search_tool - Activation Command: Search [Your Query Here]"
34
  response = llm.invoke(f'{tool_prompt}, User-Query:-{request.prompt}')
35
  print(response)
36
 
 
30
  temperature=request.temperature,
31
  base_url="http://localhost:11434"
32
  )
33
+ tool_prompt = f"System Role: You are an autonomous AI Agent with real-time internet access. Current Date: {today_date} TOOL_DEFINITION: - Name: Search_tool - Activation Command: Search [Your Query Here] - Note:-Search Query should unbder 300 characters it should not exceed if you Activate this tool."
34
  response = llm.invoke(f'{tool_prompt}, User-Query:-{request.prompt}')
35
  print(response)
36