mirror of
https://github.com/aymenfurter/microagents.git
synced 2023-12-30 16:47:11 +03:00
Update microagent.py
This commit is contained in:
@@ -97,7 +97,7 @@ class MicroAgent:
|
||||
response = self.generate_response(input_text)
|
||||
self.evolve_prompt(input_text)
|
||||
return response
|
||||
|
||||
|
||||
def evaluate_agent(self, input_text):
|
||||
evaluation_query = f"Evaluate this input for quality and relevance (Possible Answers: Very Poor, Poor, Good): '{input_text}'"
|
||||
evaluation = openai.ChatCompletion.create(
|
||||
|
||||
Reference in New Issue
Block a user