Skip to main content

Empower your UI by AI Agent

Project description

Next Gen UI Core Functionality

This module is part of the Next Gen UI Agent project.

Module Category Module Status

This module contains UI Agent Core functionality and frameworks.

Provides

  • NextGenUIAgent providing agent configuration and methods for individual processing steps
  • NextGenUIAgent produced UI Data Blocks
  • Plugable "UI renderer" framework for UI components rendering
    • Default json renderer used to send definitions to client-side renderers
  • Pluggable and configurable "Input Data Transformation" framework
    • Provided transformers: json, yaml, csv-comma, csv-semicolon, csv-tab, fwctable, noop
  • Abstraction of the LLM inference
    • InferenceBase inference interface used by UI Agent
    • LangChainModelInference inference implementation using LangChain chat_models
    • ProxiedAnthropicVertexAIInference inference implementation to call Anthropic/Claude models from proxied Google Vertex AI API endpoint
    • reusable inference provider builder from commandline arguments/env variables, used by all AI protocol servers

Installation

pip install -U next_gen_ui_agent

Interface usage

from next_gen_ui_agent import NextGenUIAgent

inference = # any AI framework inference

agent = NextGenUIAgent(
    inference=LlamaStackInference(model="ollama:llama3.2"),
)

# API is not very friendly ATM, as you have to call methods for individual processing steps. We plan to improve it iit the near future.

Links

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

next_gen_ui_agent-0.4.0-py3-none-any.whl (81.9 kB view details)

Uploaded Python 3

File details

Details for the file next_gen_ui_agent-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for next_gen_ui_agent-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a05b05f04ae5ddfef3ab4a977c5c8bba7210530c9aa8873b76199a92e68f6a21
MD5 6fb27360d21bbc178bf9d1a0d83a3da5
BLAKE2b-256 841228e9b718ebf3b3cb85215f1b0c49acdaff80c244cbdf398aa23ec465ce8a

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