feat(wrangler): add custom metadata to instance creation on ai search#13721
feat(wrangler): add custom metadata to instance creation on ai search#13721danielgek wants to merge 1 commit intocloudflare:mainfrom
Conversation
🦋 Changeset detectedLatest commit: 4d43e39 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Codeowners approval required for this PR:
Show detailed file reviewers
|
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
There was a problem hiding this comment.
can we let users provide a json file? or even only support a json file? this is a pretty common pattern across wrangler for setting secrets, configuring r2, kv etc.
so something like --custom-metadata-schema=schema.json
schema.json
{
title : text,
foo: number,
...
}
since CLI flags is quite unwieldy once you get past one or two.
98de6f1 to
4d43e39
Compare
|
@emily-shen added and option to add as metadata as json, left the interactive one because, most of the use we have seen on this is with 2 or 3 fields |
Fixes #RAG-1145.
Adds ability to specify custom metadata on instance creation on AI Search