- https://llm-api.treasuredata.comhttps://llm-api.treasuredata.com/api/text_knowledge_bases
- https://llm-api.eu01.treasuredata.comhttps://llm-api.eu01.treasuredata.com/api/text_knowledge_bases
- https://llm-api.ap02.treasuredata.comhttps://llm-api.ap02.treasuredata.com/api/text_knowledge_bases
- https://llm-api.treasuredata.co.jphttps://llm-api.treasuredata.co.jp/api/text_knowledge_bases
curl -i -X POST \
https://llm-api.treasuredata.com/api/text_knowledge_bases \
-H 'Authorization: TD1 <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"type": "textKnowledgeBases",
"attributes": {
"name": "Text Knowledge Base",
"text": "This is a sample text for the knowledge base.",
"projectId": "00000000-0000-0000-0000-000000000001"
}
}
}'Response
{ "data": { "id": "00000000-0000-0000-0000-000000000001", "type": "textKnowledgeBases", "links": { … }, "attributes": { … } } }