LangChain
LLM(Large language model)을 활용한 어플리케이션을 만들기 위한 Framework
많은 모듈을 가지고 있고, 광범위 함
모듈을 위한 메모리가 있음
GPT(Open AI API)는 없어서 직접 구현 필요
어플리케이션의 component를 바꿀(swap) 수 있음 (GPT → Claude)
SystemMessage is sent by the system, the AIMessage is sent by the AI and the HumanMessage is sent by the user. They all make up a conversation.
AIMessage is a message we can use to simulate a previous answer from the assistant.
When you use ChatGPT and you send a message you are only sending human messages.
There is a system prompt set by OpenAI that sets many rules for how the Chatbot should talk to you. (#3.1 Predict Messages)
model → template - prompt
Output parser : LLM의 응답(Response)를 변형해야 할 때 사용 (ex. 데이터를 DB에 특정 형식으로 넣을 때)
이제부터(09.22) 수강… #3.0~