10000 GitHub - agenteer/chatWeb3: Harnessing ChatGPT for blockchain and crypto data analysis
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

agenteer/chatWeb3

Repository files navigation

ChatWeb3 - Harnessing ChatGPT for blockchain and crypto data analysis

More details about this application prototype is available at:

Can ChatGPT unlock blockchain data for the masses? Early insights from building ChatWeb3

Required API keys

Flipsidecrypto database

Create a .env file and add a Flipside API key, which allows the application to query the Flipsidecrypto database. Flipside API key can be obtained here, and it has a free tier as well.

FLIPSIDE_API_KEY="XXX"

OpenAI chatGPT

You will need to provide your OpenAI API key to use this application. An OpenAI API key can be obtained from Openai.

Installation

git clone https://github.com/inWeb3ai/chatWeb3.git
cd chatWeb3
poetry shell
poetry install

Run the application

poetry run chatweb3

This command will run the ChatWeb3 gradio app.

Test

To run tests:

make test
make integration_tests

Development

General configuration can be done through config/config.yaml

To enable debug mode, create an environmental variable:

ENV="development"

This will set the log_level=logging.DEBUG globally. You can tune the levels in config.yaml.

To enable debug logging in any individual model, e.g., in logger_callback.py, add the following:

logger = get_logger(
    __name__, log_level=logging.DEBUG, log_to_console=True, log_to_file=True
)

Note that any logger parameters passed in here will overwrite the global debug level.

The log file is located under the chatweb3/logs directory by default and can be configured in config.yaml

About

Harnessing ChatGPT for blockchain and crypto data analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0