• bitcoinBitcoin(BTC)$85,329.000.47%
  • ethereumEthereum(ETH)$2,701.370.62%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$788.680.02%
  • rippleXRP(XRP)$1.500.79%
  • usd-coinUSDC(USDC)$1.00-0.01%
  • solanaSolana(SOL)$121.541.40%
  • tronTRON(TRX)$0.335285-0.16%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.074.38%
  • zcashZcash(ZEC)$1,335.322.89%
  • HyperliquidHyperliquid(HYPE)$90.351.49%
  • dogecoinDogecoin(DOGE)$0.0954152.43%
  • chainlinkChainlink(LINK)$14.202.12%
  • moneroMonero(XMR)$548.39-0.97%
  • whitebitWhiteBIT Coin(WBT)$84.890.64%
  • USDSUSDS(USDS)$1.00-0.02%
  • cardanoCardano(ADA)$0.2491041.54%
  • leo-tokenLEO Token(LEO)$8.99-0.10%
  • RainRain(RAIN)$0.0115022.17%
  • stellarStellar(XLM)$0.2184121.55%
  • nearNEAR Protocol(NEAR)$5.027.20%
  • bitcoin-cashBitcoin Cash(BCH)$316.480.77%
  • uniswapUniswap(UNI)$9.000.41%
  • litecoinLitecoin(LTC)$71.363.43%
  • CantonCanton(CC)$0.1280135.57%
  • suiSui(SUI)$1.235.17%
  • avalanche-2Avalanche(AVAX)$11.07-0.32%
  • Ethena USDeEthena USDe(USDE)$1.00-0.01%
  • daiDai(DAI)$1.000.00%
  • hedera-hashgraphHedera(HBAR)$0.1028130.69%
  • USD1USD1(USD1)$1.000.00%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.531.11%
  • quant-networkQuant(QNT)$256.340.88%
  • BittensorBittensor(TAO)$302.262.48%
  • BitwayBitway(BTW)$1.26-14.56%
  • shiba-inuShiba Inu(SHIB)$0.0000060.58%
  • crypto-com-chainCronos(CRO)$0.0677542.79%
  • tether-goldTether Gold(XAUT)$4,140.990.01%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • Pump.funPump.fun(PUMP)$0.0065433.68%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • aaveAave(AAVE)$179.860.49%
  • okbOKB(OKB)$121.601.10%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • EthenaEthena(ENA)$0.2401771.12%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • OndoOndo(ONDO)$0.4913290.10%
  • MemeCoreMemeCore(M)$1.041.17%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.06%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
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

Sony Digital Camera Model Numbers Explained: Bigger Isn’t Always Better

Trump Announces Super Intelligence Force Led by Four Officials – Unite.AI

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

Sony Digital Camera Model Numbers Explained: Bigger Isn’t Always Better
AI & Technology

Sony Digital Camera Model Numbers Explained: Bigger Isn’t Always Better

October 4, 2026
Trump Announces Super Intelligence Force Led by Four Officials – Unite.AI
AI & Technology

Trump Announces Super Intelligence Force Led by Four Officials – Unite.AI

October 4, 2026
The Pros And Cons Of Enabling Wi-Fi Calling
AI & Technology

The Pros And Cons Of Enabling Wi-Fi Calling

October 4, 2026
What Is Infill In 3D Printing And Is It Necessary?
AI & Technology

What Is Infill In 3D Printing And Is It Necessary?

October 4, 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
Could inflation turn Trump supporters away from the party?

Could inflation turn Trump supporters away from the party?

October 4, 2026
Trump says new fuel economy rules will cut car prices. Analysts are doubtful. – The Washington Post

Trump says new fuel economy rules will cut car prices. Analysts are doubtful. – The Washington Post

September 28, 2026
Supreme Court allows execution of Tennessee woman after it was halted

Supreme Court allows execution of Tennessee woman after it was halted

October 3, 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!