This project is a FastAPI application.
- Python 3.7+
- .env file with necessary environment variables
- Clone the repository:
git clone - Navigate to the project directory:
cd plugins/example - Install the required packages: pip install -r requirements.txt
- Create a
.envfile in the project root with the following environment variables:
OPENAI_API_KEY=
REDIS_DB_HOST=
REDIS_DB_PORT=
REDIS_DB_PASSWORD=
ASKNEWS_CLIENT_ID=
ASKNEWS_CLIENT_SECRET=
GROQ_API_KEY=
MULTION_API_KEY=
MEM0_API_KEY=Fill in the values for each variable as needed.
-
Ensure you have filled in the
.envfile with the necessary environment variables. -
Install the requirements.txt by running:
pip install -r requirements.txt -
Run the project:
fastapi run devThis will start the FastAPI application.
main.py: The main FastAPI application filetemplates/: Directory containing HTML templates_mem0.pyand_multion.py: Routers for additional functionalitiesdb.py: Database operationsllm.py: Contains the news checker functionalitymodels.py: Data modelsnotion_utils.py: Utilities for Notion integration
- Notion CRM integration
- News checking functionality
- Memory storage
- External integrations (Mem0 and Multion)
/setup-notion-crm: Set up Notion CRM/creds/notion-crm: Store Notion CRM credentials/setup/notion-crm: Check if Notion CRM setup is completed/notion-crm: Store memory in Notion database/news-checker: Check news based on conversation transcript
For more details on how to use these endpoints, refer to the code documentation or contact the project maintainer.