Code interpreter, Assistants API (EnableCodeInterpreter = True) or SessionsPythonPlugin? #9975
-
Hi everyone, I want to ask you about the right approach to achieve what I want to do. I would like to offer the final user a playground with their data files (a bunch of .csv files) and some related .pdf files (one or two) to augment knowledge of the model (RAG). I have tested manually in two different scenarios. The first one is with Assistant API (activating file search and code interpreter). Everything goes well but I lose the capacity to work with .parquet files (they are not supported yet) and additionally, I have to respect the limits of the API (number of files, size, etc.). The other one is using dynamic sessions in Container Apps and the plugin Maybe I can combine both, Assistants API with What do you think about it? Any recommendation? Thank you so much. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@panicoenlaxbox I think this is a good approach, treat you .parquet file handler as a separate plugin that the assistant can use. If the assistant is struggling to find the right plugin, try modifying the metadata to include negative examples, e.g. "do not use this tool for anything other than .parquet files" |
Beta Was this translation helpful? Give feedback.
@panicoenlaxbox I think this is a good approach, treat you .parquet file handler as a separate plugin that the assistant can use. If the assistant is struggling to find the right plugin, try modifying the metadata to include negative examples, e.g. "do not use this tool for anything other than .parquet files"