질의응답 애플리케이션의 경우 사용자의 추가 질문에 대답하기 위해 애플리케이션 컨텍스트를 제공하려면 대화에서 말한 내용의 기록이 필요합니다. LangChain ChatMessageHistory 클래스를 사용하면 애플리케이션이 메시지를 저장하고 필요할 때 가져와 추가 답변을 생성할 수 있습니다. 메시지는 질문, 대답, 서술, 인사말 또는 대화 중에 사용자 또는 애플리케이션이 제공하는 기타 텍스트일 수 있습니다.
ChatMessageHistory가 각 메시지를 저장하고 각 대화의 메시지를 함께 연결합니다.
Bigtable은 BigtableChatMessageHistory로 이 클래스를 확장합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-11(UTC)"],[[["\u003cp\u003eThis page introduces how to use LangChain, an LLM orchestration framework, to build generative AI applications or retrieval-augmented generation (RAG) workflows.\u003c/p\u003e\n"],["\u003cp\u003eBigtable offers LangChain interfaces for document loading, allowing for the saving, loading, and deleting of LangChain \u003ccode\u003eDocument\u003c/code\u003e objects, and chat message history, facilitating question-and-answer applications by storing and retrieving conversation messages.\u003c/p\u003e\n"],["\u003cp\u003eThe document loader procedure guide demonstrates how to install the integration package and LangChain, load documents from a table, add filters, customize connections and authentication, and manage \u003ccode\u003eBigtableSaver\u003c/code\u003e for storing and deleting documents.\u003c/p\u003e\n"],["\u003cp\u003eThe chat message history procedure guide explains how to install LangChain, authenticate to Google Cloud, initialize Bigtable schema, and use the \u003ccode\u003eBigtableChatMessageHistory\u003c/code\u003e class to add and delete conversation messages.\u003c/p\u003e\n"],["\u003cp\u003eLangChain is currently a Pre-GA feature, which means it is available "as is," may have limited support, and is subject to the "Pre-GA Offerings Terms" in the General Service Terms.\u003c/p\u003e\n"]]],[],null,[]]