Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

IA Copilot

Summarize and ask questions about items in the Internet Archive (and other textual resources) via GPT of OpenAI.

Install IACopilot CLI tool:

$ pip install iacopilot

To run this tool, you will need API key from OpenAI and set it as an environment variable.

$ OPENAI_API_KEY="<APIKEY>" iacopilot
Enter quit   to quit/exit this REPL prompt
Enter help   to print the help message
Press <TAB>  to see available commands
IACopilot 0:0 ?> 
IACopilot 0:0 ?> help
 help/h/?                    Print this help message
 quit/exit/q                 Exit the REPL prompt
 ls                          List all the loaded contexts
 load <URL>                  Detect source and load the data as a context
 load ia <ITEM>              Load an IA item as a context
 load tv <CHANNEL> [<DATE>]  Load transcript of a TV channel as a context
 load wbm <URL> [<DATE>]     Load a Wayback Machine capture as a context
 load wiki <TITLE> [<LANG>]  Load a Wiki page as a context
 load file <PATH>            Load a loal file or directory as a context
 cd [<ID>]                   Change a loaded context to query
 rm [<ID>]                   Remove current or specified context
 reset                       Remove all contexts and reset statistics
 config openai [<KEY>]       Get or set configuration options
 <PROMPT>                    Ask the copilot questions about the context
 ! <CMD>                     Run a system command
IACopilot 0:0 ?> quit
Exiting...
$

Interact with the REPL!

Alternatively, run in Docker as following:

$ docker image build -t iacopilot .

$ docker container run --rm -it -e OPENAI_API_KEY="<APIKEY>" iacopilot
Enter quit   to quit/exit this REPL prompt
Enter help   to print the help message
Press <TAB>  to see available commands
IACopilot 0:0 ?>

Release files for iacopilot 0.1.3b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iacopilot 0.1.3b1
File Size Uploaded
iacopilot-0.1.3b1.tar.gz 17.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iacopilot 0.1.3b1
File Interpreter ABI Platform
iacopilot-0.1.3b1-py3-none-any.whl Python 3 none any Details

Total release size: 36.3 kB

Release files / iacopilot-0.1.3b1.tar.gz

Download URL iacopilot-0.1.3b1.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7af0f62d97da16b4e222e13eceecd99b39813b987baca698e381de216c8946f2
BLAKE2b-256 checksum
How to use checksums
28dbb3d7da446da855e89bef71435faabb001a52c1ed41a98e51d3f188f1e5ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / iacopilot-0.1.3b1-py3-none-any.whl

Download URL iacopilot-0.1.3b1-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecd447f31d8121bc0772e14575b9443cabfaaba6f0e1b192d2338c11005febff
BLAKE2b-256 checksum
How to use checksums
3e74aed146301ee1ace4bee0fd9354f12d39dd464cd637e392ddf44f3f5da062
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page