Skip to content

Commit

Permalink
Merge branch 'main' into crewai-app-demo
Browse files Browse the repository at this point in the history
  • Loading branch information
snova-jorgep authored Jan 8, 2025
2 parents 96d052b + a1677af commit d04bad6
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion financial_assistant/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
DEFAULT_END_DATE = datetime.datetime.today().date()
DEFAULT_FILING_TYPE = '10-K'
DEFAULT_FILING_QUARTER = 0
DEFAULT_FILING_YEAR = datetime.datetime.today().date().year - 1
DEFAULT_FILING_YEAR = datetime.datetime.today().date().year - 2
DEFAULT_PDF_TITLE = 'Financial Report'


Expand Down
7 changes: 4 additions & 3 deletions financial_assistant/streamlit/app_financial_filings.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import datetime
from typing import Dict, Optional

import streamlit
Expand Down Expand Up @@ -36,11 +37,11 @@ def include_financial_filings() -> None:
)

# Define the range of years
start_year = 2020
end_year = 2024
start_year = datetime.datetime.today().date().year - 5
end_year = datetime.datetime.today().date().year
years = list(range(start_year, end_year + 1))
# Set the default year (e.g., 2023)
default_year = 2023
default_year = DEFAULT_FILING_YEAR
default_index = years.index(default_year)
# Create the selectbox with the default year
selected_year = streamlit.selectbox('Select a year:', years, index=default_index)
Expand Down
8 changes: 8 additions & 0 deletions integrations/crewai/Agentic_Sales_Pipeline_Crew_AI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,14 @@
"IFrame(src='./crewai_flow.html', width='150%', height=600)"
]
},
{
"cell_type": "markdown",
"id": "8f1799af",
"metadata": {},
"source": [
"![crew flow](crewai_flow.png \"CrewAI Flow\")"
]
},
{
"cell_type": "markdown",
"id": "6aa4aa2c-cbe5-49a4-8569-0fa8d2d59666",
Expand Down
Binary file added integrations/crewai/crewai_flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion integrations/crewai/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
crewai==0.86.0
crewai-tools==0.17.0
langchain-community==0.3.13
python-dotenv==1.1.0
python-dotenv==1.0.1
2 changes: 1 addition & 1 deletion tests/test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
STARTER_KITS: List[str] = [
'benchmarking',
'enterprise_knowledge_retriever',
#'financial_assistant',
'financial_assistant',
'function_calling',
'search_assistant',
'image_search',
Expand Down

0 comments on commit d04bad6

Please sign in to comment.