Parabéns!

Retrieval Augmented Generation (RAG) com LangChain

Meri Nova

Machine Learning Engineer

Capítulo 1

Blocos de documentos são armazenados.

Retrieval Augmented Generation (RAG) com LangChain

Capítulo 1

A saída do modelo sendo passada para um parser.

Retrieval Augmented Generation (RAG) com LangChain

Capítulo 2

 

Arquivos Markdown

  • UnstructuredMarkdownLoader

Arquivos Python

  • PythonLoader
  • language=Language.PYTHON

 

Divisão por tokens → TokenTextSplitter

Divisão semântica → SemanticChunker

semantic3.jpg

Retrieval Augmented Generation (RAG) com LangChain

Capítulo 2

Um fluxo de trabalho RAG destacando os processos que conseguimos avaliar, incluindo a recuperação, alucinação do LLM, relevância da resposta para a pergunta de entrada e comparação com uma resposta de referência.

1 Crédito da imagem: LangSmith
Retrieval Augmented Generation (RAG) com LangChain

Capítulo 3

Um grafo mostrando conexões entre pessoas, lugares e interesses.

Retrieval Augmented Generation (RAG) com LangChain

Capítulo 3

Um tradutor de linguagem natural para Cypher converte a entrada em linguagem natural em uma consulta Cypher e os documentos de grafo recuperados de volta em linguagem natural.

Retrieval Augmented Generation (RAG) com LangChain

Vamos praticar!

Retrieval Augmented Generation (RAG) com LangChain

Preparing Video For Download...