Meta-Chunking(Text LLM slices)
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Example:Bearer {{YOUR_API_KEY}}
Body Params multipart/form-data
LLM name for meta chunking
File language, options are zh/en, default is zh
Whether to merge dynamically, options are yes/no, default is no
Request samples
curl --location --request POST 'https://api.302.ai/302/kb/knowledge_base/text_meta_chunking' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--form 'text=""' \
--form 'model_name="gpt-4o-mini"' \
--form 'language="zh"' \
--form 'dynamic_merge="no"'
Responses
application/json Modified at 2024-12-17 01:52:57