| 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/commit/:name(/*path) |
| route-controller | commit |
| route-action | show |
| fetch-nonce | v2:df10a608-7fb6-76b4-3866-a155763d5317 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 8E4C:E530F:170DC0F:1EB090E:6AED7437 |
| html-safe-nonce | 579d4b7801141dff218136f9295f10ad0d62e630054bdfbfdde64f6b19648d3a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTRDOkU1MzBGOjE3MERDMEY6MUVCMDkwRTo2QUVENzQzNyIsInZpc2l0b3JfaWQiOiIyMTQ3NTA0Nzg5NjIyOTc3NTkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6ba11335b5933e6d3d3b2d8c51894d4d7303d879f60b025ba19c06a093ad25fb |
| hovercard-subject-tag | repository:644461337 |
| github-keyboard-shortcuts | repository,commits,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///commit/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/vercel/ai/commit/123d71f |
| twitter:image | https://opengraph.githubassets.com/d2843fc52d9f013aa47c4a9333fe9cac003536872402ef01c2002073899d7df7/vercel/ai/commit/123d71f7a63f04618ac1f4bf62a8301a702ac705 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d2843fc52d9f013aa47c4a9333fe9cac003536872402ef01c2002073899d7df7/vercel/ai/commit/123d71f7a63f04618ac1f4bf62a8301a702ac705 |
| og:image:alt | ## Background
Applications need typed evaluations of shared state without forcing
every model through text generation. This implements Phase 2 of #20846
and provides the foundation for the TypeSaf... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:updated_time | 1789582045 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11 |
| turbo-cache-control | no-cache |
| go-import | github.com/vercel/ai git https://github.com/vercel/ai.git |
| octolytics-dimension-user_id | 14985020 |
| octolytics-dimension-user_login | vercel |
| octolytics-dimension-repository_id | 644461337 |
| octolytics-dimension-repository_nwo | vercel/ai |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 644461337 |
| octolytics-dimension-repository_network_root_nwo | vercel/ai |
| 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 | 9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | commits |
| Skip to content | https://redirect.github.com/vercel/ai/commit/123d71f#start-of-content |
| https://redirect.github.com/ |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvercel%2Fai%2Fcommit%2F123d71f |
| 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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvercel%2Fai%2Fcommit%2F123d71f |
| Sign up | https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fcommit%2Fshow&source=header-repo&source_repo=vercel%2Fai |
| Reload | https://redirect.github.com/vercel/ai/commit/123d71f |
| Reload | https://redirect.github.com/vercel/ai/commit/123d71f |
| Reload | https://redirect.github.com/vercel/ai/commit/123d71f |
| vercel | https://redirect.github.com/vercel |
| ai | https://redirect.github.com/vercel/ai |
| Code | https://redirect.github.com/vercel/ai |
| Issues475 (475) | https://redirect.github.com/vercel/ai/issues |
| Pull requests1k (1k) | https://redirect.github.com/vercel/ai/pulls |
| Actions | https://redirect.github.com/vercel/ai/actions |
| Projects | https://redirect.github.com/vercel/ai/projects |
| Security and quality6 (6) | https://redirect.github.com/vercel/ai/security |
| Insights | https://redirect.github.com/vercel/ai/pulse |
| https://redirect.github.com/vercel/ai |
| Browse files | https://redirect.github.com/vercel/ai/tree/123d71f7a63f04618ac1f4bf62a8301a702ac705 |
| https://redirect.github.com/vercel/ai/tree/123d71f7a63f04618ac1f4bf62a8301a702ac705 |
| https://redirect.github.com/gr2m |
| gr2m | https://redirect.github.com/vercel/ai/commits?author=gr2m |
| #20848 | https://github.com/vercel/ai/pull/20848 |
| #20846 | https://github.com/vercel/ai/issues/20846 |
| #20851 | https://github.com/vercel/ai/pull/20851 |
| #20846 | https://github.com/vercel/ai/issues/20846 |
| dcdabc5 | https://redirect.github.com/vercel/ai/commit/dcdabc5a35966d37a344d0fe2c04d64ffd3d90c5 |
| tidy-evaluation-errors.md | https://redirect.github.com/vercel/ai/commit/123d71f#diff-76cf4f53223c557c0267561c8d0f294570f6466a113a8a7968af1ad1a4bb18fa |
| 32-evaluation.mdx | https://redirect.github.com/vercel/ai/commit/123d71f#diff-526af3bca0154b118c3ef43f29a7575a9f078e7286b0345a28130d96a60fd559 |
| 14-evaluate.mdx | https://redirect.github.com/vercel/ai/commit/123d71f#diff-59ca090ecb51a653c34a5e481ab1d33e627509226813578c5f2070b025b1c806 |
| ai-evaluation-unsupported-question-type-error.mdx | https://redirect.github.com/vercel/ai/commit/123d71f#diff-3f25966c0cbd44fd1b6c434c5e054e9bc402f473943388a289ef5904ebd97023 |
| basic.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-12a9cde1e0716826ca1f23ad41b517b4a528a3722040d6bbed99853809d46395 |
| evaluation-unsupported-question-type-error.test.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-1acbf9518fead63cbf838ebf8bd0b8adba185fccfdc2895eefd46b51a7efe6dc |
| index.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-18fb22eb0a89976f4941b8dd29f140ade684c1afc07331d3cd1e1c338043bafd |
| evaluate.test-d.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-ed993415bb4051f24c7eab3880730591fe80b31d8e2458a966445cf8da1fa28a |
| evaluate.test.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-5b6ba359aa2cdaaee7a9caee9b4cb0a5c6e8db3ef5b7ef81fb963d23b1687e5c |
| evaluate.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-9e475847741d274e3a4c833ae0fb9daad87fb3bafac14efbfdacf8983daaa8e2 |
| evaluation-result.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-a32345f308d10a618d23dda9cad2de43e4fb4489512a989a36362b24f18d965e |
| index.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-16628b1c9d2dc11cc91995258785e98a1ca66c0a1816ae137d94e0f6d3653b07 |
| validate-evaluation.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-69eadc2cac7da0fc3ce38db63943d3b7bc4628eaa97aad1bdfcc865090d70f88 |
| index.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-f0fa1410e0d7c9e14beb4ee4a3414a86dc8402e8a89c53a78c7620f2c9b0caac |
| evaluation-mock-model-v4.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-c6426a8e770ca7fd89f5e12a6223d00e01e40c5c5d8acd7a959972c3ecc3a3e3 |
| index.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-904993827eb5aeba34c9d19d63315907ea1fbc455f6980cb3ad0557c3bf6fa8a |
| evaluation-unsupported-question-type-error.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-0965c9aa1d35ba5af399f6acbdd5c890f87ded85c73d95e31a7cf70f8a6e7c30 |
| index.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-d2bceaf4c88d34caf7df8fba60412a2dea68690067d039199439a6644d1f95b1 |
| evaluation-model-v4-call-options.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-09207c9748e5236d8be9970c28a9de7c79cb74bde81dd39365902d46ca2a52aa |
| evaluation-model-v4-question.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-ad8698a67e00f53b10f8c68b76dbf6da1ee4dd509d9e566379b362d4a40a0743 |
| evaluation-model-v4-result.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-3b43e2d0cd79aebf83a969ec42453bf5f94d6ab1cbb73caa997e171645c13b99 |
| evaluation-model-v4.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-8711311a540247c4ddbddb2ea4b5bd457cd51cda56ed9eaa239822c197394af5 |
| index.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-950797f029f3385934a3f76439a4da2b18f7d38a27ec7f2ff0c4a9e0035384c1 |
| index.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-565426c13d7cacc6a1af239b0955fb45075a550966632adf2c4876486f378f30 |
| .changeset/tidy-evaluation-errors.md | https://redirect.github.com/vercel/ai/commit/123d71f#diff-76cf4f53223c557c0267561c8d0f294570f6466a113a8a7968af1ad1a4bb18fa |
| content/docs/03-ai-sdk-core/32-evaluation.mdx | https://redirect.github.com/vercel/ai/commit/123d71f#diff-526af3bca0154b118c3ef43f29a7575a9f078e7286b0345a28130d96a60fd559 |
| content/docs/07-reference/01-ai-sdk-core/14-evaluate.mdx | https://redirect.github.com/vercel/ai/commit/123d71f#diff-59ca090ecb51a653c34a5e481ab1d33e627509226813578c5f2070b025b1c806 |
| content/docs/07-reference/05-ai-sdk-errors/ai-evaluation-unsupported-question-type-error.mdx | https://redirect.github.com/vercel/ai/commit/123d71f#diff-3f25966c0cbd44fd1b6c434c5e054e9bc402f473943388a289ef5904ebd97023 |
| examples/ai-functions/src/evaluate/mock/basic.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-12a9cde1e0716826ca1f23ad41b517b4a528a3722040d6bbed99853809d46395 |
| packages/ai/src/error/evaluation-unsupported-question-type-error.test.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-1acbf9518fead63cbf838ebf8bd0b8adba185fccfdc2895eefd46b51a7efe6dc |
| packages/ai/src/error/index.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-18fb22eb0a89976f4941b8dd29f140ade684c1afc07331d3cd1e1c338043bafd |
| packages/ai/src/evaluate/evaluate.test-d.ts | https://redirect.github.com/vercel/ai/commit/123d71f#diff-ed993415bb4051f24c7eab3880730591fe80b31d8e2458a966445cf8da1fa28a |
|
| 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 |