What is this: https://medium.com/@marcoworms/ygenius-chat-with-yearn-efa17d3f0ec8
Frontend Source: https://github.com/yearn/ygenius-webui
- copy
.env.sampleto.envand set environment variables (onlyOPENAI_API_KEYis mandatory) - copy
index.jsonmodel file to the current dir or generate a new one
Install docker and docker-compose and run:
docker-compose up -d
Whenever making changes to the code base, you need to rebuild a new docker image:
docker-compose build
curl "http://localhost:5001/ask?history=&query=what%20is%20yearn%20%3F"
Output:
Yearn is a decentralized finance (DeFi) platform that provides users with access
to a range of financial services, including yield farming, liquidity pools, and
automated portfolio management. Yearn is built on the Ethereum blockchain and is
designed to make it easier for users to maximize their returns on their investments.

