본문으로 건너뛰기

Retrieval Augmented Generation with the OpenAI API & Pinecone

Build a movie recommender system using GPT and learn key techniques to minimize hallucinations and ensure factual answers.
Vincent Vankrunkelsven
Vincent Vankrunkelsven

무료 계정 만들기

실습 문제하고 트랙하세요.

Google로 계속하기계속 진행하시면 다음 사항에 동의하는 것으로 간주됩니다: 이용약관 및 개인정보 처리방침 그리고 귀하의 데이터가 미국에 저장된다는 점에 동의하는 것으로 간주됩니다.

함께 코드 따라하기

코드 따라하기 ↗

Large language models like GPT are brilliant, but have a flaw: by themselves, they can't answer questions about facts when they weren't trained on suitable data, and may "hallucinate" an answer. This is a problem for answering questions that require recent knowledge or domain knowledge. The solution is to use "retrieval augmented generation" by pairing the LLM with a data store. In this code-along, you'll learn how to perform retrieval augmented generation in a case study on movie data. You'll process movie data for storage in the Pinecone vector database, then use it to inform answers to questions to GPT. You'll also learn how to structure prompts in a way to assist passing knowledge to and from the LLM.

주제

관련