Skip to content

Instantly share code, notes, and snippets.

find: https://order.dominos.com/power/store-locator?s=${line1}&c=${line2}&type=${type}
method: GET
s: Street Address
c: City, State and/or Postal Code
type: Delivery or Carryout
store info: https://order.dominos.com/power/store/${storeID}/profile
method: GET
storeId: store id number
@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active March 13, 2026 10:04
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@disler
disler / README_MINIMAL_PROMPT_CHAINABLE.md
Last active February 3, 2026 13:41
Minimal Prompt Chainables - Zero LLM Library Sequential Prompt Chaining & Prompt Fusion

Minimal Prompt Chainables

Sequential prompt chaining in one method with context and output back-referencing.

Files

  • main.py - start here - full example using MinimalChainable from chain.py to build a sequential prompt chain
  • chain.py - contains zero library minimal prompt chain class
  • chain_test.py - tests for chain.py, you can ignore this
  • requirements.py - python requirements

Setup

@disler
disler / README.md
Last active October 22, 2024 02:58
Personal AI Assistant: 'Ada' - v0

This is not working complete code.

This is strictly a v0, scrapy, proof of concept for the first version of a personal AI Assistant working end to end in just ~322 LOC.

It's only a frame of reference for you to consume the core ideas of how to build a POC of a personal AI Assistant.

To see the high level of how this works check out the explanation video. To follow our agentic journey check out the @IndyDevDan channel.

Stay focused, keep building.

@janakiramm
janakiramm / rag_gemini.py
Created March 8, 2024 06:14
Python code to implement RAG with Vertex AI Vector Search and Gemini Pro
# The previous part of this tutorial is at https://gist.github.com/janakiramm/55d2d8ec5d14dd45c7e9127d81cdafcd
from vertexai.language_models import TextEmbeddingModel
from google.cloud import aiplatform
import vertexai
from vertexai.preview.generative_models import GenerativeModel, Part
import json
import os
project=”YOUR_GCP_PROJECT”
@janakiramm
janakiramm / vector_search.py
Created March 8, 2024 05:39
Python Code to create Vertex AI Vector Search Index and Deploying it.
###Enable Google Cloud APIs and login with your credentials
#gcloud services enable compute.googleapis.com aiplatform.googleapis.com storage.googleapis.com
#gcloud auth application-default login
###Install required Python modules
#pip install pypdf2
#pip install google-cloud-storage
#pip install google-cloud-aiplatform
#pip install jupyter
@langecrew
langecrew / OAI_CONFIG_LIST
Last active February 12, 2024 04:53
Society of Mind Agent
[
{
"model": "gpt-4",
"api_key": "PASTE_YOUR_API_KEY_HERE"
},
{
"model": "gpt-4-1106-preview",
"api_key": "PASTE_YOUR_API_KEY_HERE"
},
{
@mdwoicke
mdwoicke / aswarm_agents_python.py
Created February 3, 2024 20:54 — forked from petro1eum/aswarm_agents_python.py
Telegram interface for swarm agency
import asyncio
import contextlib
import logging
from telegram import Bot, Update
from telegram.error import Forbidden, NetworkError
# Initialize logging
logging.basicConfig(
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s", level=logging.INFO
)
@mdwoicke
mdwoicke / ragfusion-node.js
Created January 5, 2024 22:17 — forked from heaversm/ragfusion-node.js
RAGFusion Node / Javascript Implementation
//RRF App Backend
//import node / express dependencies
import express from "express";
import path from "path";
//you'll need a '.dotenv' file in the root with the following variable:
//OPENAI_API_KEY="[YOUR_OPENAI_API_KEY_HERE]"
import dotenv from "dotenv";
@langecrew
langecrew / OAI_CONFIG_LIST
Created January 3, 2024 00:08
Autogen Autobuild
[
{
"model": "gpt-4",
"api_key": "PASTE_YOUR_API_KEY_HERE"
},
{
"model": "gpt-4-1106-preview",
"api_key": "PASTE_YOUR_API_KEY_HERE"
},
{