// This file is auto-generated by @hey-api/openapi-ts

export type ClientOptions = {
  baseUrl: `${string}://${string}/console/api` | (string & {})
}

export type BedrockRetrievalPayload = {
  knowledge_id: string
  query: string
  retrieval_setting: BedrockRetrievalSetting
}

export type BedrockRetrievalSetting = {
  score_threshold?: number
  top_k?: number | null
}

export type PostTestRetrievalData = {
  body: BedrockRetrievalPayload
  path?: never
  query?: never
  url: '/test/retrieval'
}

export type PostTestRetrievalResponses = {
  200: {
    [key: string]: unknown
  }
}

export type PostTestRetrievalResponse = PostTestRetrievalResponses[keyof PostTestRetrievalResponses]
