{"id":22745563,"url":"https://github.com/tomarakanksha/querycraft-api","last_synced_at":"2026-04-16T00:32:12.152Z","repository":{"id":219839552,"uuid":"747993878","full_name":"tomarakanksha/QueryCraft-API","owner":"tomarakanksha","description":"This repository contains an API that leverages a Large Language Model (LLM) to provide relevant answers to user queries based on text data stored in a vector database.","archived":false,"fork":false,"pushed_at":"2024-02-05T04:06:40.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T18:41:31.593Z","etag":null,"topics":["langchain-python","llms","openai"],"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/tomarakanksha.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-25T03:34:06.000Z","updated_at":"2024-01-29T22:33:57.000Z","dependencies_parsed_at":"2024-02-05T02:42:49.175Z","dependency_job_id":null,"html_url":"https://github.com/tomarakanksha/QueryCraft-API","commit_stats":null,"previous_names":["tomarakanksha/querycraft-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tomarakanksha/QueryCraft-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomarakanksha%2FQueryCraft-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomarakanksha%2FQueryCraft-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomarakanksha%2FQueryCraft-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomarakanksha%2FQueryCraft-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomarakanksha","download_url":"https://codeload.github.com/tomarakanksha/QueryCraft-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomarakanksha%2FQueryCraft-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31866304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":["langchain-python","llms","openai"],"created_at":"2024-12-11T02:07:05.855Z","updated_at":"2026-04-16T00:32:12.120Z","avatar_url":"https://github.com/tomarakanksha.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QueryCraft-API\n\nThis repository contains an API that leverages a Large Language Model (LLM) to provide relevant answers to user queries based on text data stored in a vector database.\n\n## Setup\n\n1. Create a virtual environment: `python -m venv venv`\n2. Activate the virtual environment: `source venv/bin/activate` (Linux/Mac) or `venv\\Scripts\\activate` (Windows)\n3. Install dependencies: `pip install -r requirements.txt`\n4. Load your environment variables: `cp .env.example .env` (Linux/Mac) or `copy .env.example .env` (Windows)\n\n## Usage\n\n1. Fill in the required API keys in the code.\n2. Add your txt file in '/Data' folder.\n3. Run the FastAPI application: `uvicorn main:app --reload`\n4. Visit `http://127.0.0.1:8000/docs` in your browser to interact with the API using Swagger documentation.\n\n## Environment Variables\n\nCreate a `.env` file and add the following:\n\n```env\nPINECONE_API_KEY=your_pinecone_api_key\nOPENAI_API_KEY=your_openai_api_key\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomarakanksha%2Fquerycraft-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomarakanksha%2Fquerycraft-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomarakanksha%2Fquerycraft-api/lists"}