Description ๐ ํ์ฌ ๋ฌธ์ ์
ํ ํ๋ฉด์ AI ์ถ์ฒ ๋ฌธ์ ์๋ก๊ณ ์นจ ๋ฒํผ์ ๋๋ฌ๋ ๋งค๋ฒ ๋์ผํ ๋ฌธ์ ๊ฐ ๋ฐํ๋๋ค.
Qdrant ๋ฒกํฐ ๊ฒ์์ ๋์ผํ ์ฟผ๋ฆฌ ๋ฒกํฐ(์ค๋ต ํจํด)์์ ํญ์ ๊ฐ์ Top-K ๊ฒฐ๊ณผ๋ฅผ ๋ฐํํ๊ธฐ ๋๋ฌธ์ด๋ค.
์๋ก๊ณ ์นจ ๋ฒํผ์ UX ๋ชฉ์ ("๋ค๋ฅธ ๋ฌธ์ ๋ณด๊ณ ์ถ๋ค")๊ณผ ์ค์ ๋์์ด ๋ถ์ผ์นํ๋ค.
๐ ๏ธ ํด๊ฒฐ ๋ฐฉ์ / ์ ์ ๊ธฐ๋ฅ
์๋ก๊ณ ์นจ ๋ฒํผ์ ๋๋ฅผ ๋๋ง๋ค ์ด๋ฒ ์ธ์
์์ ์ด๋ฏธ ์ถ์ฒ๋ ๋ฌธ์ ๋ฅผ excludeQuestionUuids๋ก API์ ์ ๋ฌํ์ฌ ์ค๋ณต ์ ์ธํ๋ค.
๋ธ๋ผ์ฐ์ ์๋ก๊ณ ์นจ ์ ์์ฐ์ค๋ฝ๊ฒ ์ด๊ธฐํ๋๋ค(React state ์ด๊ธฐํ).
์ธ์
๋ด ์ค๋ณต๋ง ์ ์ธํ๋ฉฐ, ์ด๋ฏธ ํผ ๋ฌธ์ ์ ์ฒด ์๊ตฌ ์ ์ธ๋ ๋ฒ์ ๋ฐ์ด๋ค(๋ฌธ์ ๊ณ ๊ฐ ๋ฐฉ์ง).
โ๏ธ ์์
๋ด์ฉ
๋ฐฑ์๋: QuestionController โ excludeQuestionUuid(๋จ์) โ excludeQuestionUuids(๋ณต์ List) ๋ณ๊ฒฝ
๋ฐฑ์๋: RecommendationService โ mustNotIds์ ๋ฆฌ์คํธ ์ ์ฒด ์ถ๊ฐ
ํ๋ก ํธ: src/api/questions.ts โ excludeQuestionUuids ๋ฐฐ์ด ๋ฐ๋ณต append ์ง๋ ฌํ
ํ๋ก ํธ: src/hooks/useHome.ts โ useRecommendations(excludeUuids) ํ๋ผ๋ฏธํฐ ์ถ๊ฐ, queryKey์ ํฌํจ
ํ๋ก ํธ: src/pages/Home.tsx โ seenUuids state ์ถ๊ฐ, ์๋ต ๋์ฐฉ ์ ๋์ , ์๋ก๊ณ ์นจ ์ ์ ๋ฌ
๐โโ๏ธ ๋ด๋น์
๋ฐฑ์๋: ์์์ฐฌ
ํ๋ก ํธ์๋: ์์์ฐฌ
๋์์ธ: -
Reactions are currently unavailable
You canโt perform that action at this time.
๐ ํ์ฌ ๋ฌธ์ ์
๐ ๏ธ ํด๊ฒฐ ๋ฐฉ์ / ์ ์ ๊ธฐ๋ฅ
โ๏ธ ์์ ๋ด์ฉ
๐โโ๏ธ ๋ด๋น์