PlanTy Agent ์๋ฒ๋ฅผ ์ด์ด ์ฑ๋ด์ ํ ์คํธํ๋ ํ์ด์ง์ ๋๋ค. PlanTy Agent ๋ ํฌ์งํ ๋ฆฌ์์ main.py๋ฅผ ์คํํ์ฌ ์๋ฒ๋ฅผ ์ฌ๋ฆฐ ๋ค, streamlit์ ํ์ฉํ์ฌ ์ฑ๋ด์ ํ ์คํธํ ์ ์๋ ํ์ด์ง๋ฅผ ์ฌ๋ฆด ์ ์์ต๋๋ค.
git clone https://github.com/Team-BIoTy/PlanTy_Chatbot.git
cd PlanTy_Catbot
GROQ_API_KEY_NO1 = ""
Chat_URL = "http://localhost:8000/chat_direct"
QA_URL = "http://localhost:8000/plant_qa"
.streamlit/secrets.toml๋ฅผ ์ถ๊ฐํ์ฌ ์ฌ์ฉํ groq api key ๋ค๊ณผ url์ ๋ฑ๋กํฉ๋๋ค.- ๋ก์ปฌ์์ ์ฌ์ฉํ ๊ฒฝ์ฐ ๊ฒฝ๋ก๋ฅผ
localhost:8000์ผ๋ก ์ง์ ํ๊ณ , - ์ธ๋ถ ์๋ฒ๋ฅผ ์ฌ์ฉํ ๊ฒฝ์ฐ ์๋ฒ ์ฃผ์๋ฅผ ๋ณ๊ฒฝํด์ผํฉ๋๋ค.
streamlit run app.py
streamlit run์ ์ฌ์ฉํ์ฌ ๋์ ๋ณด๋๋ฅผ ์คํํ ์ ์์ต๋๋ค.