{"id":41235904,"url":"https://github.com/inkeep/process-questions-from-csv","last_synced_at":"2026-01-23T01:03:29.565Z","repository":{"id":190727672,"uuid":"683225570","full_name":"inkeep/process-questions-from-csv","owner":"inkeep","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-09T21:59:55.000Z","size":379,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-03T08:28:11.155Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/inkeep.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":"2023-08-25T22:58:23.000Z","updated_at":"2025-04-09T21:59:58.000Z","dependencies_parsed_at":"2024-04-25T18:48:35.903Z","dependency_job_id":null,"html_url":"https://github.com/inkeep/process-questions-from-csv","commit_stats":null,"previous_names":["inkeep/process-questions-from-csv"],"tags_count":0,"template":false,"template_full_name":"inkeep/quickstart-search-chat-api-graphql","purl":"pkg:github/inkeep/process-questions-from-csv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkeep%2Fprocess-questions-from-csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkeep%2Fprocess-questions-from-csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkeep%2Fprocess-questions-from-csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkeep%2Fprocess-questions-from-csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inkeep","download_url":"https://codeload.github.com/inkeep/process-questions-from-csv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkeep%2Fprocess-questions-from-csv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28676489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T01:00:35.747Z","status":"ssl_error","status_checked_at":"2026-01-23T01:00:19.529Z","response_time":144,"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":"2026-01-23T01:03:28.959Z","updated_at":"2026-01-23T01:03:29.556Z","avatar_url":"https://github.com/inkeep.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bulk Process Questions on Inkeep for Evaluation\n\nBatch process questions from a CSV file through Inkeep's AI service and export results with shareable links.\n\nUse this to evaluate Inkeep's question-answering capabilities and share results with your team via the generated URLs or the Inkeep dashboard.\n\n## Requirements\n\n- Node.js v20+\n- npm (or yarn/pnpm/bun)\n\n## Quick Start\n\n1. **Clone and install**\n\n   ```bash\n   git clone https://github.com/inkeep/process-questions-from-csv\n   cd process-questions-from-csv\n   npm install\n   ```\n\n2. **Configure environment variables**\n\n   Copy `.env.example` to `.env` and fill in your values:\n\n   ```bash\n   cp .env.example .env\n   ```\n\n   | Variable | Required | Default | Description |\n   |----------|----------|---------|-------------|\n   | `INKEEP_API_KEY` | Yes | - | Your Inkeep API key |\n   | `SHARE_URL_BASE_PATH` | Yes | - | Base URL for shareable links (e.g., `https://share.inkeep.com/\u003corgAlias\u003e/\u003csandboxId\u003e`) |\n   | `FILE_PATH` | No | `./inputs/questions.csv` | Path to input CSV |\n   | `TAGS` | No | - | Comma-separated tags for filtering in the dashboard |\n   | `BATCH_SIZE` | No | `2` | Number of questions per batch |\n   | `INKEEP_INTEGRATION_ID` | No | `evaluation` | Integration identifier (used in output filename) |\n   | `CHAT_MODE` | No | - | Chat mode setting |\n\n3. **Add your questions** to `./inputs/questions.csv`:\n\n   ```csv\n   question\n   \"How do I integrate Inkeep with my React application?\"\n   \"What are the pricing options for Inkeep?\"\n   \"Can Inkeep search through PDF documents?\"\n   ```\n\n   A sample file is provided for reference. Quotes are required to maintain valid CSV format.\n\n4. **Run**\n\n   ```bash\n   npm start\n   ```\n\n   This compiles the TypeScript and runs the script.\n\n## Output\n\nResults are written to `./outputs/` with the filename:\n\n```\nintegration_\u003cINKEEP_INTEGRATION_ID\u003e-count_\u003ccount\u003e-time_\u003ctimestamp\u003e.csv\n```\n\nOutput columns:\n\n| Column | Description |\n|--------|-------------|\n| `question` | Original question |\n| `answer` | AI response (citations like `[^1]` are removed) |\n| `view_chat_url` | Shareable link to view the conversation |\n\nExample:\n\n```csv\nquestion,answer,view_chat_url\n\"What sources...\",\"Inkeep supports...\",https://share.inkeep.com/org/sandbox?conversationId=abc123\u0026tags=tag1,tag2\n```\n\n## Features\n\n- **Shareable links**: Each response includes a URL to view the full conversation\n- **Dashboard integration**: Use `TAGS` to filter and group questions in the Inkeep Admin dashboard (including thumbs up/down feedback)\n- **Citation stripping**: Removes citation markers from answers for cleaner output\n- **Failure handling**: Processing stops if more than 2 failures occur in a single batch\n\n## Rate Limiting\n\nQuestions are processed in batches (default: 2) to protect the service. Processing time scales with the number of questions.\n\n**Important**: Contact help@inkeep.com before running batch tests so we can allow-list your organization for higher request rates.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finkeep%2Fprocess-questions-from-csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finkeep%2Fprocess-questions-from-csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finkeep%2Fprocess-questions-from-csv/lists"}