Skip to main content

CAIF (Code AI Fast): A simple, fast framework for building any AI model.

Project description

⚡ CAIF (Code AI Fast) Framework

Developer: Rudra
Version: 0.0.1 (Alpha)

CAIF is a unified, fast-track AI framework built on Python. It is designed to significantly reduce the complexity and amount of code needed to train, deploy, and analyze ANY type of AI model—from image recognition and data analysis to fully interactive web chatbots.

CAIF handles all the hard parts automatically: data cleaning, intelligent Neural Network sketching, and rich text output generation (Markdown, HTML, & Python Code).


🚀 Key Features

  • ⚡ Code Simplification: Replaces hundreds of lines of complex Python with simple, one-line commands.
  • 🌍 Omnivorous Data Loader: Natively supports all major file types for training data (MP4, JPG, CSV, EXCEL, JSON, ZIP, etc.) from both local files and URLs.
  • 🧠 Auto-Sketched Models: Automatically designs and optimizes the Neural Network architecture (number of neurons and layers) based on the size and richness of your training data.
  • 💬 Rich Text Output (MDP): Models automatically respond in Markdown, which CAIF instantly converts into clean HTML (for websites) or runnable Python Code (for rich-text apps).
  • 🌐 Specialized Builders: Includes powerful shortcuts like CAIF.WEB_CHATBOT() for rapid, customizable web application creation.

🛠️ Installation

CAIF is published on PyPI and is easy to install using Python's package installer, pip.

pip install caif-framework

💡 Quick Start Example

This example shows how to train an AI to predict a value from a simple spreadsheet (CSV) and generate a rich report:

from caif import CAIF

# 1. DATA: Load your data from a URL or file, and specify the column to predict.
# CAIF automatically handles cleaning, formatting, and converting data to "special numbers."
CAIF.DATA(
    source="[https://data.com/house_prices.csv](https://data.com/house_prices.csv)",
    type="csv",
    target_column="Sale_Price"
)

# 2. MODEL: Tell CAIF what kind of AI to build. Complexity (1-10) suggests the size.
# CAIF automatically designs the best Neural Network structure.
CAIF.MODEL(
    type="housing_predictor", 
    complexity=7, 
    time_limit="15m"
)

# 3. ANALYZE (Shortcut): Generates a full performance report of the model.
# The AI generates a Markdown report about its accuracy and key features.
CAIF.ANALYZE(focus="report")

# 4. OUTPUT: Save the final Markdown report as a clean HTML file.
# CAIF's MDP converts the rich text Markdown into HTML code.
CAIF.OUTPUT(target="HTML", save_as="house_price_analysis.html")

💬 Specialized Web Chatbot Example

Build and style a fully interactive, pirate-themed chatbot interface with one command:

CAIF.WEB_CHATBOT(
    personality="funny, pirate-themed",
    data_source="C:/MyFiles/pirate_dialogue.jsonl",
    interface="HTML, CSS, JS",
    look_spec="window: wood texture; font: italic gold"
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

caif_framework-0.0.1.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

caif_framework-0.0.1-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file caif_framework-0.0.1.tar.gz.

File metadata

  • Download URL: caif_framework-0.0.1.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for caif_framework-0.0.1.tar.gz
Algorithm Hash digest
SHA256 77abe66cd7aff2098a25264f9a7c0696f23a8c12c780acd2ed4e58bbe90b75fc
MD5 0387aa893baeef26f07ded14c2530714
BLAKE2b-256 c688dc49400a0876093f06e290cb6f7b478f39f744e1e372d916b9e0bacb7092

See more details on using hashes here.

File details

Details for the file caif_framework-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: caif_framework-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for caif_framework-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f5f2e21274ba06f5f7260b763e454d7440e45c7f22a7e1783c1958a842c7e3e
MD5 888105563ec27b429439926bc22253fe
BLAKE2b-256 380409a2594e78ea5cfe895914fab408c2b450481a3b15e027e98526d2aabeec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page