Skip to content

Instantly share code, notes, and snippets.

@quinnhj
quinnhj / main.py
Last active January 16, 2024 23:30
Tidepool RAG Prompting Blog Source
import os
from collections import defaultdict
from openai import OpenAI
from pydantic import BaseModel, Field
from typing import Set, List
import json
file_dir_path = os.path.dirname(os.path.realpath(__file__))
##############################################################################
@quinnhj
quinnhj / README.md
Last active October 23, 2015 18:09
Scatterplot With Inspector

This is an example of integrating two visualizations using interactions on one of them. Based on mbostock's scatterplot and histogram demos, plus lgersman's selection window code: http://bl.ocks.org/lgersman/5311083. Forgive the horrid code -- I might clean this up later.

forked from mbostock's block: Scatterplot