back chevron
Back to Events
back chevron
Back to Events

Personalizing LLMs with a Feature Store

Personalizing LLMs with a Feature Store
No items found.

Personalizing LLMs with a Feature Store

calendar icon
October 31, 2023
calendar icon
clock icon
11:00 am
PDT
clock icon
PDT
clock icon
San Francisco

We are participating at ODSC West with a workshop on how to personalize LLMs with a Feature Store. Make sure to join us in San Francisco!

Large language models (LLMs) encode a model language, and by extension the world. Prompt engineering can be used to personalize LLMs by pre-pending a prompt to the user's LLM query. Feature stores are already widely used to provide context and history to online models that are deployed on stateless applications - an application can use a user-id or session-id to retrieve precomputed features for the user or session that are used to enrich the features available at request-time. We can easily imagine how the answer provided by a LLM to a task about how get to my summer house could be improved if the LLM knew the time of year, the weather, that I like to cycle that distance, and that I have a car.

In this talk, we show how to personalize LLMs using a feature store and prompt engineering. We walk through how to build an example free serverless, personalized LLM application using Hopsworks, an open-source feature store with a built-in vector database. We will look at how to build templates for prompts, and how they can be easily constructed and included in user queries. We will look at how to fill-in prompt templates with real-time context data, produced by streaming feature pipelines, and user-specific data, produced by batch feature pipelines. We will also look at how we can incorporate documents from vector databases in prompts using a combination of user-input and historical user data from the feature store. We will make this example application available as open-source in Python.

Register now!

Thank you for registering!
Oops! Something went wrong while submitting the form, please check your details again.

Tags

You might also be interested in:

© Hopsworks 2024. All rights reserved. Various trademarks held by their respective owners.

Privacy Policy
Cookie Policy
Terms and Conditions