{"id":34963803,"url":"https://github.com/viktor-platform/document-searcher","last_synced_at":"2026-05-24T19:01:44.613Z","repository":{"id":209273450,"uuid":"682471447","full_name":"viktor-platform/document-searcher","owner":"viktor-platform","description":"A VIKTOR app to search your documents using AzureAI","archived":false,"fork":false,"pushed_at":"2024-04-15T15:17:27.000Z","size":7261,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-30T02:04:53.923Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/viktor-platform.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}},"created_at":"2023-08-24T08:39:52.000Z","updated_at":"2024-05-30T02:04:53.924Z","dependencies_parsed_at":null,"dependency_job_id":"8866e664-845e-46f6-810a-699f885e2042","html_url":"https://github.com/viktor-platform/document-searcher","commit_stats":null,"previous_names":["viktor-platform/document-searcher"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/viktor-platform/document-searcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktor-platform%2Fdocument-searcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktor-platform%2Fdocument-searcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktor-platform%2Fdocument-searcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktor-platform%2Fdocument-searcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viktor-platform","download_url":"https://codeload.github.com/viktor-platform/document-searcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktor-platform%2Fdocument-searcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33446621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-24T18:26:54.182Z","status":"ssl_error","status_checked_at":"2026-05-24T18:26:53.408Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":"2025-12-26T22:51:28.786Z","updated_at":"2026-05-24T19:01:44.608Z","avatar_url":"https://github.com/viktor-platform.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Document searcher\nThis app demonstrates how to create your own AI-powered VIKTOR app to search through documents, using AzureAI.\n\nThe app can be published and installed in your own VIKTOR environment. The app makes uses \nof the API from AzureAI (similar to what ChatGPT is running on), ensuring your data is safe and is not used to train \nany model.\n\n# Usage of the app\nIn the steps below is described how to use the app.\n\n## Step 1: Upload PDF files\nUpload your PDF documents. It is possible to submit multiple documents at once. The PDF files are processed \nautomatically. Depending on the size of the document, this could take a while.\n\n![](resources/document_searcher_step1.gif)\n\n## Step 2: Submit documents\nClick on the \"Submit documents\" button to collect all data from the uploaded PDF files.\n\n![](resources/document_searcher_step2.gif)\n\n## Step 3: Search through your document(s)\nAsk any question to your document(s). The question is answered using AzureAI. The relevant text from your \ndocument is shown in the sources. The question is answered based on the text in the sources.\n\n![](resources/document_searcher_step3.gif)\n\n## Any language is supported\nThe app answers in the same language as the language of your question. Try it out yourself!\n![](resources/document_searcher_step3.gif)\n\n\n# Installation of the app\nSimply install the app like any other VIKTOR application. Refer to the VIKTOR documentation of how this is done. \nAdditionally, the AzureAI model needs to be hosted and set up. More information about how to set up your own AzureAI \nmodel, can be found on the [website of Microsoft](https://learn.microsoft.com/en-us/azure/ai-services/openai/quickstart?tabs=command-line%2Cpython\u0026amp%3Bpivots=programming-language-python\u0026pivots=programming-language-python).\nThe process is quite straighforward and should not take longer than 10-15 minutes.\n\nFor this application two models are required:\n\n- Completion model. For example: gpt-3.5-turbo or gpt-4-turbo\n- Embeddings model. For example: ada-2\n\nMake sure the names of the models in your AzureAI environment resemble the names in the config.py file, referred to as COMPLETIONS_MODEL and EMBEDDINGS_MODEL.\n\nOnce the app is created, **three environment variables** need to be set: ENDPOINT, API_KEY and API_VERSION. Please refer to our [documentation](https://docs.viktor.ai/docs/create-apps/development-tools-and-tips/environment-variables/) \nfor how to set up the environment variables in the app.\n\n# Questions\nFor any questions about the app refer to our [community forum](https://community.viktor.ai/t/public-app-document-searcher-powered-by-chatgpt/1103). \nFeel free to ask any questions about the installation, usage or feature requests here!\n\n# App structure\nThis is a tree type app.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviktor-platform%2Fdocument-searcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviktor-platform%2Fdocument-searcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviktor-platform%2Fdocument-searcher/lists"}