Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Index Schema: Option to have custom 'PayloadText' field (rather than including it within the Payload JSON field) #1045

glen-fdce started this conversation in Feature requests
Discussion options

Where a chunk of indexed text includes JSON, searchability is hindered (in Azure AI Search) since the JSON becomes escaped JSON within JSON. It would be ideal if a chunk could be represented within its own field, rather than being part of the payload field.

For example, instead of this:-

{
 "id": "ZD1ka2JiMGM5My05ODBmLTQ3aTgtYjcxOS0wODEyMThjZaRmZTMvL3A9NzgwMTI3YjE0NDdiNDA4NTa4ZTczMGUxMWQ3ZGMaOGa_",
 "tags": [
 ...
 ],
 "payload": "{\"url\":\"\",\"schema\":\"20231218A\",\"file\":\"document-name.txt\",\"text\":\"blah-blah-blah",\"vector_provider\":\"AI.AzureOpenAI.AzureOpenAITextEmbeddingGenerator\",\"vector_generator\":\"TODO\",\"last_update\":\"2025-02-27T11:37:56\"}",
 "embedding": [...]
}

This...

{
 "id": "ZD1ka2JiMGM5My05ODBmLTQ3aTgtYjcxOS0wODEyMThjZaRmZTMvL3A9NzgwMTI3YjE0NDdiNDA4NTa4ZTczMGUxMWQ3ZGMaOGa_",
 "tags": [
 ...
 ],
 "payloadText": "blah-blah-blah",
 "payload": "{\"url\":\"\",\"schema\":\"20231218A\",\"file\":\"document-name.txt\",\"vector_provider\":\"AI.AzureOpenAI.AzureOpenAITextEmbeddingGenerator\",\"vector_generator\":\"TODO\",\"last_update\":\"2025-02-27T11:37:56\"}",
 "embedding": [...]
}
You must be logged in to vote

Replies: 1 comment

Comment options

I'd recommend looking into Semantic Kernel Microsoft Extensions Vector Data library, that allows to create and query custom schemas.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /