An open API service indexing awesome lists of open source software.

https://github.com/janduplessis883/project-researchcrew-ai

Utilising CrewAI's Flows to finetune Clinical Research EOI
https://github.com/janduplessis883/project-researchcrew-ai

Last synced: 4 months ago
JSON representation

Utilising CrewAI's Flows to finetune Clinical Research EOI

Awesome Lists containing this project

README

        

# **ResearchCrew AI**
**Optimize Clinical Research EOIs with CrewAI for Smarter Recruitment Strategies**

![ResearchCrew AI](images/researchcrew-ai-logo.png)

Effortlessly refine your **clinical research Expression of Interest (EOI) submissions** with **CrewAI**. Our intelligent agents analyze and optimize your recruitment strategies, helping you achieve the best possible outcomes while staying grounded and approachable.

Using **CrewAI Flows**, every step of your recruitment plan is reviewed and enhanced to ensure high-quality suggestions that are tailored to your study’s unique needs. Whether it’s identifying participants, leveraging your network, or overcoming recruitment challenges, CrewAI takes care of the details so you can focus on the big picture.

Once optimized, seamlessly export your findings into a **Notion** database of your choice through an intuitive **Streamlit app**. This integration makes managing your insights and streamlining your workflow easier than ever, ensuring that your EOIs not only stand out but also deliver results.

### Specifications for the CrewAI Project

Below is a breakdown of the functional, technical, and user-oriented specifications needed to bring the project to life:

#### 1. Core Features

**A. EOI Optimization**

- **EOI Input:**
- Users can upload raw EOI drafts (PDF, Word, or plain text) or fill out a form within the app.
- Upload Study Documentation to generate study summary.
- Highlight key elements like recruitment methods, participant identification, and staffing details.
- **AI-Powered Optimization:**
- CrewAI agents analyze EOIs using NLP (Natural Language Processing) to identify gaps, improve phrasing, and suggest enhancements.
- Suggestions are based on recruitment best practices, industry standards, and previous successful EOIs.
- **Scoring System:**
- A scoring system evaluates the quality of the EOI on metrics such as clarity, feasibility, and alignment with sponsor expectations.
- A final “CrewAI Score” is provided, with a breakdown of how to improve weaker areas.

**B. Recruitment Strategy Suggestions**

- **CrewAI Flows:**
- Generates tailored recruitment strategies based on study details, such as:
- Study type (observational or interventional).
- Patient population (age, condition, geography, diversity needs).
- Known challenges (e.g., language barriers, time constraints).
- Suggests alternative approaches like EHR searches, PCN collaboration, PIC sites, or community engagement.
- **Dynamic Outputs:**
- CrewAI provides actionable steps (e.g., “Send SMS invites to X patients with condition Y”).
- Alternative “Plan B” strategies are suggested if challenges arise.

#### 2. Integration with Notion

- **Export to Notion:**
- Once optimized, the app automatically formats the EOI and recruitment strategies into a structured Notion database.
- Fields in Notion include:
- EOI Title
- Recruitment Methods
- Challenges Identified
- Suggested Solutions
- CrewAI Score
- Timeline and Action Plan
- **Custom Notion Templates:**
- Pre-designed templates for EOIs, recruitment plans, and team assignments ensure all outputs are actionable and well-organized.

#### 3. Streamlit Web App

**Frontend:**

- User-friendly interface for uploading EOIs, viewing optimization suggestions, and exporting results.
- Features include:
- Drag-and-drop document upload.
- Real-time display of CrewAI Flow suggestions.
- Editable fields for user adjustments before exporting to Notion.

**Backend:**

- AI/NLP engine to process EOIs and suggest improvements.
- Integration with Notion’s API for seamless data transfer.
- Recruitment strategy generation engine powered by CrewAI Flows.

#### 4. AI Components

**A. NLP Models**

- Pre-trained models (e.g., GPT-based) fine-tuned for clinical research language.
- Tasks:
- Extract key information from uploaded EOIs.
- Generate high-quality, concise suggestions for improvement.
- Summarize recruitment strategies and challenges.

**B. Recommendation System**

- Uses data on successful clinical trials and recruitment strategies to provide evidence-based suggestions.
- Tailors recommendations to the specific type of study and population.

#### 5. Key Functionalities

1. **EOI Quality Checker**
- Highlights areas of improvement (e.g., incomplete sections, vague descriptions).
- Provides feedback with clear action items.
2. **Recruitment Plan Generator**
- Suggests specific, actionable strategies for participant identification and engagement.
- Includes “Plan B” options for backup strategies.
3. **Timeline and Milestone Tracker**
- Suggests estimated timelines for recruitment and study start-up based on provided information.
- Breaks down tasks into milestones.
4. **Export Options**
- Outputs the optimized EOI as a downloadable document (PDF/Word) or uploads directly to a Notion database.

#### 6. Technologies

**Frontend:**

- Streamlit: For building a lightweight, interactive web app.
- HTML/CSS: To enhance UI/UX design for a clean, modern interface.

**Backend:**

- Python: Core development language.
- CrewAI NLP Engine: Custom-built using libraries like Hugging Face or OpenAI API.
- FastAPI: For serving AI models and backend functionality.

**Database & Integrations:**

- Notion API: For seamless export of data.
- Cloud Storage: AWS S3 or Google Cloud for document uploads and storage.

#### 7. Workflow Example

1. **Input:**
- User uploads an EOI or fills in key details in the app.
- Selects study type and key challenges.
2. **Processing:**
- CrewAI analyzes the content.
- Generates suggestions for improvement and recruitment strategies.
3. **Output:**
- Displays optimization suggestions in the app.
- Exports the enhanced EOI and recruitment strategy plan to Notion.
4. **Follow-Up:**
- Users can review and update suggestions within Notion or download a final version.

#### 8. User Roles

- **Clinical Research Coordinators:**
- Main users, uploading EOIs and reviewing recruitment plans.
- **Sponsors/Stakeholders:**
- Secondary users, accessing Notion outputs for review and collaboration.
- **Research Teams:**
- Accessing tasks and timelines for implementation.

#### 9. Quality Assurance

- **Beta Testing:**
- Conduct testing with clinical research coordinators to ensure usability and accuracy.
- **Feedback Loops:**
- Regular updates based on user feedback to refine CrewAI’s suggestions.

#### 10. Future Enhancements

- Add a collaboration feature in Notion for teams to comment and adjust EOIs in real-time.
- Expand the AI engine to include language localization for international trials.
- Integrate additional recruitment tools (e.g., SMS platforms or EHR systems).

This specification ensures that your app is not only modern, approachable, and easy to use but also highly functional and impactful for clinical research teams.