{"id":25724435,"url":"https://github.com/inanyan/developstoday-task","last_synced_at":"2026-06-11T13:31:22.505Z","repository":{"id":277996008,"uuid":"932745388","full_name":"InAnYan/developstoday-task","owner":"InAnYan","description":"Test task from DevelopsToday","archived":false,"fork":false,"pushed_at":"2025-02-17T12:04:06.000Z","size":330,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T14:47:49.891Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/InAnYan.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}},"created_at":"2025-02-14T12:50:49.000Z","updated_at":"2025-02-17T12:04:10.000Z","dependencies_parsed_at":"2025-02-17T13:22:05.493Z","dependency_job_id":"ea3fed60-924b-4e57-a477-f38e3496d3e6","html_url":"https://github.com/InAnYan/developstoday-task","commit_stats":null,"previous_names":["inanyan/developstoday-task"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/InAnYan/developstoday-task","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InAnYan%2Fdevelopstoday-task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InAnYan%2Fdevelopstoday-task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InAnYan%2Fdevelopstoday-task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InAnYan%2Fdevelopstoday-task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InAnYan","download_url":"https://codeload.github.com/InAnYan/developstoday-task/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InAnYan%2Fdevelopstoday-task/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34201840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-02-25T21:32:13.105Z","updated_at":"2026-06-11T13:31:22.490Z","avatar_url":"https://github.com/InAnYan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI barmen chat-bot\n\n![UI](screenshots/first.png)\n\nMade as a test task for `DevelopsToday`.\n\nThis bot knows a lot about cocktails!\n\n## Features\n\n- Friendly chat-bot.\n- Remembers what you like.\n- Has extensive knowledge of various cocktails.\n\n### Remembers what you like\n\n![Remembers what you like](screenshots/my_ingredients.png)\n\n### Can find similar cocktails\n\n![Can find similar cocktails](screenshots/similar.png)\n\n## How to Run this Project?\n\nFirst, install the dependencies:\n\n```python\npip install -r requirements.txt\n```\n\nThen, export your OpenAI API key to an environment variable:\n\n```sh\nexport OPENAI_API_KEY=sk-...\n```\n\nFinally, you can run it as follows:\n\n```python\nfastapi dev src/main.py\n```\n\nAnd go to \u003chttp://127.0.0.1:8000\u003e.\n\nIn case that command didn't work, you can try this instead:\n\n```python\npython -m fastapi dev src/main.py\n```\n\n(*Ensure you have `fastapi[standard]` installed*).\n\n## How this Project is Implemented?\n\nTech stack:\n- FastAPI\n- LangChain\n- OpenAI API\n- Chroma (vector database)\n\nArchitectural division (2 layers):\n1. `src/main.py`: the web-server. Connects core logic to end user.\n2. `src/logic.py`: core AI logic.\n\nKey moments:\n- Vector database is filled with data at the beginning of the program.\n- Update user preference and search the vector database using tools.\n- User preference is stored in system message.\n- Conversation is stored in RAM (meaning, it's not persisted).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finanyan%2Fdevelopstoday-task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finanyan%2Fdevelopstoday-task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finanyan%2Fdevelopstoday-task/lists"}