Looks like specifically editing vector DBs where we get the 9002 internal error
Looks like specifically editing vector DBs where we get the 9002 internal error



text or image_url but the type is simply string, could be more insightful with a union type


"type": "text"
const query = messages.map(({ content, role }) => ${role}: ${content}).join("\n\n"); helper for the AutoRAG prompt system. also this is repeated itself twice and deserve a function on its own. will fix the PR for the base64 images and add it all there


prompt_tokens and completion_tokens were replaced with input_tokens and output_tokens).instructions parameter stopped working when the input was in an OpenAI-like format (like [{role: "assistant", content: "foobar" }, ...]).image_urlstring"type": "text"const query = messages.map(({ content, role }) => ).join("\n\n");prompt_tokenscompletion_tokensinput_tokensoutput_tokensinstructions[{role: "assistant", content: "foobar" }, ...]