# Write your Python code here
#Basic agentic
class Gemini_LLM:
def generate response (self,prompt):
#gemini key
#make http call
return "this is aa dummy response from"+self model +name
class practo tool:
def_init_(self,name)
self.name=name
def use tool(self,input):
#api url
#api key
#http call
print("use tool"+self.name+"with input"+input)
class agent:
def_init_(self,name,llm,tool):
self.name=name
self.llm=llm
self.tool=tool
def give advice (self,symptom):
#llm=gemini_llm.generate response("provide advice for the symptom"+symptom)
print("advice for"+symptom+"response")
def take action (self, input):
tool.use tool(input)
def give advice and take action (self,symptom):
self.give advice (symptom)
self.take action (symptom)
greet()
name="Ramesh"
age=30
symptomlist=[{
"name":"cought"
"severity":"mild"
"duration":"2days"
"priority":1
},
{
" name":"fever"
"severity":"high"
"duration":"3days"
"priority":2
}],
symptom=take input ()
llm=gemini_llm("gemini_llm")
agent=agent("health botl.0")
agent.give advice(symptom)