Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 0 additions & 55 deletions prompts/plugins/ethscan.md

This file was deleted.

6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@

### Quick Start
generate a plugin for the Etherscan API to fetch Ethereum account balances
1. `python main_no_modal.py etherscan-plugin`
1. `python main_no_modal.py smol-plugin/prompts/plugins/etherscan.md`
this takes a few mins to run
2. `cd generated && pip install -r requirements.txt`
head into the generated repository and install requirements. There may be some dependency version issues, just remove them if that's case
3. `python app.py`
run your app. There may be some discreptancies between `openapi.yaml` and `app.py` routes that need to be fixed.
4. Test your plugin in on OpenAI Interface by plugging pointing it to `localhost:3333`

If you run into issues, you can see a working example in the `etherscan-plugin` repository. Note you will need an Etherscan key
If you run into issues, you can see a working example in the `smol-plugin/etherscan-plugin ` repository. Note you will need an Etherscan key

### Generate Your Own Plugin
1. Run `python plugin_generator.py` and input an **app_name** and **description**. This will auto generate a plugin template.
1. Run `cd smol-plugin && python plugin_generator.py` and input an **app_name** and **description**. This will auto generate a plugin template.
2. Run `main_mo_modal.py` on newly created **{app_name}.md** file
3. Repeat steps from quickstart.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion plugin_generator.py → smol-plugin/plugin_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
app_name = input("Enter the app name: ")

# Read the input .md file
with open('plugins.md', 'r') as file:
with open('./prompts/plugins/plugins.md', 'r') as file:
filedata = file.read()

# Replace the target string
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.