{"id":18263747,"url":"https://github.com/yearn/ygenius-brain","last_synced_at":"2025-04-04T20:31:16.863Z","repository":{"id":65805588,"uuid":"597902484","full_name":"yearn/ygenius-brain","owner":"yearn","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-05T13:28:21.000Z","size":39206,"stargazers_count":17,"open_issues_count":11,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T19:07:23.112Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ygenius.yearn.farm","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yearn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-06T00:23:52.000Z","updated_at":"2024-04-09T08:12:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7f8e29c-21bc-4803-bd23-5f05a2235de5","html_url":"https://github.com/yearn/ygenius-brain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fygenius-brain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fygenius-brain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fygenius-brain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fygenius-brain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yearn","download_url":"https://codeload.github.com/yearn/ygenius-brain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247246349,"owners_count":20907779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T11:12:29.915Z","updated_at":"2025-04-04T20:31:16.857Z","avatar_url":"https://github.com/yearn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yGenius Brain\n\n[![](https://licensebuttons.net/p/zero/1.0/88x31.png)](https://creativecommons.org/publicdomain/zero/1.0/)\n\nWhat is this: https://medium.com/@marcoworms/ygenius-chat-with-yearn-efa17d3f0ec8  \nFrontend Source: https://github.com/yearn/ygenius-webui\n\n![image](https://user-images.githubusercontent.com/7863230/219803104-9612160e-8a1b-42b1-9af5-12fccf77232d.png)\n\n## Configuration\n\n- copy `.env.sample` to `.env` and set environment variables (only `OPENAI_API_KEY` is mandatory)\n- copy `index.json` model file to the current dir or generate a new one\n\n## Run\n\nInstall docker and docker-compose and run:\n`docker-compose up -d`\n\n## Development\n\nWhenever making changes to the code base, you need to rebuild a new docker image:\n`docker-compose build`\n\n## Usage\n\n`curl \"http://localhost:5001/ask?history=\u0026query=what%20is%20yearn%20%3F\"`\n\nOutput:\n\n```\n  Yearn is a decentralized finance (DeFi) platform that provides users with access\n  to a range of financial services, including yield farming, liquidity pools, and\n  automated portfolio management. Yearn is built on the Ethereum blockchain and is\n  designed to make it easier for users to maximize their returns on their investments.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyearn%2Fygenius-brain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyearn%2Fygenius-brain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyearn%2Fygenius-brain/lists"}