GithubHelp home page GithubHelp logo

chainlink-assistant's Introduction

Chainlink AI Assistant

This is a collection of LLM programs for a personalized AI assistant that is driven by Chainlink’s publicly-available developer resources:

Our goal is to improve the productivity of developers that are building with Chainlink infrastructure. Many developers already use ChatGPT, but this is a general model that (i) often outputs instructions that are out of date, (ii) isn’t specialized towards developing on top of Chainlink.

We use a recent approach to personalizing AI assistants, called in-context retrieval-augmented language models (see research overview here), which has the advantage of citing sources and reducing hallucination (making stuff up).

You can find further details of the project in this doc.

What's in this Repo?

1. Data

We have scraped various data sources relevent to Chainlink development such as the Chainlink Developer Docs, Chainlink Tags on Stack Overflow and Chainlink Academy. We run this text through the OpenAI embedding model and store it in a vector db. This data can be found in the algovate/data folder e.g. documents.pkl.

2. LLM Assistants

We have experimented with a variety of LLM assistants using LLM programming approaches like LLM workflows/chains and agents, with frameworks such as LangChain and Llama Index. These LLM assistants use a variety of retrieval methods (e.g. vector-based retrieval), logic and models (e.g. the new 16k token context window model from OpenAI). These can be found in the algovate/langchain and algovate/llama dirs, and notebooks.

How to ingest data

How to run chat/qanda

chainlink-assistant's People

Contributors

moarshy avatar josepablofm78 avatar richardblythman avatar

Watchers

 avatar

Forkers

nevermined-io

chainlink-assistant's Issues

Only use verified answers for Stack Overflow data source

From Daniel:

There's a scenario where an attacker could plant unsafe information in one of the sources and the widget would serve it.
If a bad actor answers questions with potentially harmful content, we should not serve it through the widget.

work on getting data from new source

New source
https://data.chain.link/
eg: https://data.chain.link/ethereum/mainnet/crypto-usd/eth-usd

  1. read data
  2. convert to simple English

Potential questions asked by devs

  • check if a feed is verified, ex: Is eth/usd a verified feed?
  • is eth/usd feed backed by staking?
  • under what asset class does eth/usd fall?
  • what is the tier of the eth/usd feed on binance?
  • what is the deviation threshold of eth/usd on binance?
  • how many oracles carry eth/usd on binance?
    (replace asset and blockchain name by any combination)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.