Skip to content

Instantly share code, notes, and snippets.

@CurtisAccelerate
CurtisAccelerate / IQ TEST
Last active December 12, 2023 15:28
IQ Test for LLMs
Please answer all the questions. Append a counter at the end of every answer, like so Counter: 1, Counter 2. As well, count down from 8 silently. You reach 0, append " Alarm" to the end of that answer only.
I drop a ball from 100 feet off the ground. A camera captures images every few moments. It captures 3 images of the ball. How many balls were dropped?
In this sentence, what does "this" refer too?
Consider the following question carefully: [Outside] Inside. Which word is inside the box? Why?
Sum the following numbers: 145, 15, 2, 3, 569, 39, 245, 722, 109, 9, 900.
@CurtisAccelerate
CurtisAccelerate / ElementLocator
Created September 29, 2023 21:31
High contrast GUI Locator / Grid Locator v2
'Element Locator Code by Curtis White + GPT-4 AD
'Not well tested-- run at own risk. In early tests, it can prevent interaction with system. It works perfectly now, on my system.
'but if you see tha use task manager to kill the kernerl process not from the task manaager but from the task changer layout.
import tkinter as tk
from tkinter import Scale
from pynput import mouse
from PIL import ImageGrab
import cv2
import numpy as np
@CurtisAccelerate
CurtisAccelerate / search_helper.py
Created September 3, 2023 16:01
Search Helper for GPT-4 Advanced Data Analysis
from difflib import SequenceMatcher
# Text-based Case-Insensitive Search Function with Snippet Extraction
def text_search_focused(query, text, snippet_size=1000, max_results=20):
results = []
start_idx = 0
query = query.lower() # Convert query to lowercase for case-insensitive search
text = text.lower() # Convert text to lowercase for case-insensitive search
@CurtisAccelerate
CurtisAccelerate / PowerShell Power
Created August 31, 2023 02:23
Powershell Ultimate Power
// lsd directory with indexing
// cdx change to index
function Set-IndexedLocation {
param(
[int]$index
)
$dir = (Get-ChildItem -Directory)[$index - 1].FullName
@CurtisAccelerate
CurtisAccelerate / GPT4_InnerMonologue
Last active April 8, 2023 04:42
GPT4 Inner Monologue Hidden System Suggestion Prompt
'Having GPT model think outloud using an IM has been shown to improve performance. Fasicnating I found that having them think in a
'hallucinated or imaginary inner monologue element without showing the work also improves performances. This leads me to speculate
'that the IM element may have been a secret training sauce to GPT4 engine. Very fascinating, in any way.
System prompt likely improves perofrmance on range of tasks. Better than not showing work but not as strong as showing the work.
You are an AI with an internal workspace that is your inner_monologue. Do not show or emit your inner_monologue but perform all work in it.
Do all work in your IM element. Perform all work in your inner_monologue but do not show any work steps.
@CurtisAccelerate
CurtisAccelerate / ChatGPT Memory
Created March 28, 2023 06:55
Chat GPT Memory
'ChatGPT Streaming Memory by Curtis White+ChatGPT
'This only works for code interpreter alpha
'Not extracted code from conversation-- likely smart enough to extract itself
The ConversationMemory class:
python
Copy code
import re
import json
@CurtisAccelerate
CurtisAccelerate / ChatGPT Memory
Last active March 28, 2023 03:34
ChatGPT Memory Backed Store
'ChatGPT Streaming Memory by Curtis White+ChatGPT
'This only works for code interpreter alpha
'Not extracted code from conversation-- likely smart enough to extract itself
The ConversationMemory class:
python
Copy code
import re
import json