[Gemini] ValueError: The `response.parts` quick accessor only works for a single candidate, but none were returned. Check the `response.prompt_feedback` to see if the prompt was blocked.
ยท
๐Ÿ—ฃ๏ธ Natural Language Processing
ValueError: The `response.parts` quick accessor only works for a single candidate, but none were returned. Check the `response.prompt_feedback` to see if the prompt was blocked. ์›์ธ : ์ž˜๋ชป๋œ request๋กœ prompt ์‘๋‹ต์ด ์ฐจ๋‹จ๋œ case ํ˜น์€ safety setting error request ๋ณด๋‚ด๊ธฐ ์ „์— parameter๋ฅผ ๋‹ค ๊ธฐ์ž…ํ•ด์ค€๋‹ค. ํ˜„์žฌ๋กœ์„œ๋Š” max_tokens candidate_count : ์ถœ๋ ฅ ์ˆ˜ top_p : log_probabilities๋“ค์˜ argmax ๊ฐ’์„ ์—ญ์ˆœ์œผ๋กœ ์ •๋ ฌํ•œ๋’ค ๋‹จ์–ด ๋‹จ์œ„๋กœ ์žฌ๊ตฌ์„ฑ (๊ธ€๋ €๋‹ค_argmax : 0.7, ํž˜๋“ค๋‹ค_a..
๋‹คํ–ˆ๋‹ค