Skip to content

Commit

Permalink
feat(specs): add (optional) _automaticInsights to search result (#766)
Browse files Browse the repository at this point in the history
## 🧭 What and Why

Porting this PR to v3 :
algolia/api-clients-automation#3688

Return the parameter `_automaticInsights` (when possible) when calling
search.


# Why 

I need this value in the Recommend mono-repository so that the Recommend
API can forward this parameter to the Recommend client.
  • Loading branch information
raed667 authored Sep 23, 2024
1 parent 6423238 commit 808e2bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions algolia/search/responses_search.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ type QueryRes struct {
ABTestVariantID int `json:"abTestVariantID"`
ABTestID uint32 `json:"abTestID"`
RenderingContent *RenderingContent `json:"renderingContent"`
AutomaticInsights *bool `json:"_automaticInsights,omitempty"`
}

type AppliedRule struct {
Expand Down

0 comments on commit 808e2bc

Please sign in to comment.