Skip to content

Commit

Permalink
user email
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfischer committed Mar 20, 2024
1 parent 9235828 commit b4f9564
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fern/definition/search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ service:
type: uuid
searchQuery:
type: string
userEmail:
type: string
docs: |
The email of the user making the search request for permissions reduction.
metadataFilterExpression:
type: optional<string>
docs: |
Expand All @@ -54,6 +58,7 @@ service:
documentCollectionId: 82e4b12a-6990-45d4-8ebd-85c00e030c24
searchQuery: "ABC Corp"
metadataFilterExpression: "customerName = 'ABC Corp'"
userEmail: "jack@credal.ai"
searchOptions:
maxChunks: 10
mergeContents: true
Expand Down Expand Up @@ -189,4 +194,4 @@ types:
Feedback:
enum:
- THUMBS_UP
- THUMBS_DOWN
- THUMBS_DOWN

0 comments on commit b4f9564

Please sign in to comment.