-
-
Notifications
You must be signed in to change notification settings - Fork 462
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from MervinPraison/develop
v0.0.38 Adding Ability for Each Agent to use Different LLM - CrewAI
- Loading branch information
Showing
16 changed files
with
936 additions
and
242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM python:3.11-slim | ||
WORKDIR /app | ||
COPY . . | ||
RUN pip install flask praisonai==0.0.37 gunicorn markdown | ||
RUN pip install flask praisonai==0.0.38 gunicorn markdown | ||
EXPOSE 8080 | ||
CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
framework: crewai | ||
topic: research about the causes of lung disease | ||
roles: | ||
research_analyst: | ||
backstory: Experienced in analyzing scientific data related to respiratory health. | ||
goal: Analyze data on lung diseases | ||
role: Research Analyst | ||
llm: | ||
model: "groq/llama3-70b-8192" | ||
function_calling_llm: | ||
model: "google/gemini-1.5-flash-001" | ||
allow_delegation: False | ||
max_execution_time: | ||
max_iter: | ||
max_rpm: | ||
verbose: True | ||
cache: True | ||
system_template: | ||
prompt_template: | ||
response_template: | ||
tasks: | ||
data_analysis: | ||
description: Gather and analyze data on the causes and risk factors of lung | ||
diseases. | ||
expected_output: Report detailing key findings on lung disease causes. | ||
tools: | ||
- 'InternetSearchTool' | ||
medical_writer: | ||
backstory: Skilled in translating complex medical information into accessible | ||
content. | ||
goal: Compile comprehensive content on lung disease causes | ||
role: Medical Writer | ||
llm: | ||
model: "anthropic/claude-3-haiku-20240307" | ||
function_calling_llm: | ||
model: "openai/gpt-4o" | ||
tasks: | ||
content_creation: | ||
description: Create detailed content summarizing the research findings on | ||
lung disease causes. | ||
expected_output: Document outlining various causes and risk factors of lung | ||
diseases. | ||
tools: | ||
- '' | ||
editor: | ||
backstory: Proficient in editing medical content for accuracy and clarity. | ||
goal: Review and refine content on lung disease causes | ||
role: Editor | ||
llm: | ||
model: "cohere/command-r" | ||
tasks: | ||
content_review: | ||
description: Edit and refine the compiled content on lung disease causes for | ||
accuracy and coherence. | ||
expected_output: Finalized document on lung disease causes ready for dissemination. | ||
tools: | ||
- '' | ||
dependencies: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,39 @@ | ||
framework: autogen | ||
topic: create movie script about cat in mars | ||
topic: research about the causes of lung disease | ||
roles: | ||
researcher: | ||
backstory: Skilled in finding and organizing information, with a focus on research | ||
efficiency. | ||
goal: Gather information about Mars and cats | ||
role: Researcher | ||
research_analyst: | ||
backstory: Experienced in analyzing scientific data related to respiratory health. | ||
goal: Analyze data on lung diseases | ||
role: Research Analyst | ||
tasks: | ||
gather_research: | ||
description: Research and gather information about Mars, its environment, | ||
and cats, including their behavior and characteristics. | ||
expected_output: Document with research findings, including interesting facts | ||
and information. | ||
data_analysis: | ||
description: Gather and analyze data on the causes and risk factors of lung | ||
diseases. | ||
expected_output: Report detailing key findings on lung disease causes. | ||
tools: | ||
- '' | ||
world_builder: | ||
backstory: Expert in building rich, immersive worlds, with a focus on environment | ||
and setting. | ||
goal: Create a rich and immersive environment for the movie script | ||
role: World Builder | ||
- 'InternetSearchTool' | ||
medical_writer: | ||
backstory: Skilled in translating complex medical information into accessible | ||
content. | ||
goal: Compile comprehensive content on lung disease causes | ||
role: Medical Writer | ||
tasks: | ||
world_building: | ||
description: Using the research, create a rich and immersive environment for | ||
the movie script, including Martian landscapes and cat habitats. | ||
expected_output: Document with world-building details, including settings, | ||
landscapes, and habitats. | ||
content_creation: | ||
description: Create detailed content summarizing the research findings on | ||
lung disease causes. | ||
expected_output: Document outlining various causes and risk factors of lung | ||
diseases. | ||
tools: | ||
- '' | ||
scriptwriter: | ||
backstory: Expert in dialogue and script structure, translating concepts into | ||
scripts. | ||
goal: Write a movie script about a cat in Mars | ||
role: Scriptwriter | ||
editor: | ||
backstory: Proficient in editing medical content for accuracy and clarity. | ||
goal: Review and refine content on lung disease causes | ||
role: Editor | ||
tasks: | ||
scriptwriting_task: | ||
description: Using the research and world-building details, write a movie | ||
script about a cat in Mars, including dialogue and scenes. | ||
expected_output: Production-ready script with dialogue and scene details. | ||
content_review: | ||
description: Edit and refine the compiled content on lung disease causes for | ||
accuracy and coherence. | ||
expected_output: Finalized document on lung disease causes ready for dissemination. | ||
tools: | ||
- '' | ||
dependencies: [] | ||
dependencies: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.