Search Tutorials
--Ads--Prerequisites and Setup
The LLM, prompting, Python, API and local-model basics you need before building RAG systems.
- 1How Large Language Models WorkTokens, context windows, temperature and hallucination explained for RAG developers.
- 2Prompt Engineering BasicsSystem prompts, few-shot examples, XML-tagged context and structured output for RAG.
- 3Python Environment Setup for RAGCreate a virtual environment, manage API keys safely and install the libraries used in this tutorial.
- 4Setting Up VS Code, Jupyter and Anaconda for RAGInstall and configure VS Code, Jupyter notebooks and Anaconda environments for RAG development.
- 5Getting Started with the OpenAI API in PythonCreate an OpenAI API key, install the SDK and call OpenAI models from Python safely.
- 6Running Local LLMs with OllamaInstall Ollama, download open models and call them from Python for private, offline RAG.
- 7Using Hugging Face Models in PythonFind, download and run Hugging Face models for embeddings and text generation.
- 8Build Your First Generative AI ApplicationA small, complete chat application with a system prompt, history and streaming, before adding retrieval.
- 9Embeddings and Vector SimilarityWhat embeddings are and how cosine similarity, dot product and Euclidean distance work.