chatwine-korean / readme.md
SungBeom's picture
Upload folder using huggingface_hub
4a51346

A newer version of the Gradio SDK is available: 5.6.0

Upgrade
metadata
title: chatwine
app_file: app.py
sdk: gradio
sdk_version: 3.35.2

์šฐ๋ฆฌ๊ฐ€ ๋ฌด์–ผ ํ•˜๋Š”๊ฐ€

์™€์ธ์— ๋Œ€ํ•œ ์ง€์‹์ด ์—†๋Š” ์‚ฌ๋žŒ๋„ ์™€์ธ์„ ์‰ฝ๊ฒŒ ์ฆ๊ธธ ์ˆ˜ ์žˆ๋„๋ก ๊ฐœ์ธ์˜ ์™€์ธ ๊ตฌ๋งค์™€ ์„ฑํ–ฅํŒŒ์•…์„ ๋•๊ณ , ์ถ”์ฒœ๋ฐ›์€ ์™€์ธ์„ ๊ตฌํ•  ์ˆ˜ ์žˆ๋Š” ๊ฐ€์žฅ ๊ฐ€๊นŒ์šด ๋งค์žฅ์˜ ์ •๋ณด ์ œ๊ณต.

์šฐ๋ฆฌ ์ œํ’ˆ์˜ ๊ธฐ๋Šฅ

  1. ์™€์ธ ์ถ”์ฒœ: ์‚ฌ์šฉ์ž์˜ ์„ฑํ–ฅ์„ ํŒŒ์•…ํ•˜๊ณ , ์ ์ ˆํ•œ ์™€์ธ์„ ์ถ”์ฒœํ•œ๋‹ค. ํ•œ๊ตญ๋‚ด์—์„œ ๊ตฌ๋งคํ•  ์ˆ˜ ์žˆ๋Š” ์™€์ธ์„ ์ถ”์ฒœํ•˜๊ณ , ๊ตฌ๋งค ๋งํฌ ์ œ๊ณต์„ ๋ชฉํ‘œ๋กœ ํ•œ๋‹ค.
  2. ์™€์ธ Q&A: ์‚ฌ์šฉ์ž๊ฐ€ ์งˆ๋ฌธ์„ ํ•˜๋ฉด ๊ทธ์— ์ ์ ˆํ•œ ์ •๋ณด๋ฅผ ์ œ๊ณตํ•œ๋‹ค.
  3. ์™€์ธ๋ฐ” ์ถ”์ฒœ: ์‚ฌ์šฉ์ž์˜ ์ƒํ™ฉ, ์œ„์น˜ ๋“ฑ์— ๋”ฐ๋ผ์„œ ์ ์ ˆํ•œ ์™€์ธ๋ฐ”๋ฅผ ์ถ”์ฒœํ•œ๋‹ค.

๋น ๋ฅธ ์ œํ’ˆ ๊ฐœ๋ฐœ์„ ์œ„ํ•ด Langchain์„ ์‚ฌ์šฉํ•œ๋‹ค. Langchain์€ ์–ธ์–ด ๋ชจ๋ธ์„ ์‚ฌ์šฉํ•˜๋Š” ์ œํ’ˆ ๊ฐœ๋ฐœ์— ๋„์›€์„ ์ฃผ๋Š” ํ”„๋ ˆ์ž„์›Œํฌ์ด๋‹ค.

์•„๋ž˜๋Š” Langchain ํ•™์Šต ์ž๋ฃŒ

๋จผ์ € deeplearning AI ๊ฐ•์˜๋ฅผ ๋“ฃ๊ณ , documentation์˜ Quickstart์™€ Modules๋ถ€๋ถ„์„ ์ฒœ์ฒœํžˆ ๋”ฐ๋ผ๊ฐ€ ๋ณด๋Š” ๊ฒƒ์„ ์ถ”์ฒœํ•œ๋‹ค.

์šฐ๋ฆฌ ๋ชจ๋ธ ๊ตฌ์กฐ

๊ตฌ์„ฑ ์š”์†Œ

  • Assistant: ๋Œ€ํ™” ๊ธฐ๋ก์„ ๋ณด๊ณ , ๋‹ค์Œ์— Agent๊ฐ€ ์ทจํ•ด์•ผํ•  ์ ์ ˆํ•œ ํ–‰๋™์„ ์ถœ๋ ฅํ•œ๋‹ค.
  • Agent: ๋Œ€ํ™” ๊ธฐ๋ก๊ณผ Assistant์—์„œ ์ถœ๋ ฅํ•œ ํ–‰๋™์— ๋”ฐ๋ผ ๋„๊ตฌ๋ฅผ ํ™œ์šฉํ•ด ์œ ์ €์—๊ฒŒ ์ „๋‹ฌํ•  ์ ์ ˆํ•œ ์‘๋‹ต์„ ์ƒ์„ฑํ•œ๋‹ค.
  • Tools: ์™ธ๋ถ€ ๋ฐ์ดํ„ฐ๋ฅผ ํ™œ์šฉํ•˜๊ธฐ ์œ„ํ•œ ๋„๊ตฌ
  • Database: ์™€์ธ, ์™€์ธ๋ฐ” ๋“ฑ์˜ ์ •๋ณด๊ฐ€ ๋‹ด๊ฒจ์žˆ๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค
  • Web: ๋ง๊ทธ๋Œ€๋กœ ์›น(๊ตฌ๊ธ€)

requirements

  • pip install langchain
  • pip install openai
  • pip install ipykernel
  • pip install pandas
  • pip install chromadb
  • pip install tiktoken
  • pip install lark
  • pip install "langchain[docarray]"
  • pip install google-search-results
  • pip install gradio

๊ฐ€์žฅ ๋จผ์ € quickstart ๋…ธํŠธ๋ถ์„ ํ†ตํ•ด ์ „์ฒด ๋ชจ๋“ˆ์„ ํŒŒ์•…ํ•ด๋ณด์„ธ์š”!

TODO

Assistant

  • Assistant ๋…ธํŠธ๋ถ
  • ๋ชฉํ‘œ: Assistant evaluation set์— ๋Œ€ํ•ด 95% ์ด์ƒ์œผ๋กœ Agent์˜ ๋‹ค์Œ action์„ ์˜ˆ์ธก

๋Œ€ํ™” ๋ฐ์ดํ„ฐ์…‹ ์ œ์ž‘

Evaluation Set ์ œ์ž‘

Tools ๋ฐ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ์ œ์ž‘

์™€์ธ ๋ฐ ์™€์ธ๋ฐ” database ์ œ์ž‘

Agent

Gradio๋ฅผ ํ†ตํ•œ ์›น๋ฐ๋ชจ ์ œ์ž‘

  • Gradio ๋ฐฐํฌ ๋…ธํŠธ๋ถ
  • ๋ชฉํ‘œ: ์•ฑ ์ œ์ž‘ ์ „ ์–ธ์–ด๋ชจ๋ธ ํ…Œ์ŠคํŠธ ๋ฐ GPT4๋กœ ์ƒ์„ฑํ•œ ๋ฐ์ดํ„ฐ์…‹ ์‚ฌ๋žŒ์ด ๊ฒ€์ฆ ๋ฐ ์ˆ˜์ •