
1. API연결# API 연결import osos.environ["OPENAI_API_KEY"] = "sk로 시작하는 자기 API Key 입력" 2. llm에 입력할 템플릿 작성# 템플릿 작성from langchain import PromptTemplatetemplate = "서울에서 프렌차이즈점이 아닌 유명한 {food} 맛집 세 곳 추천해줘"prompt = PromptTemplate( input_variables=["food"], template=template) 3. llm 생성# 모델 생성from langchain.chat_models import ChatOpenAIllm = ChatOpenAI(temperature=0, model='gpt-4') 4. 모델에 전달 및 예측 결과 반환..

1. RAG란?- Retrieval-Augmented Cegeration1) 정보 검색(Retrieval): LLM이 텍스트를 생성할 때 관련 정보를 찾아 보고2) 텍스트 생성(Generation) 그 정보를 활용하여 새로운 텍스트를 만드는 기술 2. 정보 검색1) 질문/키워드 입력(쿼리)2) 해당 쿼리와 관련된 정보를 DB나 인터넷에서 찾음3) 유사도 검색: 검색 엔진이 쿼리와 DB에 있는 문서들 사이의 유사도를 계산- 키워드 검색: 사용자가 입력한 단어나 구를 DB나 인터넷에서 직접 찾는 방식- 시맨틱 검색: 단어의 의미와 문맥을 이해하여 보다 관련성 높은 결과를 제공하는 기술 4) 랭킹처리: 검색 결과를 가장 관련이 높다고 판단되는 문서부터 순서대로 나열- 유사도 계산: 문서나 단어 사이의 관련성이..

상황 필러생각중흥미롭네요music...hmm..interesting. 어디보자,, 좋아 간다music...hmm let me see...ok, here we go. 음,,uhm...you know uh.... well... yes... let me think... oh! I think~ she is a....a disco girl I like... I really like.. 할말없을때 oh my god!! this question is really difficult! I haven't thought about this but I'll try my best answer. oh my gotsh! I wasn't expecting this question. 문장앞에나는 이렇게 말하고 싶어..

Q10-1. Pick 2 of your friends or family members. How are they similar and how are they different?친구나 가족 중 두 명을 골라보세요. 그들이 어떻게 비슷하고 어떻게 다른지 설명해 주세요. Among my close friends, I have one from high school and one from university. They both like to travel like me. People say that traveling with friends can sometimes cause problems, but it's always fun with them. We usually make plans, but we don't get..

Q9-1. I like to give you a situation and ask you to act it out. You want to buy a piece of furniture for your house. Ask the sales person at the furniture store 3 or 4 questions about the furniture you want to buy. 저는 상황을 드리고 연기해 주시길 원합니다. 당신은 집에 놓을 가구를 사고 싶어합니다. 가구점의 판매원에게 구매하려는 가구에 대해 3~4가지 질문을 해보세요. Hello. I want to buy a bed. My room is small, so I need a bed with lots of storage space. I l..

Q7-1. Tell me about a beach you like to go to. Where is it? What does it look like? How often do you go to the beach? 좋아하는 해변에 대해 이야기해 주세요. 어디에 있나요? 어떻게 생겼나요? 얼마나 자주 해변에 가나요? I like Gwangalli Beach in Busan. There is a famous bridge called "Gwangandaegyo" there. It looks really beautiful at night when it is lit up. I want to go often, but Busan is too far, so I can only go once or twice a year. ..

Q6-1. What type of music do you like listening to? Who is your favorite singer or composer? 어떤 음악을 듣는 것을 좋아하나요? 가장 좋아하는 가수나 작곡가는 누구인가요? I like Korean indie music. I like calm music with good lyrics. It's like the songs you hear in a cafe. My favorite singer is Standing Egg. The name is funny, right? The lyrics of their songs are really pretty. Most of the songs are about love. My friend says the..

원래는 내가 직접 말해본 것을 녹음하고 문법 오류를 고치는 방식으로 연습을 했었는데, 내가 질문을 잘못 이해해서 다르게 이야기 하거나, 한국어로도 뭐라고 대답해야할 지 모르겠을 때가 많아서 그냥 한국어로 작성하고 chatGPT한테 쉬운 단어와 문장으로 번역을 해달라고 해서 답변을 준비했다. chatGPT가 답변해준 문장이 입에 잘 안익는다면, 초등학생이 얘기할 수준으로 바꿔달라고 하면 쉬운 문장으로 바꿔준다. Q4-1. I'd like to give you a situation and ask you to act it out. You want to watch a movie with your friend. Call a theater and ask three or four questions about ..
- Total
- Today
- Yesterday
- 아침운동
- 줄넘기
- ChatGPT
- opic
- 미라클모닝
- 오픽
- Ai
- 영어회화
- 아침
- 기초
- 다이어트
- Python
- 티스토리챌린지
- 30분
- 오블완
- IH
- llm
- SQL
- C언어
- 루틴
- 프로그래머스
- 뉴스
- 스크랩
- 경제
- 고득점 Kit
- 빅데이터 분석기사
- 갓생
- 운동
- 실기
- 습관
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |