{"id":21198550,"url":"https://github.com/natlibfi/finna-assistant","last_synced_at":"2026-02-24T09:33:25.491Z","repository":{"id":231306783,"uuid":"774942102","full_name":"NatLibFi/finna-assistant","owner":"NatLibFi","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-20T08:51:20.000Z","size":4313,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-13T20:02:14.745Z","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/NatLibFi.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}},"created_at":"2024-03-20T13:35:14.000Z","updated_at":"2025-01-23T08:39:14.000Z","dependencies_parsed_at":"2024-04-03T12:44:28.529Z","dependency_job_id":"880378b2-f76e-431f-bcbb-f95fe052603a","html_url":"https://github.com/NatLibFi/finna-assistant","commit_stats":null,"previous_names":["natlibfi/finna-assistant"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NatLibFi/finna-assistant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLibFi%2Ffinna-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLibFi%2Ffinna-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLibFi%2Ffinna-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLibFi%2Ffinna-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NatLibFi","download_url":"https://codeload.github.com/NatLibFi/finna-assistant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLibFi%2Ffinna-assistant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29777894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T04:54:30.205Z","status":"ssl_error","status_checked_at":"2026-02-24T04:53:58.628Z","response_time":75,"last_error":"SSL_read: 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-11-20T19:52:07.156Z","updated_at":"2026-02-24T09:33:25.443Z","avatar_url":"https://github.com/NatLibFi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# finna-assistant\n\nFinna assistant is a GPT-based chatbot interface that enables searching library, museum and archival records using the Finna search service.\n\n## Installation\n\n### Running with Python\n\n#### Install dependencies\n\n    pip install -r requirements.txt\n\n#### Set environment variables\n\nThe application requires that the environment variable `AZURE_OPENAI_KEY` is set.\n\n#### Start the application\n\n    python app.py\n\nThe app will be available at http://127.0.0.1:7860. You can customize the port or host with the `GRADIO_SERVER_PORT` and `GRADIO_SERVER_NAME` environment variables.\n\n### Running with Docker\n\n#### Build the Docker image\n\n    docker build -t finna-assistant .\n\n#### Run the container\n\n    docker run -p 7860:7860 -e AZURE_OPENAI_KEY=\u003copenai-key\u003e finna-assistant\n\n## Run tests\n\nRun the following command in the root of the project:\n\n    python tests/tests.py\n\n## Generate embeddings files\n\nRun the following command at the root of the project:\n\n    python scripts/generate_embeddings.py\n\nThis will regenerate the embeddings .pkl files in the `embeddings` folder based on the CSV files in the `data` folder. The script should be run whenever the files in the data folder are modified.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatlibfi%2Ffinna-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatlibfi%2Ffinna-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatlibfi%2Ffinna-assistant/lists"}