Microsoft offers guide to pirating Harry Potter series for LLM training
6 days ago
- #LangChain
- #Azure SQL
- #Vector Search
- Microsoft SQL now supports native vector search capabilities in Azure SQL and SQL database in Microsoft Fabric.
- The langchain-sqlserver package enables the management of SQL Server as a Vectorstore in LangChain.
- A step-by-step tutorial demonstrates how to add generative AI features to applications using Azure SQL DB, LangChain, and LLMs.
- The Harry Potter series is used as a dataset for creating engaging examples.
- Two use cases are explored: a Q&A system and generating AI-driven Harry Potter fan fiction.
- The process involves installing the langchain-sqlserver package, loading and chunking the dataset, generating embeddings, and initializing the vector store.
- The Q&A system leverages similarity search to provide context-rich answers.
- The fan fiction generator uses embeddings to create new stories based on user prompts.
- Code samples and a GitHub repository are provided for further exploration.