{"id":15472578,"url":"https://github.com/wberredo/y2hhdgjvb2s","last_synced_at":"2026-04-16T22:31:46.256Z","repository":{"id":163514861,"uuid":"638993128","full_name":"WBerredo/Y2hhdGJvb2s","owner":"WBerredo","description":"Chatbot to give answers as the author of a book","archived":false,"fork":false,"pushed_at":"2023-05-10T14:45:03.000Z","size":365,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-03T11:58:19.322Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WBerredo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-10T14:30:06.000Z","updated_at":"2023-06-07T12:23:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a4c95b2-a59e-403b-ac3c-18403a2ebb03","html_url":"https://github.com/WBerredo/Y2hhdGJvb2s","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WBerredo/Y2hhdGJvb2s","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WBerredo%2FY2hhdGJvb2s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WBerredo%2FY2hhdGJvb2s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WBerredo%2FY2hhdGJvb2s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WBerredo%2FY2hhdGJvb2s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WBerredo","download_url":"https://codeload.github.com/WBerredo/Y2hhdGJvb2s/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WBerredo%2FY2hhdGJvb2s/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31907474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-10-02T02:40:21.046Z","updated_at":"2026-04-16T22:31:46.237Z","avatar_url":"https://github.com/WBerredo.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Setup \n\nCheck the [live version](https://wberredo-chatbook.herokuapp.com/) or set it up locally as below:\n\n1. Create and fill in `.env` passing `OPENAI_API_KEY`. Ex:\n\n```\nOPENAI_API_KEY=sk-xxx\n```\n\n2. Install [Ruby and Rails](https://guides.rubyonrails.org/getting_started.html#creating-a-new-rails-project-installing-rails).\n\n\n3. Install Ruby dependencies\n\n```\nbundle install\n```\n\n4. Install postgres. For Mac users:\n\n```\nbrew install postgresql\n```\n\n5. Generate the embeddings for GPT-3 from a pdf file\n\n```\nrails r lib/create_embeddings.rb yourfile.pdf\n```\n\n6. Create your database and the needed tables\n\n```\nrails db:migrate\n```\n\n7. Install [node](https://nodejs.org/en/download) and [yarn](https://classic.yarnpkg.com/lang/en/docs/install)\n\n8. Install node dependencies\n\n```\nyarn\n```\n## Run locally\n\n1. Run your Rails app:\n\n```\nrails s\n```\n\n2. On another tab, run Webpack dev server\n```\nbin/webpack-dev-server\n```\n\n3. Acess the URL displayed on the first step and start questioning!\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## License\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwberredo%2Fy2hhdgjvb2s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwberredo%2Fy2hhdgjvb2s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwberredo%2Fy2hhdgjvb2s/lists"}