LLM: RAG contoh
Contoh: https://www.youtube.com/watch?v=7VAs22LC7WE python3 -m venv venv source venv/bin/activate mkdir pdf mkdir db pip3 install langchain_community pip3 install langchain-text-splitters pip3 install fastembed pip3 install pdfplumber pip3 install chromadb Edit apps.py from langchain_community.llms import Ollama llm = Ollama(model="llama3") responds=llm.invoke("Why the sky is blue?")
| Penerbit | Taratsa |
|---|---|
| Tahun | 2024-07-15 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:7ea86c72-6389-5671-a122-cd3b49094bfc |