internalMetadata - KB settings
During the test, I submitted a query without filters with "synthesis": true
{
"chunkLimit": 2,
"synthesis": true,
"settings": {
"model": "claude-v2",
"temperature": 0.1
},
"question": "Jaka jest pojemnosc"
}
and received the correct response with output:
{
"type": "completion",
"model": "claude-4-sonnet",
"output": "5 kg.",
"duration": 0,
"tokens": 530,
"queryTokens": 470,
"answerTokens": 60,
"cacheWriteTokens": 0,
"queryCachedTokens": 0,
"queryRemainderTokens": 470,
"inputMultiplier": 1.5,
"cacheMultiplier": 0.15,
"outputMultiplier": 7.5,
"cacheWriteMultiplier": 1.875,
"base": {
"queryTokens": 313,
"answerTokens": 8,
"cacheWriteTokens": 0,
"queryCachedTokens": 0
},
"chunks": [
{
"score": 0.50162506,
"chunkID": "22328961-40f5-419e-b380-88b6fd97e40e",
"documentID": "69676a81ab9e87748841ff60",
"content": "Pralka Samsung jest bardzo fajna. Ma pojemność 5 kg.",
"metadata": {},
"internalMetadata": [
{
"key": "category",
"values": [
"samsung"
]
}
],
"source": {
"type": "text",
"name": "pralka.txt",
"canEdit": false,
"tags": []
}
}
]
}
When I wanted to add filters:
{
"question": "Jaka jest pojemność",
"chunkLimit": 2,
"synthesis": true,
"settings": {
"model": "claude-v2",
"temperature": 0.1
},
"filters": {
"category": {
"$eq": "samsung"
}
}
}
no value appeared in the output:
{
"type": "completion",
...
"output": null,
...
"chunks": []
}
Please help me solve this problem
