• bitcoinBitcoin(BTC)$81,277.004.39%
  • ethereumEthereum(ETH)$2,524.025.00%
  • tetherTether(USDT)$1.000.04%
  • binancecoinBNB(BNB)$724.211.78%
  • rippleXRP(XRP)$1.455.96%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$104.173.43%
  • tronTRON(TRX)$0.3289890.40%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.030.00%
  • HyperliquidHyperliquid(HYPE)$87.026.22%
  • zcashZcash(ZEC)$1,003.6919.09%
  • dogecoinDogecoin(DOGE)$0.0878895.65%
  • RainRain(RAIN)$0.0168951.84%
  • moneroMonero(XMR)$548.396.54%
  • USDSUSDS(USDS)$1.000.02%
  • chainlinkChainlink(LINK)$12.056.95%
  • whitebitWhiteBIT Coin(WBT)$74.124.01%
  • leo-tokenLEO Token(LEO)$9.30-1.58%
  • cardanoCardano(ADA)$0.2214596.97%
  • stellarStellar(XLM)$0.1847924.16%
  • bitcoin-cashBitcoin Cash(BCH)$259.823.95%
  • daiDai(DAI)$1.000.01%
  • CantonCanton(CC)$0.1109641.54%
  • Ethena USDeEthena USDe(USDE)$1.000.05%
  • USD1USD1(USD1)$1.000.04%
  • litecoinLitecoin(LTC)$51.251.29%
  • uniswapUniswap(UNI)$6.271.55%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.393.64%
  • hedera-hashgraphHedera(HBAR)$0.0789562.93%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • avalanche-2Avalanche(AVAX)$7.503.05%
  • suiSui(SUI)$0.781.16%
  • shiba-inuShiba Inu(SHIB)$0.0000052.69%
  • paypal-usdPayPal USD(PYUSD)$1.000.02%
  • crypto-com-chainCronos(CRO)$0.0576675.18%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,460.560.81%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • nearNEAR Protocol(NEAR)$2.026.50%
  • MemeCoreMemeCore(M)$1.07-0.89%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • okbOKB(OKB)$110.463.82%
  • BittensorBittensor(TAO)$229.813.21%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.36%
  • aaveAave(AAVE)$133.572.82%
  • AsterAster(ASTER)$0.752.96%
  • mantleMantle(MNT)$0.594.62%
  • pax-goldPAX Gold(PAXG)$4,467.820.72%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.0574461.76%
  • OndoOndo(ONDO)$0.3675993.43%
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

How Large Language Models (LLM) Will Power the Apps of the Future

June 30, 2023
in AI & Technology
Reading Time: 4 mins read
A A
How Large Language Models (LLM) Will Power the Apps of the Future
ShareShareShareShareShare

Generative AI and particularly the language-flavor of it – ChatGPT is everywhere. Large Language Model (LLM) technology will play a significant role in the development of future applications. LLMs are very good at understanding language because of the extensive pre-training that has been done for foundation models on trillions of lines of public domain text, including code. Methods like supervised fine-tuning and reinforced learning with human feedback (RLHF) make these LLM even more efficient in answering specific questions and conversing with users. As we get into next phase of AI apps powered by LLMs – following key components will be crucial for these next-gen applications. The figure below shows this progression, and as you move up the chain, you build more intelligence and autonomy in your applications. Let’s look at these various levels.

YOU MAY ALSO LIKE

Sam Altman Apologizes as GPT-6 Astra Staged Launch Denies Paid Access – Unite.AI

This Rugged Smartphone’s Camera Is A Removable Action Cam

LLM calls:

These are direct calls to completion or chat models by a LLM provider like Azure OpenAI or Google PaLM or Amazon Bedrock. These calls have a very basic prompt and mostly use the internal memory of the LLM to produce the output.

Example: Asking a basic model like “text-davinci” to “tell a joke”. You give very little context and model relies on its internal pre-trained memory to come up with an answer (highlighted in green in figure below – using Azure OpenAI).

Prompts:

Next level of intelligence is in adding more and more context into prompts. There are techniques for prompt engineering that can be applied to LLMs that can make them give customized responses. For example, when generating an email to a user, some context about the user, past purchases and behavior patterns can serve as prompt to better customize the email. Users familiar with ChatGPT will know different methods of prompting like giving examples which are used by the LLM to build response. Prompts augment the internal memory of the LLM with additional context. Example is below.

Embeddings:

Embeddings take prompts to the next level by searching a knowledge store for context and obtaining that context and appending to the prompt. Here, the first step is to make a large document store with unstructured text searchable by indexing the text and populating a vector database. For this an embedding model like ‘ada’ by OpenAI is used that takes a chunk of text and converts it into a n-dimensional vector. These embeddings capture the context of the text, so similar sentences will have embeddings that are close to each other in vector space. When user enters a query, that query is also converted into embedding and that vector is matched against vectors in database. Thus, we get top 5 or 10 matching text chunks for the query which form the context. The query and context are passed to LLM to answer the question in a human-like manner.

Chains:

Today Chains is the most advanced and mature technology available that is extensively being used to build LLM applications. Chains are deterministic where a sequence of LLM calls are joined together with output from one flowing into one of more LLMs. For example, we could have a LLM call query a SQL database and get list of customer emails and send that list to another LLM that will generate personalized emails to Customers. These LLM chains can be integrated in existing application flows to generate more valuable outcomes. Using chains, we could augment LLM calls with external inputs like API calls and integration with knowledge graphs to provide context. Moreover, today with multiple LLM providers available like OpenAI, AWS Bedrock, Google PaLM, MosaicML, etc. we could mix and match LLM calls into chains. For chain elements with limited intelligence a lower LLM like ‘gpt3.5-turbo’ could be used while for more advanced tasks ‘gpt4’ could be used. Chains give an abstraction for data, applications and LLM calls.

Agents:

Agents is a topic of many online debates particularly with respect to being artificial general intelligence (AGI). Agents use an advanced LLM like ‘gpt4’ or ‘PaLM2’ to plan tasks rather than having pre-defined chains. So now when there are user requests, based on query the agent decides what set of tasks to call and dynamically builds a chain. For example, when we configure an agent with a command like “notify customers when loan APR changes due to government regulation update”. The agent framework makes a LLM call to decide on the steps to take or chains to build. Here it will involve invoking an app that scrapes regulatory websites and extracts latest APR rate, then a LLM call searches database and extracts customer emails which are affected and finally an email is generated to notify everyone.

Final Thoughts

LLM is a highly evolving technology and better models and applications are being launched every week. LLM to Agents is the intelligence ladder and as we move up, we build complex autonomous applications. Better models will mean more effective agents and the next-gen applications will be powered by these. Time will tell how advanced the next gen applications will be and what patterns they will be powered by.

Credit: Source link

ShareTweetSendSharePin

Related Posts

Sam Altman Apologizes as GPT-6 Astra Staged Launch Denies Paid Access – Unite.AI
AI & Technology

Sam Altman Apologizes as GPT-6 Astra Staged Launch Denies Paid Access – Unite.AI

September 4, 2026
This Rugged Smartphone’s Camera Is A Removable Action Cam
AI & Technology

This Rugged Smartphone’s Camera Is A Removable Action Cam

September 4, 2026
The Ternus Era At Apple Begins, But Cook Isn’t Leaving
AI & Technology

The Ternus Era At Apple Begins, But Cook Isn’t Leaving

September 4, 2026
Mobile Games Designed to Be Addictive Get More Kid-Friendly
AI & Technology

Mobile Games Designed to Be Addictive Get More Kid-Friendly

September 4, 2026
Next Post
Supreme Court’s student loan ruling could cut deficit by 0B

Supreme Court's student loan ruling could cut deficit by $300B

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Trump recalls start of his friendship with Lindsey Graham

Trump recalls start of his friendship with Lindsey Graham

September 3, 2026
The Bond Market Strikes Back

The Bond Market Strikes Back

August 28, 2026
Fast food restaurants are eating up the high cost of beef

Fast food restaurants are eating up the high cost of beef

September 1, 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!