Skip to content

Instantly share code, notes, and snippets.

View itsbrex's full-sized avatar
🎯
focusing

Brian Roach itsbrex

🎯
focusing
View GitHub Profile
@disler
disler / llm.py
Last active May 1, 2024 20:45
Python LLM Starter Module
"""
Purpose:
Interact with the UPDATED OpenAI API Supports 1.2.3+
Provide supporting prompt engineering functions.
"""
"""
Purpose:
Interact with the OpenAI API.
Provide supporting prompt engineering functions.
"""
@Explosion-Scratch
Explosion-Scratch / ChatGPT Auto Send.md
Last active February 19, 2024 11:23
Use ChatGPT as a custom search engine in Chrome - ChatGPT Auto Send

ChatGPT Auto Send

chatgpt_search_demo.mp4

Allows using ChatGPT as a search engine or to summarize transcripts (https://chat.openai.com/?query=%s, e.g. https://chat.openai.com/?query=how large is the sun).

You can also use it with Claude, for example https://claude.ai/chats?query=hello.

There's also ?transcript and ?copied. copied uses the prompt from your clipboard (you might have to click "Allow" on the notif asking permission), and transcript hides miscellaneous UI elements and writes an article based on a video transcript instead of using the default prompt.

# Must have conda installed
# It costs approximately $0.2 (in GPT-4 API fees) to generate one example with analysis and design, and around $2.0 for a full project.
conda create -n metagpt python=3.11.4
conda activate metagpt
npm --version # to check you have npm installed
# optional: install node if you don't have it
npm install -g @mermaid-js/mermaid-cli
git clone https://github.com/geekan/metagpt
cd metagpt
@wolfecameron
wolfecameron / llm_preso_links_2.txt
Created August 10, 2023 13:42
LLM Presentation Links (EY Week #2)
@rsimd
rsimd / pyproject.toml
Created July 23, 2023 07:13
`pyproject.toml` for `rye` to install `pytorch` that can use `cuda` (wip)
[project]
name = "dsbook"
version = "0.1.0"
description = "Add a short description here"
dependencies = [
"numpy>=1.24.4",
"scipy>=1.10.1",
"pandas>=2.0.3",
"matplotlib>=3.7.2",
"plotly>=5.15.0",
@rihardn
rihardn / chrome-flags-for-tools.md
Last active August 15, 2023 08:23
Chrome Flags for Tooling

Chrome Flags for Tooling

Many tools maintain a list of runtime flags for Chrome to configure the environment. This file is an attempt to document all chrome flags that are relevant to tools, automation, benchmarking, etc.

All use cases are different, so you'll have to choose which flags are most appropriate.

Here's a Nov 2022 comparison of what flags all these tools use.

Commonly unwanted browser features

@madawei2699
madawei2699 / CDDR.md
Last active October 30, 2023 11:56
ChatGPT Driven Development Record / SendMessages / myGPTUser

2023-04-13


ChatGPT

You

@hyperupcall
hyperupcall / settings.jsonc
Last active May 13, 2024 22:21
VSCode config to disable popular extensions' annoyances (telemetry, notifications, welcome pages, etc.)
// I'm tired of extensions that automatically:
// - show welcome pages / walkthroughs
// - show release notes
// - send telemetry
// - recommend things
//
// This disables all of that stuff.
// If you have more config, leave a comment so I can add it!!
{
@s-macke
s-macke / gpt-4-tokens.txt
Last active February 23, 2024 17:58
All 100k GPT-4 Tokens. New lines are replaced with \n and carriage returns with \r. The index of the token is (index=line-1). The list is extracted using https://github.com/openai/tiktoken
!
"
#
$
%
&
'
(
)
*
@leandrochiarini
leandrochiarini / arxiv-today.py
Created March 29, 2023 18:42
Command line interface to look for arxiv articles from today using fzf. It also saved all opened articles
#!/usr/bin/env python3
import arxiv
import feedparser
import re
import os
from pathlib import Path
from pyfzf.pyfzf import FzfPrompt
import webbrowser
import argparse
import sys