amosproj / amos2024ss06-health-ai-framework

Ailixir is an application that utilises LLMs and custom user input to generate AI agent prototypes specialised in fields such as health, economics, physics etc. The prototypes enable the user, which is an entrepreneur-developer, to compare the results produced by different LLMs.
MIT License
7 stars 1 forks source link
ai google langchain llm python rag react reactnative

AiLixir

Framework to create a custom AI agent.

πŸš€ About the Project

Welcome to the Custom AI Agent Framework, a powerful tool designed to create personalized chat interactions using a variety of language model (LLM) engines such as GPT, LLaMA, Gemini, and more. This framework enables developers to build AI agents that engage users through text and voice inputs, gradually constructing user profiles to enhance contextual interactions. πŸ€–πŸ’¬πŸ”Š

πŸ’« The Project's Vision

Ailixir” empowers users to create and incrementally refine custom AI agents that are specialized in specific domains. It assists users in gaining useful, reliable and timely answers to domain specific questions they are interested in, eventually becoming a dependable companion in the journey to navigate effectively within the field of their choice.

πŸ‘©β€πŸš€ The Project's Mission

Ailixir aims to produce an MVP for a prototyping tool that allows users, who are entrepreneurs / developers to create, refine and compare the results of custom AI agents. Ailixir can be thought of a combination of three pieces that come together to achive its goals:

πŸ› οΈ Prerequisites

Before you begin, make sure you have the following prerequisites installed:

Prerequisite Version Installation Guide Required
Python 3.12 Python βœ…
PDM 2.15 PDM βœ…
Docker 26.0 Docker β›”

Click on the installation guide links to download and install the required software.

πŸš€ Getting Started

  1. ✨ Downloading the Code

    To get started, download the code using one of the following links:

    • Normal HTTPS Link:

      git clone https://github.com/amosproj/amos2024ss06-health-ai-framework.git
    • SSH Link:

      git clone git@github.com:amosproj/amos2024ss06-health-ai-framework.git
  2. πŸ”§ Installation and Dependency Setup

    Run the following command in project directory to install dependencies:

    pdm install

    No extra setup is required! pdm will handle the creation of a virtual environment and installation of all dependencies for you.

  3. ▢️ Running Your Code

    Execute your code using the scripts defined in the pyproject.toml file with the command:

    pdm run <<script_name>>

Once you've completed the setup steps, you're all set to dive into development work! You have everything you need to begin coding and building your project. Happy coding! πŸ’»πŸš€

πŸ“ Folder Structure

πŸ“ β”œβ”€β”€ Deliverables πŸ“¦ (Contains project deliverables)
β”‚Β Β  β”œβ”€β”€ README.md πŸ“„ (Readme file for deliverables)
β”‚Β Β  └── sprint-01 πŸƒβ€β™‚οΈ (Sprint 01 deliverables)
β”‚Β Β      β”œβ”€β”€ Dummy.md πŸ“„ (Dummy markdown file)
β”‚Β Β      β”œβ”€β”€ feature-board.csv πŸ“„ (Feature board in CSV format)
β”‚Β Β      β”œβ”€β”€ feature-board.png πŸ–ΌοΈ (Feature board image)
β”‚Β Β      β”œβ”€β”€ imp-squared-backlog.csv πŸ“„ (Imp squared backlog in CSV format)
β”‚Β Β      β”œβ”€β”€ imp-squared-backlog.png πŸ–ΌοΈ (Imp squared backlog image)
β”‚Β Β      β”œβ”€β”€ planning-document.pdf πŸ“„ (Planning document in PDF format)
β”‚Β Β      β”œβ”€β”€ team-logo.png πŸ–ΌοΈ (Team logo in PNG format)
β”‚Β Β      └── team-logo.svg πŸ–ΌοΈ (Team logo in SVG format)
πŸ“„ β”œβ”€β”€ Dockerfile 🐳 (Dockerfile for containerization)
πŸ“ β”œβ”€β”€ Documentation πŸ“ (Contains project documentation)
β”‚Β Β  └── README.md πŸ“„ (Readme file for documentation)
πŸ“„ β”œβ”€β”€ LICENSE πŸ“ƒ (License file)
πŸ”’ β”œβ”€β”€ pdm.lock πŸ”’ (Lock file for Python dependency management)
πŸ“„ β”œβ”€β”€ pyproject.toml 🐍 (Pyproject configuration file)
πŸ“„ β”œβ”€β”€ README.md πŸ“ƒ (Main Readme file for the repository)
πŸ“„ β”œβ”€β”€ ruff.toml πŸ› οΈ (Ruff configuration file)

πŸ› οΈ Code Style Maintenance

We've implemented Ruff and pre-commit to ensure the consistency of our codebase's style. With this setup, when you attempt to commit changes, pre-commit hooks will automatically run to check the code style. If the code style passes, the commit will proceed as usual.

However, if there are any style errors detected, you have two options:

  1. Manual Fixing: You'll need to manually fix the errors before committing again. This ensures that all changes are reviewed by human eyes before being committed.
  2. Automatic Fixing: Alternatively, if configured, Ruff may automatically fix some of the errors. In this case, you'll still need to review the changes and ensure they meet the project's standards before proceeding with the commit.

This workflow helps maintain code quality while allowing for human oversight before changes are finalized and committed. πŸš€

πŸ‘©β€πŸ’» Contributors

Contributors