• bitcoinBitcoin(BTC)$78,490.00-0.52%
  • ethereumEthereum(ETH)$2,480.76-0.58%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$723.22-3.72%
  • rippleXRP(XRP)$1.39-2.50%
  • usd-coinUSDC(USDC)$1.00-0.02%
  • solanaSolana(SOL)$102.02-1.92%
  • tronTRON(TRX)$0.3405880.58%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-0.94%
  • zcashZcash(ZEC)$1,236.091.98%
  • HyperliquidHyperliquid(HYPE)$84.00-1.95%
  • dogecoinDogecoin(DOGE)$0.085983-4.50%
  • RainRain(RAIN)$0.0163622.04%
  • USDSUSDS(USDS)$1.000.00%
  • moneroMonero(XMR)$516.172.22%
  • whitebitWhiteBIT Coin(WBT)$81.00-0.86%
  • chainlinkChainlink(LINK)$11.85-5.04%
  • leo-tokenLEO Token(LEO)$9.190.07%
  • cardanoCardano(ADA)$0.214171-2.09%
  • stellarStellar(XLM)$0.180845-4.22%
  • bitcoin-cashBitcoin Cash(BCH)$251.15-2.80%
  • daiDai(DAI)$1.000.00%
  • Ethena USDeEthena USDe(USDE)$1.00-0.02%
  • USD1USD1(USD1)$1.00-0.02%
  • CantonCanton(CC)$0.103955-4.46%
  • litecoinLitecoin(LTC)$52.84-2.21%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.38-0.95%
  • uniswapUniswap(UNI)$6.10-11.11%
  • avalanche-2Avalanche(AVAX)$7.86-1.52%
  • hedera-hashgraphHedera(HBAR)$0.077110-2.43%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • nearNEAR Protocol(NEAR)$2.507.34%
  • suiSui(SUI)$0.77-5.09%
  • shiba-inuShiba Inu(SHIB)$0.000005-3.27%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.058029-2.81%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • MemeCoreMemeCore(M)$1.233.88%
  • tether-goldTether Gold(XAUT)$4,420.460.52%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • BittensorBittensor(TAO)$255.57-0.45%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • okbOKB(OKB)$113.32-0.83%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.140.03%
  • mantleMantle(MNT)$0.60-4.76%
  • AsterAster(ASTER)$0.73-3.90%
  • aaveAave(AAVE)$125.29-2.89%
  • pax-goldPAX Gold(PAXG)$4,424.710.53%
  • polkadotPolkadot(DOT)$1.11-6.91%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.0568311.92%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Researchers from the University of Pennsylvania Introduce Kani: A Lightweight, Flexible, and Model-Agnostic Open-Source AI Framework for Building Language Model Applications

September 19, 2023
in AI & Technology
Reading Time: 4 mins read
A A
Researchers from the University of Pennsylvania Introduce Kani: A Lightweight, Flexible, and Model-Agnostic Open-Source AI Framework for Building Language Model Applications
ShareShareShareShareShare

Large Language model applications have witnessed a surge in popularity. With their amazing capabilities, they are becoming increasingly sophisticated. By incorporating features like tool usage tracking and retrieval augmentation, these models are seeking a lot of attention in the Artificial Intelligence community. The existing frameworks for building such applications take an opinionated approach by dictating to the developers how they should format their prompts and impose certain limitations on customization and reproducibility.

To address these issues, a team of researchers from the University of Pennsylvania has recently introduced Kani, a lightweight, extensible, and model-neutral open-source framework designed specifically for building language model applications. By offering support for the core elements of chat interaction, Kani has been built with the aim of enabling developers to add a wide range of complicated features. Model interaction, chat management, and robust function calling are some of these essential elements.

Developers can create language model applications utilizing Kani’s building blocks without being restricted by predefined structures or limitations, as Kani stands out for its adaptability and customizability. All of Kani’s fundamental features have been created to be easily altered, and the team has provided extensive documentation as well. This allows developers to modify the framework’s functionality to meet their unique demands and requirements.

Kani is a useful tool for a wide range of individuals, including academics, amateurs, and business people. In order to improve the reproducibility of their work, Kani helps researchers create language model applications while enabling fine-grained control. Even with models as powerful as GPT-4 or other complex models, users can use Kani to rapidly get started with designing apps with just a few lines of code. Kani’s versatility and durability are also advantageous to industry workers, especially in areas like chat management and function management.

Kani, requiring Python 3.10+, simplifies language model installation and querying. Installable via pip, it offers core dependencies and optional extras, like the OpenAI engine. The fundamental processing unit in the Kani framework is called a ‘Kani.’  When building applications with Kani, the user will work with and manipulate various Kani objects, which consist of three essential components: inference engine, chat history, and function context.

By means of inference engines, a Kani object communicates with linguistic models. Without changing the application’s code, this interaction enables developers to transition between different models with ease. Kani keeps tabs on the token totals and topic switches. It makes sure that the context of the dialogue stays within the model’s bounds and keeps it from going overboard. Lastly, the language models can access callable functions through Kani. It verifies function calls, runs the appropriate code, and then sends the results back to the inference engine.

In conclusion, Kani has been presented as a solution to the problems faced by language model application developers. It allows for customization, flexibility, and an open-source method of creating incredible applications, as it empowers developers to construct feature-rich apps while maintaining control and interoperability by offering the fundamental building blocks for chat interaction.


Check out the Paper and Github. All Credit For This Research Goes To the Researchers on This Project. Also, don’t forget to join our 30k+ ML SubReddit, 40k+ Facebook Community, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more.

If you like our work, you will love our newsletter..


YOU MAY ALSO LIKE

LandingAI Releases Agentic Document Extraction Gen2 with DPT-3 Pro and DPT-3 Verity

Apple Wallet Is Not The Same As Apple Pay: Here’s How They Differ

Tanya Malhotra is a final year undergrad from the University of Petroleum & Energy Studies, Dehradun, pursuing BTech in Computer Science Engineering with a specialization in Artificial Intelligence and Machine Learning.
She is a Data Science enthusiast with good analytical and critical thinking, along with an ardent interest in acquiring new skills, leading groups, and managing work in an organized manner.


🚀 The end of project management by humans (Sponsored)

Credit: Source link

ShareTweetSendSharePin

Related Posts

LandingAI Releases Agentic Document Extraction Gen2 with DPT-3 Pro and DPT-3 Verity
AI & Technology

LandingAI Releases Agentic Document Extraction Gen2 with DPT-3 Pro and DPT-3 Verity

September 10, 2026
Apple Wallet Is Not The Same As Apple Pay: Here’s How They Differ
AI & Technology

Apple Wallet Is Not The Same As Apple Pay: Here’s How They Differ

September 9, 2026
Google Open-Sources Mantis: A Modular Skills Toolkit That Lets Coding Agents Find, Reproduce and Patch Vulnerabilities
AI & Technology

Google Open-Sources Mantis: A Modular Skills Toolkit That Lets Coding Agents Find, Reproduce and Patch Vulnerabilities

September 9, 2026
Muse, The Band, Lost Its Social Media Handles To Muse, Meta’s New AI Agent
AI & Technology

Muse, The Band, Lost Its Social Media Handles To Muse, Meta’s New AI Agent

September 9, 2026
Next Post
Congress Didn’t Get Dodd-Frank

Congress Didn't Get Dodd-Frank

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Cyclosporiasis outbreak includes a cluster in 9 states

Cyclosporiasis outbreak includes a cluster in 9 states

September 4, 2026
Trump recalls rocky start to friendship with Lindsey Graham

Trump recalls rocky start to friendship with Lindsey Graham

September 3, 2026
Chip Suppliers Bullish on AI Buildout

Chip Suppliers Bullish on AI Buildout

September 8, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!