Skip to content

Instantly share code, notes, and snippets.

View jeffcogswell's full-sized avatar

Jeffrey Cogswell jeffcogswell

View GitHub Profile
@jeffcogswell
jeffcogswell / chroma_sample.py
Last active August 24, 2023 21:10
chromadb example
import os
import chromadb
chroma_client = chromadb.Client()
collection = chroma_client.create_collection(name="wiki")
def load_txt_files(directory):
txt_files = []
names = []
@jeffcogswell
jeffcogswell / create_csharp_program_class.md
Created October 23, 2023 19:00
Create C# console app in command line with Program Class

How to use the dotnet command line to create a C# app with the program class like the good old days

dotnet new console --use-program-main