- Create a new directory with these three files (requirements.txt, main.py, README.md)
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python main.py
- Update
main()
to run the example prompt chains
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Source: https://www.youtube.com/playlist?list=PLfaIDFEXuae2LXbO1_PKyVJiQ23ZztA0x
Video | Summary | Links |
---|---|---|
Part 1 (Overview) | Introduces RAG, outlining the series from basic concepts to advanced techniques. | [Code](https://github.com/langchain-ai/rag-from-scratch/blob/main/rag_from_scratch_1_to_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"kind": "youtube#playlistItemListResponse", | |
"etag": "4oVDxXOqlyaVnRrnJXuhwXPhMSg", | |
"items": [ | |
{ | |
"kind": "youtube#playlistItem", | |
"etag": "bh6WIsa4tB6e6DgavMaPsvdBOOA", | |
"id": "UExmYUlERkVYdWFlMkxYYk8xX1BLeVZKaVEyM1p6dEEweC41NkI0NEY2RDEwNTU3Q0M2", | |
"snippet": { | |
"publishedAt": "2024-02-06T01:10:40Z", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from langchain.chat_models import ChatOpenAI | |
from langchain.prompts import ChatPromptTemplate | |
from langchain.schema.output_parser import StrOutputParser | |
import requests | |
from bs4 import BeautifulSoup | |
from langchain.schema.runnable import RunnablePassthrough, RunnableLambda | |
from langchain.utilities import DuckDuckGoSearchAPIWrapper | |
import json | |
RESULTS_PER_QUESTION = 3 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
- Neal Ford's DDD playlist
- Neal gets first spot as he came up with the idea first of a "reading list" referencing a single chapter, instead of the whole book
- Building Microservices - chapter 2
- Learning Domain-Driven Design - chapter 1
- the business centric comparison of core VS generic sub-domains is interesting. (generic sub-domains as an area where a business may choose to outsource a specific function)
- Accelerate - foreword by Courtney Kissler
- I found Courtney's foreword the most compelling reason to read the rest of the book
NewerOlder