modelfox icon indicating copy to clipboard operation
modelfox copied to clipboard

Limit the number of tokens per column using the config file

Open grzegorzblaszczyk opened this issue 4 years ago • 0 comments

Currently, there is no way to limit the number of tokens using the config file.

Potential config could contain JSON element like:

"dataset": {
    "columns": [
      {
        "name": "id",
        "type": "number"
      },
      {
        "name": "author",
        "type": "text",

        ---------> "tokenLimit": 1000, <-----------------

      },
      {
        "name": "used",
        "type": "enum",
        "variants": ["true", "false"]
      }
    ]
}

so we can limit number of tokens per column.

Thanks!

grzegorzblaszczyk avatar Dec 16 '21 19:12 grzegorzblaszczyk