[dify] Dify~ ollama ์—ฐ๋™
ยท
๐Ÿง‘‍๐Ÿ’ป Develop
https://dify.ai/ Dify.AI · The Innovation Engine for Generative AI ApplicationsThe next-gen development platform - Easily build and operate generative AI applications. Create Assistants API and GPTs based on any LLMs.dify.ai DifyDify๋Š” ์˜คํ”ˆ ์†Œ์Šค LLMOps ํ”Œ๋žซํผ์œผ๋กœ, ์‚ฌ์šฉ์ž๊ฐ€ AI ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ์‰ฝ๊ฒŒ ๊ฐœ๋ฐœํ•˜๊ณ  ์šด์˜ํ•  ์ˆ˜ ์žˆ๋„๋ก ์ง€์›ํ•ฉ๋‹ˆ๋‹ค. ์‹œ๊ฐ์  ์›Œํฌํ”Œ๋กœ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜์„ ํ†ตํ•ด ๋‹ค์–‘ํ•œ AI ๋ชจ๋ธ์„ ํ†ตํ•ฉํ•˜๊ณ , RAG ํŒŒ์ดํ”„๋ผ์ธ ๋ฐ ์—์ด์ „ํŠธ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. ๋˜ํ•œ, ๋ชจ๋ธ ๊ด€๋ฆฌ์™€ ๋ชจ๋‹ˆํ„ฐ๋ง ๊ธฐ๋Šฅ์„ ํ†ตํ•ด ํ”„๋กœํ† ํƒ€์ž…์—์„œ ํ”„๋กœ๋•์…˜๊นŒ..
[Airflow] airflow-init alembic.script.revision.ResolutionError: No such revision or branch ์˜ค๋ฅ˜
ยท
๐Ÿ›ข๏ธ Database
์›์ธ docker๋กœ ๊ธฐ์กด airflow 2.4 -> 2.8๋กœ ์—…๊ทธ๋ ˆ์ด๋“œ ํ›„ ๋‹ค์‹œ 2.8 -> 2.4๋กœ downgrade ํ•  ๋•Œ db migration์ด ๋˜์ง€ ์•Š์•„ ์ƒ๊ธฐ๋Š” ๋ฌธ์ œ Solution 1) airflow-init ์‹œ ๊ตฌ์„ฑ ๋‹จ๊ณ„์—์„œ `airflow db upgrade'๋ฅผ ์‹คํ–‰ํ•ด์•ผํ•˜์ง€๋งŒ init ๋‹จ๊ณ„์˜ time์ด ์งง์•„ ๋ฐ”๋กœ ์ข…๋ฃŒ ๋˜์–ด ๋ฒ„๋ฆผ ๋”ฐ๋ผ์„œ local ํ™˜๊ฒฝ์ด๋ผ๋ฉด `airflow db migrate`๋กœ db migrate ํ˜น์€ `airflow db upgrade`๋ฅผ ์ˆ˜ํ–‰ https://airflow.apache.org/docs/apache-airflow/stable/migrations-ref.html Reference for Database Migrations — Airflow Documentat..
๋‹คํ–ˆ๋‹ค
'docker' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก