Spaces:
Paused
Paused
HW 7: Solutions
Deliverables
- Completed Notebook
- Chainlit Application in a Hugging Face Space Powered by Hugging Face Endpoints
- Screenshot of endpoint usage
Completed notebook
Chainlit Application
Link to Chainlit App in HuggingFace Space
Screenshots
The chat
The trace
The endpoints
The LLM model endpoint
The embeddings model endpoint
The Loom video
https://www.loom.com/share/162d71e4d445442faa40dba76f4cbf13
Lessons Learned & Open Questions
Lessons
- Learning how to translate notebook code into scripts.
- Learning/reminder that HF spaces can be used in dev mode and connected to VSCode.
- Learning how to setup LCEL RAG Chain.
- Understand how to deploy open-source LLMs & embedding models to scalable endpoints for production-grade LLM & RAG applications
- Build a RAG application with LCEL
- Build a front-end UI for RAG applications with Chainlit
Questions
- What are the challenges using LangChain in production - see lots of folks complaining about it on LinkedIn and Twitter.
- What complex RAG looks like.
- Have a basic understanding of the metrics used to monitor performance but still a novice with regards to LLM evals.