Skip to main content

Give Superpowers to your python function. GenAI Application development made easy.

Project description

Semantix: Infusing Meaning into Code with Large Language Models

PyPI version Open in Colab License

Semantix empowers developers to infuse meaning into their code through enhanced variable typing (semantic typing). By leveraging the power of large language models (LLMs) behind the scenes, Semantix transforms ordinary functions into intelligent, context-aware operations without explicit LLM calls.

Key Features:

  • Semantic Type System: Define rich, meaningful types that carry contextual information.
  • Function Enhancement: Automatically augment functions with LLM-powered capabilities.
  • Implicit Intelligence: Leverage advanced NLP and reasoning without direct API calls.
  • Developer-Friendly: Seamlessly integrate into existing Python codebases with minimal overhead.

Semantix bridges the gap between traditional programming and AI-assisted development, allowing you to write more expressive, powerful code with ease.

Installation

All you need is:

pip install semantix

To install the very latest from main:

pip install git+https://github.com/chandralegend/semantix.git

Or open our intro notebook in Google Colab:

By default, Semantix doesn't install any llm packages. You can install them separately:

pip install semantix[openai]
pip install semantix[anthropic]
pip install semantix[openai, anthropic] # Install both

If you want to use MultiModal capabilities, you can install the following:

pip install semantix[image]
pip install semantix[video]

Citation

If you find Semantix helpful, give it a ⭐️ on GitHub! and If you have used Semantix in your project, add the badge to your README.md file.

https://github/chandralegend/semantix

[![https://github/chandralegend/semantix](https://img.shields.io/badge/Powered%20by-Semantix-8A2BE2)](https://github/chandralegend/semantix)

If you used Semantix in your research, please cite it as follows:

@misc{semantix,
  author = {Chandra Irugalbandara},
  title = {Semantix: Infusing Meaning into Code with Large Language Models},
  year = {2024},
  publisher = {GitHub},
  journal = {GitHub Repository},
  howpublished = {\url{https://github/chandralegend/semantix}}
}

Contributing

Please read CONTRIBUTING.md for a quick guide on how to contribute to Semantix.

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

semantix-0.1.1.tar.gz (13.5 kB view hashes)

Uploaded Source

Built Distribution

semantix-0.1.1-py3-none-any.whl (15.2 kB view hashes)

Uploaded Python 3

Supported by

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