Kani: A Lightweight and Highly Hackable Framework for Building Language Model Applications

09/11/2023
by   Andrew Zhu, et al.
0

Language model applications are becoming increasingly popular and complex, often including features like tool usage and retrieval augmentation. However, existing frameworks for such applications are often opinionated, deciding for developers how their prompts ought to be formatted and imposing limitations on customizability and reproducibility. To solve this we present Kani: a lightweight, flexible, and model-agnostic open-source framework for building language model applications. Kani helps developers implement a variety of complex features by supporting the core building blocks of chat interaction: model interfacing, chat management, and robust function calling. All Kani core functions are easily overridable and well documented to empower developers to customize functionality for their own needs. Kani thus serves as a useful tool for researchers, hobbyists, and industry professionals alike to accelerate their development while retaining interoperability and fine-grained control.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/26/2018

FDBB: Fluid Dynamics Building Blocks

High-performance computing platforms are becoming more and more heteroge...
research
06/21/2022

Open Source Software: An Approach to Controlling Usage and Risk in Application Ecosystems

The Open Source Software movement has been growing exponentially for a n...
research
08/21/2023

RaLLe: A Framework for Developing and Evaluating Retrieval-Augmented Large Language Models

Retrieval-augmented large language models (R-LLMs) combine pre-trained l...
research
08/03/2023

ManiVault: A Flexible and Extensible Visual Analytics Framework for High-Dimensional Data

Exploration and analysis of high-dimensional data are important tasks in...
research
03/19/2022

On Debugging the Performance of Configurable Software Systems: Developer Needs and Tailored Tool Support

Determining whether a configurable software system has a performance bug...
research
04/23/2023

A Lightweight Constrained Generation Alternative for Query-focused Summarization

Query-focused summarization (QFS) aims to provide a summary of a documen...

Please sign up or login with your details

Forgot password? Click here to reset