Skip to content

Instantly share code, notes, and snippets.

View LuceCarter's full-sized avatar

Luce Carter LuceCarter

View GitHub Profile
@LuceCarter
LuceCarter / asking_questions.cs
Last active May 28, 2025 13:57
SemanticKernelWithMongoDBAtlas
Console.WriteLine("Welcome to the Movie Recommendation System!");
Console.WriteLine("Type 'x' and press Enter to exit.");
Console.WriteLine("============================================");
Console.WriteLine();
while(true)
{
Console.WriteLine("Tell me what sort of film you want to watch..");
Console.WriteLine();
@LuceCarter
LuceCarter / EmbeddingResponse.cs
Created April 8, 2024 10:49
Code snippets for the MongoDB Atlas Vector Search with C# and Blazor tutorial
namespace SeeSharpMovies.Models
{
public class EmbeddingResponse
{
public string @object { get; set; }
public List<Data> data { get; set; }
public string model { get; set; }
public Usage usage { get; set; }
}
@LuceCarter
LuceCarter / Actor.cs
Last active February 28, 2025 15:37
A set of code snippets for use in the Migrating from PostgreSQL to MongoDB in an EF Core App tutorial
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.EntityFrameworkCore;
namespace MigratedMoviesEFCore.Models;
[Collection("actors")]
public class Actor
{
[BsonId]
@LuceCarter
LuceCarter / BringingItTogether.cs
Created January 23, 2025 17:26
ai_agent_with_semantic_kernel_mongodb
OpenAIPromptExecutionSettings settings = new()
{
ToolCallBehavior = ToolCallBehavior.AutoInvokeKernelFunctions
};
Console.WriteLine("What would you like to make for dinner?");
var input = Console.ReadLine();
string ingredientsPrompt = @"This is a list of ingredients available to the user:
{{IngredientsPlugin.GetIngredientsFromCupboard}}

Zero to Mobile Database Hero

Introduction

This Gist is intended to be a list of useful links, related to Luce Carter's talk "Zero to Mobile Database Hero"

Links

  • Slides
  • GitHub Repo
  • MongoDB University - Free learning platform with videos, labs and quizzes on all things MongoDB from beginner to advanced
  • Community Forums - Our forums are the best place to ask questions, share your projects and meet others from MongoDB and the wider community
@LuceCarter
LuceCarter / intro_mongodb_nodejs.md
Last active June 18, 2024 17:42
A list of useful links related to MongoDB and NodeJS
@LuceCarter
LuceCarter / uselinks.md
Created May 15, 2024 15:01
Did Einstein Drink Coffee? Building a RAG app with Semantic Kernel and MongoDB Atlas

Zero to Document Hero - Intro to MongoDB and .NET

Heard about Document Databases and MongoDB but wondered what it is about? Tried NoSQL in the past and not been able to get your head around the differences with SQL and relational databases? In this talk I break down the differences and also look at how well it works with .NET development with added AI content!