{"id":46687853,"url":"https://github.com/finki-hub/chat-bot","last_synced_at":"2026-04-30T13:33:28.742Z","repository":{"id":280356121,"uuid":"937326279","full_name":"finki-hub/chat-bot","owner":"finki-hub","description":"Chat bot for questions related to FINKI","archived":false,"fork":false,"pushed_at":"2026-02-27T06:19:26.000Z","size":2413,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-27T12:40:25.484Z","etag":null,"topics":["chatbot","fcse","finki","rag","ukim"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/finki-hub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-02-22T21:16:26.000Z","updated_at":"2026-02-27T06:19:29.000Z","dependencies_parsed_at":"2025-04-14T20:46:23.578Z","dependency_job_id":"20c63a64-91b0-4acd-8d5f-ece40ebcd379","html_url":"https://github.com/finki-hub/chat-bot","commit_stats":null,"previous_names":["delemangi/finki-chat-bot","finki-hub/finki-chat-bot","finki-hub/chat-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/finki-hub/chat-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finki-hub%2Fchat-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finki-hub%2Fchat-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finki-hub%2Fchat-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finki-hub%2Fchat-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/finki-hub","download_url":"https://codeload.github.com/finki-hub/chat-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finki-hub%2Fchat-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30280925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:23:26.802Z","status":"ssl_error","status_checked_at":"2026-03-09T02:22:46.175Z","response_time":61,"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":["chatbot","fcse","finki","rag","ukim"],"created_at":"2026-03-09T02:34:21.801Z","updated_at":"2026-03-09T02:34:22.498Z","avatar_url":"https://github.com/finki-hub.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FINKI Hub / Chat Bot\n\nRAG chat bot for the [`FINKI Hub`](https://discord.gg/finki-studenti-810997107376914444) Discord server, powered by [LangChain](https://github.com/langchain-ai/langchain) and [FastAPI](https://github.com/fastapi/fastapi). Uses [PostgreSQL](https://github.com/postgres/postgres) and [pgvector](https://github.com/pgvector/pgvector) for keeping documents. Has support for many LLMs.\n\nIt currently works on a dataset of documents (FAQ). It is planned to support other types of data as well.\n\n## Services\n\nThis project comes as a monorepo of microservices:\n\n- API ([`/api`](/api)) for managing documents, links and chatting (default port: 8880)\n- GPU API ([`/gpu-api`](/gpu-api)) for locally executing GPU accelerated tasks like embeddings generation (default port: 8888)\n- Front-end (WIP)\n- Database (PostgreSQL + pgvector) for keeping documents and embeddings\n\nThe API Docker image is available as [`ghcr.io/finki-hub/chat-bot-api`](https://github.com/finki-hub/chat-bot/pkgs/container/chat-bot-api), while the GPU API Docker image is available as [`ghcr.io/finki-hub/chat-bot-gpu-api`](https://github.com/finki-hub/chat-bot/pkgs/container/chat-bot-gpu-api).\n\n## Quick Setup (Production)\n\nIt's highly recommended to do this in Docker.\n\nTo run the chat bot:\n\n1. Download [`compose.prod.yaml`](./compose.prod.yaml)\n2. Download [`.env.sample`](.env.sample), rename it to `.env` and change it to your liking\n3. Run `docker compose -f compose.prod.yaml up -d`\n\nThe API will be running on port `8880`. This also brings up a `pgAdmin` instance. You may use it to view or create documents. It's accesible on port `5555` by default.\n\n## Quick Setup (Development)\n\nRequires Python \u003e= 3.13 and [`uv`](https://github.com/astral-sh/uv).\n\n1. Clone the repository: `git clone https://github.com/finki-hub/chat-bot.git`\n2. Install dependencies: in each directory (`api` and `gpu-api`), run `uv sync`\n3. Prepare env. variables by copying `env.sample` to `.env` - minimum setup requires the database configuration, it can be left as is\n4. Run it: `docker compose up -d`\n\nThis also brings up an OpenAPI instance at `localhost:8880/docs`.\n\n## Endpoints\n\nThis is an incomplete list. You may view all available endpoints on the OpenAPI documentation.\n\n- `/questions/list` - get all questions\n- `/questions/name/\u003cname\u003e` - get a question by its name\n- `/questions/embed` - generate embeddings for all questions for a given model\n\n## License\n\nThis project is licensed under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinki-hub%2Fchat-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffinki-hub%2Fchat-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinki-hub%2Fchat-bot/lists"}