{"id":30456386,"url":"https://github.com/cloudsteak/ai-rag-doc-search","last_synced_at":"2026-02-25T22:32:17.948Z","repository":{"id":293052561,"uuid":"980265354","full_name":"cloudsteak/ai-rag-doc-search","owner":"cloudsteak","description":"Document search with RAG","archived":false,"fork":false,"pushed_at":"2025-05-16T07:53:25.000Z","size":1158,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-23T19:35:15.704Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudsteak.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}},"created_at":"2025-05-08T21:03:21.000Z","updated_at":"2025-05-16T07:53:30.000Z","dependencies_parsed_at":"2025-05-14T20:30:32.848Z","dependency_job_id":null,"html_url":"https://github.com/cloudsteak/ai-rag-doc-search","commit_stats":null,"previous_names":["cloudsteak/ai-rag-doc-search"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloudsteak/ai-rag-doc-search","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudsteak%2Fai-rag-doc-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudsteak%2Fai-rag-doc-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudsteak%2Fai-rag-doc-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudsteak%2Fai-rag-doc-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudsteak","download_url":"https://codeload.github.com/cloudsteak/ai-rag-doc-search/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudsteak%2Fai-rag-doc-search/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29843430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T21:18:31.832Z","status":"ssl_error","status_checked_at":"2026-02-25T21:18:29.265Z","response_time":61,"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-08-23T16:31:55.652Z","updated_at":"2026-02-25T22:32:17.927Z","avatar_url":"https://github.com/cloudsteak.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ai-rag-doc-search\nDocument search with RAG\n\n![LLM-RAG-DOCS Components](images/LLM-RAG-DOCS-Components.png)\n\n\n# API\n\nHow to preapre api for local running\n\n```bash\n# Stop and remove all containers and volumes\npodman compose down -v\n```\n\n```bash\ndocker-compose down -v\n```\n\n```bash\n# Build and start the containers\npodman compose up --build\n```\n\n```bash\ndocker-compose build ollama\n```\n\n```bash\ndocker-compose up\n```\n\n\n## Frontend\n\nFrontend url is http://localhost:8080\n\n![Frontend Screenshot](images/fe-01.png)\n\n\n\n\n```bash\n# Initialize a question session\ncurl -X POST http://localhost:8900/init-question \\\n    -H \"Content-Type: application/json\" \\\n    -N \\\n    -d '{\n        \"session_id\": \"test1\",\n        \"question\": \"What is the name of the TFLint configuration file?\"\n    }'\n```\n\n```bash\n# Ask a question in an existing session\ncurl -N -H \"Content-Type: application/json\" \\\n    -d '{\"session_id\":\"tflint01\", \"question\":\"What is the name of the TFLint configuration file?\"}' \\\n    http://localhost:8900/init-question\n```\n\n```bash\n# Continue the conversation in the same session\ncurl -N -H \"Content-Type: application/json\" \\\n    -d '{\"session_id\":\"tflint01\", \"question\":\"Is there any plugin for TFLint?\"}' \\\n    http://localhost:8900/conversation\n```\n\n```bash\n# Start a new conversation session\ncurl -X POST http://localhost:8900/new-conversation \\\n    -H \"Content-Type: application/json\" \\\n    -d '{\"session_id\": \"user123\"}'\n```\n\n```bash\n# Reset the vector store\ncurl -X POST http://localhost:8900/reset-vector-store\n```\n\n```bash\n# Load documents into the vector store\ncurl -X POST http://localhost:8900/load-documents\n```\n\n```bash\ncd rag-prototype/api\n\npoetry install 3.11\n\npoetry env activate\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudsteak%2Fai-rag-doc-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudsteak%2Fai-rag-doc-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudsteak%2Fai-rag-doc-search/lists"}