Skip to content

Commit

Permalink
chore: update metaphysics graphql schema (#15081)
Browse files Browse the repository at this point in the history
  • Loading branch information
artsyit authored Jan 15, 2025
1 parent 64d95c4 commit d3fbadf
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions data/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -16812,22 +16812,22 @@ type Query {
# The number of curated artworks to return. This is a temporary field to support the transition to OpenSearch
curatedPicksSize: Int = 2

# (Only for when useOpenSearch is true) Exclude these artworks from the response
# Exclude these artworks from the response
excludeArtworkIds: [String]
first: Int

# (Only for when useOpenSearch is true) Which index to use to display initial batch of artworks
# Which index to use to display initial batch of artworks
initialArtworksIndexName: String = "infinite_discovery_initial_artworks"
last: Int

# (Only for when useOpenSearch is true) These artworks are used to calculate the taste profile vector. Such artworks are excluded from the response
# These artworks are used to calculate the taste profile vector. Such artworks are excluded from the response
likedArtworkIds: [String]
limit: Int

# (Only for when useOpenSearch is true) These fields are used to calculate the More Like This query
# These fields are used for More Like This query
mltFields: [String] = ["genes", "materials", "tags", "medium"]

# (Only for when useOpenSearch is true) Weights for the OpenSearch query
# Weights for the KNN and MLT query
osWeights: [Float] = [0.6, 0.4]
): ArtworkConnection

Expand Down Expand Up @@ -21454,22 +21454,22 @@ type Viewer {
# The number of curated artworks to return. This is a temporary field to support the transition to OpenSearch
curatedPicksSize: Int = 2

# (Only for when useOpenSearch is true) Exclude these artworks from the response
# Exclude these artworks from the response
excludeArtworkIds: [String]
first: Int

# (Only for when useOpenSearch is true) Which index to use to display initial batch of artworks
# Which index to use to display initial batch of artworks
initialArtworksIndexName: String = "infinite_discovery_initial_artworks"
last: Int

# (Only for when useOpenSearch is true) These artworks are used to calculate the taste profile vector. Such artworks are excluded from the response
# These artworks are used to calculate the taste profile vector. Such artworks are excluded from the response
likedArtworkIds: [String]
limit: Int

# (Only for when useOpenSearch is true) These fields are used to calculate the More Like This query
# These fields are used for More Like This query
mltFields: [String] = ["genes", "materials", "tags", "medium"]

# (Only for when useOpenSearch is true) Weights for the OpenSearch query
# Weights for the KNN and MLT query
osWeights: [Float] = [0.6, 0.4]
): ArtworkConnection

Expand Down

0 comments on commit d3fbadf

Please sign in to comment.