Question File
askFile
The askFile() function allows you to ask a question or make a query related to a specific file. It requires the file ID and a query string as input.
1 2 3 4 5 6 7 8 | |
answerQuestion
The answerQuestion() function provides an answer to a query based on the provided text. It requires the text, a query, and an optional language parameter to return a response.
1 2 3 4 5 6 7 8 9 | |
routeQuery
The routeQuery() function routes a query based on the provided text. It requires a text input that will be processed to determine whether it belongs to the normal chat category or it requires a document to respond.
1 2 3 4 5 6 7 | |
analyzeCSV
The analyzeCSV() function analyzes a CSV file based on a provided query. It requires the file ID and the query as input to process and return the analysis results.
1 2 3 4 5 6 7 8 | |