Skip to main content

ACIS — AI Context & Intelligent System SDK

Project description

ACIS SDK

AI Context & Intelligent System — Memory for LLM Applications

Installation

pip install "git+https://oauth2:<your-gitlab-token>@git.skaleup.tech/genai-projects/chatbot/genai-hc-stm-ltm.git@UAT#subdirectory=sdk_pkg"

Note: Use a GitLab Personal Access Token with read_repository scope. Prefix with oauth2: as username.

Quick Start

from acis import MemoryClient

# Point to your ACIS deployment
client = MemoryClient(
    tenant_id="your-tenant-uuid",
    base_url="http://10.0.1.50:8000",  # ACIS server IP
)

# Create session
session = client.create_session(user_id="user-123")

# Every turn:
client.add_event(session_id=session.session_id, role="user", content="Hello")
ctx = client.get_context(session_id=session.session_id, query="Hello")

# ctx.messages → pass directly to any LLM (OpenAI, Azure, Anthropic, etc.)
response = your_llm(messages=ctx.messages)

client.add_event(session_id=session.session_id, role="assistant", content=response)

# End conversation
client.close_session(session_id=session.session_id)

Only Dependency

  • httpx (HTTP client)

That's it. No PostgreSQL, Redis, Celery, or Django needed on the app server.

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

acis_memory-1.0.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

acis_memory-1.0.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file acis_memory-1.0.0.tar.gz.

File metadata

  • Download URL: acis_memory-1.0.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for acis_memory-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a42af4f9af91b559780f1583aaba1b7b58646573b47e1b19ee7d88f6bbde6a97
MD5 21406b9f838ea925c872478bca9a0055
BLAKE2b-256 2ff83ab281b76b8ac9f3558ef9bbea64caa53e07b320004812f66d2bd82c0623

See more details on using hashes here.

File details

Details for the file acis_memory-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: acis_memory-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for acis_memory-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3fe90200dc40336c77f31e644aa008335b2dc1238e5a1937ed4265fa39b58cb3
MD5 83bf3969024fa3b9e262d23e5f5100dc
BLAKE2b-256 4c7016eba95ec0b71dc9ae6e005c6cc93304c082350735bbc8d0113efdcbdc05

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