Skip to content

Instantly share code, notes, and snippets.

View bazhang87's full-sized avatar

Bart Zhang bazhang87

View GitHub Profile
#!/usr/bin/ruby
#
# This tool is only used to "decrypt" the github enterprise source code.
#
# Run in the /data directory of the instance.
require "zlib"
require "byebug"
KEY = "This obfuscation is intended to discourage GitHub Enterprise customers "+
@bazhang87
bazhang87 / README.md
Created March 27, 2023 19:25 — forked from nikcub/README.md
Facebook PHP Source Code from August 2007
@bazhang87
bazhang87 / README.md
Created March 27, 2023 19:25 — forked from nikcub/README.md
Facebook PHP Source Code from August 2007
from langchain.llms import Anthropic
from langchain.agents import load_tools, initialize_agent
from langchain.tools import AIPluginTool
PREFIX = """\n\nHuman: Answer the following questions as best you can. You have access to the following tools:"""
SUFFIX = """Begin!
Question: {input}
\n\nAssistant:
Thought:{agent_scratchpad}"""