Hy,
i m using gpt-4-turbo-preview
.
the file is a json file, it has list of object.
object: {
id:string;
field1: {subField1:string, subField2:string};
field2:string;
field3: string[];
field4: number;
field5:string;
field6: string[];
}
I have add an instruction, while creating the assistant.
where i have explicitly mentioned to return min of 15 object.
instruction:
You are an expert in identifying suitable objects, from the knowledge base, for the given query
Use your knowledge base to best respond to the query, go through all objects before responding.
You have to provide a maximum of 100 objects and a minimum of 10 objects for any query, if you feel no object matches the requirement, try to extract objects that has matching field2. For each object you select, you have to give a reason for the selection and a match percentage describing how similar the object is for the given query.
i tried to convert the object into
### id 1
field1: string
field2: string
field3:string
field4: string
### id 2
field1: string
field2: string
field3:string
field4: string
and created a .txt file and uploaded it to openai files.
while creating a assistant with retrieval and mentionin the fileId i get an error
Error: 400 Failed to index file: Unsupported file file-id type: application/octet-stream error_code: unhandled_mimetype