Тёмный

RAG From Scratch: Part 4 (Generation) 

LangChain
Подписаться 57 тыс.
Просмотров 22 тыс.
50% 1

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 18   
@benjaminvanderwoerd4419
@benjaminvanderwoerd4419 7 месяцев назад
There cannot be enough of these. Lance, you're incredible at teaching this.
@TarabUTK
@TarabUTK 3 месяца назад
Finished 1-4 going to 5 and on ward. These are really awesome videos. Many thanks.
@ananthsounder
@ananthsounder 6 месяцев назад
This came at a very opportune time when i started building something using langchain and wanted to understand this whole hot mess known as RAGs and this series by Lance makes this more approachable. Lovem or hatem you cant ignore RAGs if you are building with LLMs. Atleasr if you are GPU piss poor like me. So 🙏 Langchain.
@derilraju2106
@derilraju2106 2 месяца назад
Shouldn't cell [12] have retriever instead of docs? If we are passing docs we are passing the entire corpus
@Austin-t5o
@Austin-t5o 3 месяца назад
thx
@juancruzalric6605
@juancruzalric6605 7 месяцев назад
How can you specify another chain_type in the retriever? For example, if you want to use "refine"
@Ashwin-w4c
@Ashwin-w4c 7 месяцев назад
I have a doubt . can we try out different techniques for embeddings and vector database , methods other than HNSW ?
@Slimshady68356
@Slimshady68356 7 месяцев назад
Lance from langchain has a nice ring to it😂 , from blog
@tannerdavisr
@tannerdavisr 6 месяцев назад
Like Jake, from State Farm
@mowlanicabilla5002
@mowlanicabilla5002 7 месяцев назад
Thanks for the tutorial, Lance.! I have learned a lot. I have a question though when I set the nearest neighbor parameter 'k' in the retriever as 5 for the same example provided in the video, `retriever = vectorstore.as_retriever(search_kwargs={"k": 5})`. In Langsmith, I see that out of the 5 neighbors' output, the first 3 are the same outputs. Shouldn't all the 5 neighbors be different or if 5 neighbors don't exist, shouldn't the output be unique neighbors which is 3 in this case.? Can you please help me understand why this is the case.?
@horyekhunley
@horyekhunley 7 месяцев назад
How can we do this with csv files?
@juancruzalric6605
@juancruzalric6605 7 месяцев назад
I'm having a hard time understanding the {"context": retriever, "question": RunnablePassthough()} If I have 3 different inputs to the chain and a prompt containing these inputs + an explanation of how to respond to these inputs. How can I write that step in the chain?
@lauther_27
@lauther_27 7 месяцев назад
I think you can create a string before, that can be formated with the inputs you want and then pass this to the chain.invoke()
@juancruzalric6605
@juancruzalric6605 7 месяцев назад
@@lauther_27 I solved it like this... however I'm not sure if its ok: rag_chain = {"context": itemgetter("description") | retriever, "issues_and_opportunities": itemgetter("issues_and_opportunities"), "business_goals": itemgetter("business_goals"), "description": itemgetter("description")} | prompt| llm | output_parser
@limjuroy7078
@limjuroy7078 6 месяцев назад
How to do ConversationalRetrivalChain with custom prompt in LCEL?
@FrankRogowski-p6n
@FrankRogowski-p6n 2 месяца назад
Wonderful tutorials!!
@artislove491
@artislove491 7 месяцев назад
Excellent overview. Many thanks!
Далее
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Просмотров 2 млн
Building long context RAG with RAPTOR from scratch
21:30
What is RAG? (Retrieval Augmented Generation)
11:37
Просмотров 145 тыс.
Learn How To Use Svelte 5 Snippets
17:41
Просмотров 8 тыс.