toggle menu
ainsoft-rag-spring-boot-autoconfigure
0.1.0-SNAPSHOT
jvm
switch theme
search in API
ainsoft-rag-spring-boot-autoconfigure
/
com.ainsoft.rag.spring
/
RagAdminApiController
/
sourcePreview
source
Preview
@
GetMapping
(
value
=
[
"/documents/{tenantId}/{docId}/source-preview"
]
)
fun
sourcePreview
(
requestContext
:
HttpServletRequest
,
@
PathVariable
tenantId
:
String
,
@
PathVariable
docId
:
String
,
@
RequestParam
(
required
=
false
)
chunkId
:
String
?
,
@
RequestParam
(
required
=
false
,
defaultValue
=
"160"
)
contextChars
:
Int
,
@
RequestParam
(
required
=
false
,
defaultValue
=
"UTF-8"
)
charset
:
String
,
@
RequestParam
(
required
=
false
)
profileName
:
String
?
)
:
RagAdminSourcePreviewResponse