https://github.com/pamelafox/learnlive-rag-starter/ Starting from this repo: (PostgreSQL + OpenAI + GitHub models) Want to follow along? Open in GitHub Codespaces:
https://github.com/pamelafox/learnlive-rag-starter/tree/solution Using the backend API from part 1: https://github.com/burkeholland/chat-front-end One possible frontend:
a production app, you need... Tests Infrastructure Security Automation A full-featured RAG-on-PostgreSQL solution is here: https://github.com/Azure-Samples/rag-postgres-openai-python/
and it will suggest code. Chat: Ask questions about your code or code topics. (Use agents like @workspace for specific tasks) Context menu: Ask it to explain, fix, or test selected code.
Open relevant files or use #file to select file Write comments that describe intent Add imports for the packages that you want it to use Write descriptive names for variables, functions, classes Use types (TypeScript for JS, annotations for Python) Be predictable: Follow standard naming conventions Use common software architecture patterns Prompting Copilot in VS Code: tinyurl.com/prompting-vscode
Be wary when asking about niche/new libraries or APIs Find out immediately if Copilot made an inaccurate suggestion: Use real-time linters to check your work Write tests for your code
GitHub Copilot TODAY’S SESSION ▪ October 22nd: Automate your repository using GitHub Actions ▪ October 8th: Build powerful READMEs with Markdown UPCOMING SESSION aka.ms/learn/GitHubUniverse Tuesday, 10:00 am EST ON DEMAND SESSION