AI for the runtime.
Project description
So... what is Aism?
Aism provides a clean interface for summarizing, translating, conditional checks (like keypoint matching, mentioned checking), data auto-filling, reordering, organizing, procedural data processing, function calling, and more.1
TL;DR: Aism is AI for the runtime.
1 Striked-through features are currently in development and will be shipped within the next few months.
🧑🚀 3 Steps
Expand...
Aism is as simple as these 3 steps:
-
Get your Groq API key here: console.groq.com
-
Create your first AI runtime using the
Aism()
class.
from aism import Aism
ai = Aism(
api_key="YOUR_GROQ_API_KEY" # optional. defaults to environment variable "GROQ_API_KEY"
)
- Give any kind of data to the AI and play around with it.
from dataclasses import dataclass
@dataclass
class News:
title: str
excerpt: str
tags: list[str]
news = """\
A man in Springfield has reportedly trained his pet goldfish to understand basic calculus principles…
"""
# Give the data to the AI and fill it with the dataclass
print(ai.give(news).fill(News))
We get a nice result like this:
🐣 Aism runtime
News( title='A man in Springfield has reportedly trained his…', summarization='While skeptics abound, the fish has allegedly…', tags=['goldfish', 'calculus', 'Springfield'] )
Awesome! Your data is even more structured and easier to understand through the typing system.
But wait, there's MORE to Aism?! Learn all about Aism in the learn/
directory.
📚 Resources
- 🧠 Learn – The central of everything, perhaps.
- 📖 Documentation – Refer to the API documentation and examples.
- 🥐 Cookbooks - Realistic use cases with notebooks.
(c) 2024 AWeirdDev
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file aism-0.1.0.tar.gz
.
File metadata
- Download URL: aism-0.1.0.tar.gz
- Upload date:
- Size: 385.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c774c047c315784ef121eb9acc39347f9fcc543862500890390a3a6b91c61d77 |
|
MD5 | b1b826f802912cb54c1e0d543ddcd220 |
|
BLAKE2b-256 | 4f3755ad1bef23d1369a305490a8952b25b1b663890f1afdd13a5fcb58b69342 |
File details
Details for the file aism-0.1.0-cp312-none-win_amd64.whl
.
File metadata
- Download URL: aism-0.1.0-cp312-none-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6a44d9c67e79ee530b5857dfa29586df51e7f009f7c50568566d809e614cc0f |
|
MD5 | 7c8114ef9aeae567e1f66bd5a4691197 |
|
BLAKE2b-256 | a77fc02038476ed66b4eaeffbe01ab34a7def1811c751ed8ac47961c8d377d08 |
File details
Details for the file aism-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: aism-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b1e330b938b30b03684b22a0ca92eb8a305488460bf093fa94693053d45123b |
|
MD5 | 527cd86edc2d1c05dd9b6cad0f80d40e |
|
BLAKE2b-256 | 439a03e8b37cda4cbf44e49fe280caa3ae4bf7aecd27dc0f3122f17ed86d80df |
File details
Details for the file aism-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: aism-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.12, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abb649f35b27608a34c29f4cd34b0d45b056af3b673711540ade0bbf4146fd12 |
|
MD5 | 4ed72375e4b91cf9ad97f8625aee14d2 |
|
BLAKE2b-256 | 8c96ff7902a0e20fa61d4a97d92c5408d28c987cae5f7bab8a98b2c3983c7ea4 |