| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:cf969b42-2276-a8fb-df92-80091e46a7db |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 986A:25245F:E882A1:13E7737:6AFB5F5C |
| html-safe-nonce | 7917bfe423ef33ca6370eaa65507c7a7650e4ebc83c0ee9cf207a0b21154d31e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODZBOjI1MjQ1RjpFODgyQTE6MTNFNzczNzo2QUZCNUY1QyIsInZpc2l0b3JfaWQiOiIyNzAyMjY1NDY4NzcyMzc2NDEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 11d9f68031313352774928c25ed09f168ce3e8963ef60c716c1e6a360fc64b02 |
| hovercard-subject-tag | pull_request:3605781964 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/4349/commits |
| twitter:image | https://opengraph.githubassets.com/99f93b4abf5a1041f1189798c9a4ad97eaed35184362786b8e6d99fc86037234/simstudioai/sim/pull/4349 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/99f93b4abf5a1041f1189798c9a4ad97eaed35184362786b8e6d99fc86037234/simstudioai/sim/pull/4349 |
| og:image:alt | Summary
Add embedding model dropdown to KB creation (text-embedding-3-small/large, gemini-embedding-001)
Add per-search Cohere reranker (rerank-v4.0-pro/fast, rerank-v3.5) with BYOK + rotating key... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | waleedlatif1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | ea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94 |
| turbo-cache-control | no-cache |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 59ef97164c52cf59bd10558ddec9c4f482763988 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/simstudioai/sim/pull/4349/commits#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4349%2Fcommits |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4349%2Fcommits |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/4349/commits |
| Reload | https://github.com/simstudioai/sim/pull/4349/commits |
| Reload | https://github.com/simstudioai/sim/pull/4349/commits |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests197 (197) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| https://github.com/simstudioai/sim |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| waleedlatif1/embedding-model-research | https://github.com/simstudioai/sim/tree/waleedlatif1/embedding-model-research |
| Conversation | https://github.com/simstudioai/sim/pull/4349 |
| Commits22 (22) | https://github.com/simstudioai/sim/pull/4349/commits |
| Checks | https://github.com/simstudioai/sim/pull/4349/checks |
| Files changed | https://github.com/simstudioai/sim/pull/4349/files |
| feat(knowledge): add embedding model selection and Cohere reranker | https://github.com/simstudioai/sim/pull/4349/commits#top |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| waleedlatif1/embedding-model-research | https://github.com/simstudioai/sim/tree/waleedlatif1/embedding-model-research |
| feat(knowledge): add embedding model selection and Cohere reranker | https://github.com/simstudioai/sim/pull/4349/commits/9614a2869dfd4fe0405c0ca44e54798d077e161c |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| 9614a28 | https://github.com/simstudioai/sim/pull/4349/commits/9614a2869dfd4fe0405c0ca44e54798d077e161c |
| https://github.com/simstudioai/sim/tree/9614a2869dfd4fe0405c0ca44e54798d077e161c |
| fix(knowledge): split reranker model constants into client-safe module | https://github.com/simstudioai/sim/pull/4349/commits/c56b7a467c9c15278b9d54ff027740bfef0af6f6 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| c56b7a4 | https://github.com/simstudioai/sim/pull/4349/commits/c56b7a467c9c15278b9d54ff027740bfef0af6f6 |
| https://github.com/simstudioai/sim/tree/c56b7a467c9c15278b9d54ff027740bfef0af6f6 |
| fix(knowledge): bill rerank on every successful API call and fix MDX docs literal | https://github.com/simstudioai/sim/pull/4349/commits/5d1446f6b3291e37f7323d905ef74fb6730d3cc2 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| 5d1446f | https://github.com/simstudioai/sim/pull/4349/commits/5d1446f6b3291e37f7323d905ef74fb6730d3cc2 |
| https://github.com/simstudioai/sim/tree/5d1446f6b3291e37f7323d905ef74fb6730d3cc2 |
| test(knowledge): align embedding tests with provider abstraction changes | https://github.com/simstudioai/sim/pull/4349/commits/553021a7f9c9b074178a151d2a1c71352ac2735a |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| 553021a | https://github.com/simstudioai/sim/pull/4349/commits/553021a7f9c9b074178a151d2a1c71352ac2735a |
| https://github.com/simstudioai/sim/tree/553021a7f9c9b074178a151d2a1c71352ac2735a |
| fix(knowledge): require explicit Azure deployment per OpenAI embedding model | https://github.com/simstudioai/sim/pull/4349/commits/542d2edc7f3dc7aa32f8b22d20ab10ae5eb3f03d |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| 542d2ed | https://github.com/simstudioai/sim/pull/4349/commits/542d2edc7f3dc7aa32f8b22d20ab10ae5eb3f03d |
| https://github.com/simstudioai/sim/tree/542d2edc7f3dc7aa32f8b22d20ab10ae5eb3f03d |
| fix(knowledge): skip platform reranker billing for BYOK Cohere keys | https://github.com/simstudioai/sim/pull/4349/commits/d70ac8f917c3d9cb579a6366459a0b82995955ba |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| d70ac8f | https://github.com/simstudioai/sim/pull/4349/commits/d70ac8f917c3d9cb579a6366459a0b82995955ba |
| https://github.com/simstudioai/sim/tree/d70ac8f917c3d9cb579a6366459a0b82995955ba |
| fix(knowledge): match search tokenizer to embedding provider; remove dead var | https://github.com/simstudioai/sim/pull/4349/commits/57589cbce95013f00ce359fcee7b69a9ed2cfe3b |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| 57589cb | https://github.com/simstudioai/sim/pull/4349/commits/57589cbce95013f00ce359fcee7b69a9ed2cfe3b |
| https://github.com/simstudioai/sim/tree/57589cbce95013f00ce359fcee7b69a9ed2cfe3b |
| fix(knowledge): match chunk tokenizer to KB embedding provider | https://github.com/simstudioai/sim/pull/4349/commits/96cf4dd71ed43e276ceb1f0aad67765328c8b7c0 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| 96cf4dd | https://github.com/simstudioai/sim/pull/4349/commits/96cf4dd71ed43e276ceb1f0aad67765328c8b7c0 |
| https://github.com/simstudioai/sim/tree/96cf4dd71ed43e276ceb1f0aad67765328c8b7c0 |
| refactor(knowledge): centralize tokenizer mapping on EmbeddingModelInfo | https://github.com/simstudioai/sim/pull/4349/commits/14538a1df2ed399c3ece677473ecfcb0c33d080c |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| 14538a1 | https://github.com/simstudioai/sim/pull/4349/commits/14538a1df2ed399c3ece677473ecfcb0c33d080c |
| https://github.com/simstudioai/sim/tree/14538a1df2ed399c3ece677473ecfcb0c33d080c |
| refactor(knowledge): lock embedding model to KB_EMBEDDING_MODEL env var | https://github.com/simstudioai/sim/pull/4349/commits/7a9ba8b64cfd9b4b3e334af4112a152c5034371e |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| 7a9ba8b | https://github.com/simstudioai/sim/pull/4349/commits/7a9ba8b64cfd9b4b3e334af4112a152c5034371e |
| https://github.com/simstudioai/sim/tree/7a9ba8b64cfd9b4b3e334af4112a152c5034371e |
| fix(knowledge): use provider tokenizer for chunks and bound rerank indices | https://github.com/simstudioai/sim/pull/4349/commits/53624f3028d30f46da455b9189bfc65eb8a396ca |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| 53624f3 | https://github.com/simstudioai/sim/pull/4349/commits/53624f3028d30f46da455b9189bfc65eb8a396ca |
| https://github.com/simstudioai/sim/tree/53624f3028d30f46da455b9189bfc65eb8a396ca |
| fix(knowledge): use .count from estimateTokenCount return value | https://github.com/simstudioai/sim/pull/4349/commits/97fa4d5c67b94a305259b9adf84358de68170429 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| 97fa4d5 | https://github.com/simstudioai/sim/pull/4349/commits/97fa4d5c67b94a305259b9adf84358de68170429 |
| https://github.com/simstudioai/sim/tree/97fa4d5c67b94a305259b9adf84358de68170429 |
| fix(knowledge): only enforce single embedding model when query is present | https://github.com/simstudioai/sim/pull/4349/commits/b1643ee8d97e91ccdee646cf34e16e18c6fdad22 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| b1643ee | https://github.com/simstudioai/sim/pull/4349/commits/b1643ee8d97e91ccdee646cf34e16e18c6fdad22 |
| https://github.com/simstudioai/sim/tree/b1643ee8d97e91ccdee646cf34e16e18c6fdad22 |
| fix(knowledge): use getConfiguredEmbeddingModel in copilot KB creation | https://github.com/simstudioai/sim/pull/4349/commits/78d6af7ba19d19a84d2b0c99f92ecdc16d39b594 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| 78d6af7 | https://github.com/simstudioai/sim/pull/4349/commits/78d6af7ba19d19a84d2b0c99f92ecdc16d39b594 |
| https://github.com/simstudioai/sim/tree/78d6af7ba19d19a84d2b0c99f92ecdc16d39b594 |
| fix(knowledge): make EMBEDDING_DIMENSIONS a literal type | https://github.com/simstudioai/sim/pull/4349/commits/687b7f58f71fa291890e46b64d8b012357a1d8c4 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| 687b7f5 | https://github.com/simstudioai/sim/pull/4349/commits/687b7f58f71fa291890e46b64d8b012357a1d8c4 |
| https://github.com/simstudioai/sim/tree/687b7f58f71fa291890e46b64d8b012357a1d8c4 |
| fix(knowledge): use per-KB embedding model in v1 search route | https://github.com/simstudioai/sim/pull/4349/commits/f7eef618838f2a8318a6d1747bafa4843ffa83a7 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| f7eef61 | https://github.com/simstudioai/sim/pull/4349/commits/f7eef618838f2a8318a6d1747bafa4843ffa83a7 |
| https://github.com/simstudioai/sim/tree/f7eef618838f2a8318a6d1747bafa4843ffa83a7 |
| chore(knowledge): polish embedding/reranker implementation | https://github.com/simstudioai/sim/pull/4349/commits/cb1cab736448ff073eefe9bde7f99424cc92a5e6 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| cb1cab7 | https://github.com/simstudioai/sim/pull/4349/commits/cb1cab736448ff073eefe9bde7f99424cc92a5e6 |
| https://github.com/simstudioai/sim/tree/cb1cab736448ff073eefe9bde7f99424cc92a5e6 |
| fix(knowledge): resolve type errors and unhandled rejection in search routes | https://github.com/simstudioai/sim/pull/4349/commits/5dfaed208526c4f9d3e3b84aea2fb3de6cfb3c57 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| 5dfaed2 | https://github.com/simstudioai/sim/pull/4349/commits/5dfaed208526c4f9d3e3b84aea2fb3de6cfb3c57 |
| https://github.com/simstudioai/sim/tree/5dfaed208526c4f9d3e3b84aea2fb3de6cfb3c57 |
| fix(knowledge): pass Gemini API key via x-goog-api-key header | https://github.com/simstudioai/sim/pull/4349/commits/b73c2184a36b87d8cdc62b5b0ece79f70d6b886e |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| b73c218 | https://github.com/simstudioai/sim/pull/4349/commits/b73c2184a36b87d8cdc62b5b0ece79f70d6b886e |
| https://github.com/simstudioai/sim/tree/b73c2184a36b87d8cdc62b5b0ece79f70d6b886e |
| fix(knowledge): default Azure deployment name to embedding model name | https://github.com/simstudioai/sim/pull/4349/commits/64a17dbdae8d88ba6aa635874599212e1185c2f4 |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| 64a17db | https://github.com/simstudioai/sim/pull/4349/commits/64a17dbdae8d88ba6aa635874599212e1185c2f4 |
| https://github.com/simstudioai/sim/tree/64a17dbdae8d88ba6aa635874599212e1185c2f4 |
| fix(knowledge): cap Gemini batches at 100 items, add singular GEMINI_API_KEY fallback | https://github.com/simstudioai/sim/pull/4349/commits/99743d90dee494f97fa03fa493976fa7551a6cdc |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| 99743d9 | https://github.com/simstudioai/sim/pull/4349/commits/99743d90dee494f97fa03fa493976fa7551a6cdc |
| https://github.com/simstudioai/sim/tree/99743d90dee494f97fa03fa493976fa7551a6cdc |
| fix(knowledge): prefer singular Cohere key before rotation | https://github.com/simstudioai/sim/pull/4349/commits/8fd0557671f9273e693cde97a2a6af89cbb1200e |
| waleedlatif1 | https://github.com/simstudioai/sim/commits?author=waleedlatif1 |
| claude | https://github.com/simstudioai/sim/commits?author=claude |
| 8fd0557 | https://github.com/simstudioai/sim/pull/4349/commits/8fd0557671f9273e693cde97a2a6af89cbb1200e |
| https://github.com/simstudioai/sim/tree/8fd0557671f9273e693cde97a2a6af89cbb1200e |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |