DeepSeek R1 7b,Langchain 实现 RAG 知识库 | LLMs
DeepSeek R1 7b,Langchain 实现 RAG 知识库 | LLMs
- DeepSeek R1 7b,Langchain 实现 RAG 知识库
- DeepSeek R1
- Chat via Console
- Chat via Browser
- Langchain
- FAQs
GitHub https://github.com/hailiang-wang/ollama-get-started
DeepSeek R1 7b,Langchain 实现 RAG 知识库
Get started with Ollama for LLMs.
Install by installer - https://ollama.com/download.
Next, clone codes.
git clone https://github.com/hailiang-wang/ollama-get-started.git
cd ollama-get-started
DeepSeek R1
Video - https://www.youtube.com/watch?v=pLWzBA7mmgE
Model - https://ollama.com/library/deepseek-r1
Code - https://mer.vin/2025/01/ollama-reasoning-chatbot-code/
# download deepseek model and launch
ollama pull deepseek-r1
ollama run deepseek-r1
ollama ps # check running statuscd deepseek
pip install -r requirement.txt
python app.py
# Run Gradio to chat in Browser.
Chat via Console
Chat via Browser
Langchain
Based on blog and code.
First, make sure works DeepSeek R1
above are done, because Langchain RAG App below depends on DeepSeek R1
.
cd langchain
pip install -r requirements.txt
streamlit run app.py
Trace log -
FAQs
- ollama FAQs
- ollama Community