LangChainを使わない分かる https://rio.st/2023/12/16/langchain%e3%82%92%e4%bd%bf%e3%82%8f%e3%81%aa%e3%81%84%e5%88%86%e3%81%8b%e3%82%8b/