praisonaiagents 0.0.8__tar.gz → 0.0.9__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/PKG-INFO +1 -1
  2. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/agent/agent.py +6 -6
  3. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/agents/agents.py +2 -2
  4. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents.egg-info/PKG-INFO +1 -1
  5. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/pyproject.toml +1 -1
  6. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/__init__.py +0 -0
  7. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/agent/__init__.py +0 -0
  8. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/agents/__init__.py +0 -0
  9. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/build/lib/praisonaiagents/__init__.py +0 -0
  10. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/build/lib/praisonaiagents/agent/__init__.py +0 -0
  11. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/build/lib/praisonaiagents/agent/agent.py +0 -0
  12. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/build/lib/praisonaiagents/agents/__init__.py +0 -0
  13. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/build/lib/praisonaiagents/agents/agents.py +0 -0
  14. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/build/lib/praisonaiagents/main.py +0 -0
  15. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/build/lib/praisonaiagents/task/__init__.py +0 -0
  16. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/build/lib/praisonaiagents/task/task.py +0 -0
  17. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/main.py +0 -0
  18. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/task/__init__.py +0 -0
  19. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents/task/task.py +0 -0
  20. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents.egg-info/SOURCES.txt +0 -0
  21. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents.egg-info/dependency_links.txt +0 -0
  22. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents.egg-info/requires.txt +0 -0
  23. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/praisonaiagents.egg-info/top_level.txt +0 -0
  24. {praisonaiagents-0.0.8 → praisonaiagents-0.0.9}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: praisonaiagents
3
- Version: 0.0.8
3
+ Version: 0.0.9
4
4
  Summary: Praison AI agents for completing complex tasks with Self Reflection Agents
5
5
  Author: Mervin Praison
6
6
  Requires-Dist: pydantic
@@ -290,8 +290,8 @@ class Agent:
290
290
  def chat(self, prompt, temperature=0.2, tools=None, output_json=None):
291
291
  if self.use_system_prompt:
292
292
  system_prompt = f"""{self.backstory}\n
293
- Your Role: {self.role}\n
294
- Your Goal: {self.goal}
293
+ Your Role: {self.role}\n
294
+ Your Goal: {self.goal}
295
295
  """
296
296
  else:
297
297
  system_prompt = None
@@ -364,10 +364,10 @@ class Agent:
364
364
  return response_text
365
365
 
366
366
  reflection_prompt = f"""
367
- Reflect on your previous response: '{response_text}'.
368
- Identify any flaws, improvements, or actions.
369
- Provide a "satisfactory" status ('yes' or 'no').
370
- Output MUST be JSON with 'reflection' and 'satisfactory'.
367
+ Reflect on your previous response: '{response_text}'.
368
+ Identify any flaws, improvements, or actions.
369
+ Provide a "satisfactory" status ('yes' or 'no').
370
+ Output MUST be JSON with 'reflection' and 'satisfactory'.
371
371
  """
372
372
  logging.debug(f"{self.name} reflection attempt {reflection_count+1}, sending prompt: {reflection_prompt}")
373
373
  messages.append({"role": "user", "content": reflection_prompt})
@@ -64,8 +64,8 @@ class PraisonAIAgents:
64
64
  executor_agent = task.agent
65
65
 
66
66
  task_prompt = f"""
67
- You need to do the following task: {task.description}.
68
- Expected Output: {task.expected_output}.
67
+ You need to do the following task: {task.description}.
68
+ Expected Output: {task.expected_output}.
69
69
  """
70
70
  if task.context:
71
71
  context_results = ""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: praisonaiagents
3
- Version: 0.0.8
3
+ Version: 0.0.9
4
4
  Summary: Praison AI agents for completing complex tasks with Self Reflection Agents
5
5
  Author: Mervin Praison
6
6
  Requires-Dist: pydantic
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "praisonaiagents"
7
- version = "0.0.8"
7
+ version = "0.0.9"
8
8
  description = "Praison AI agents for completing complex tasks with Self Reflection Agents"
9
9
  authors = [
10
10
  { name="Mervin Praison" }