NL2SQL ( Natural Language to(2) SQL )
WSL2 ( Windows Subsystem for Linux2 )
wsl -l -v
wsl -d Ubuntu-22.04
wsl
1) sudo apt-get update
2) sudo apt-get install python3 python3-pip -y
AI Agent
-> LLM 이 외부 API 를 활용하는 것
-> functions vs tools ( server side 에서 관리 )
local LLM model
curl -fsSL https://ollama.com/install.sh | sh
ollama ps
ollama pull aya-expanse
ollama list
ollama run aya-expane
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
free -h
nohup ollama run qwen3:0.6b > ollama_qwen3.log 2>&1 &
vi run_code_ollama.sh
./run
.wslconfig
[wsl2]
memory=4GB
swap=2GB # 스왑 공간 설정
Gradio
pip install -U gradio
Streamlit
LangChain
https://smith.langchain.com/hub
smith.langchain.com