mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 12:02:24 -04:00
34 lines
699 B
TypeScript
34 lines
699 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import { oc } from '@orpc/contract'
|
|
import * as z from 'zod'
|
|
|
|
import { zPostTestRetrievalBody, zPostTestRetrievalResponse } from './zod.gen'
|
|
|
|
/**
|
|
* Bedrock retrieval test (internal use only)
|
|
*/
|
|
export const post = oc
|
|
.route({
|
|
description: 'Bedrock retrieval test (internal use only)',
|
|
inputStructure: 'detailed',
|
|
method: 'POST',
|
|
operationId: 'postTestRetrieval',
|
|
path: '/test/retrieval',
|
|
tags: ['console'],
|
|
})
|
|
.input(z.object({ body: zPostTestRetrievalBody }))
|
|
.output(zPostTestRetrievalResponse)
|
|
|
|
export const retrieval = {
|
|
post,
|
|
}
|
|
|
|
export const test = {
|
|
retrieval,
|
|
}
|
|
|
|
export const contract = {
|
|
test,
|
|
}
|