so whats https://flux2.io/flux2-model-family/
so whats https://flux2.io/flux2-model-family/
FLUX.2poloz.igor@gmail.com
Black Forest Labs offers FLUX.2 in three distinct variants, each tailored for different use cases.
Ai-Search (Auto RAG) with folder-based filtering using the gt, gte, and eq filter types. Filtering works as expected when targeting a top-level folder, but fails when specifying a sub-folder.customer-a as well as its sub-folders:@cf/meta/llama-3.1-8b-instruct-fast but can't find it on the dashboard wrangler login via my package manager (e.g. npx wrangler login or bun wrangler login in my case) to get it to work again. it’s always error code: 1031 that tells me i need to do that.bge-reranker-v2-m3 ? would be useful to plenty of folks
createWorkersAI({ binding: env.AI, gateway: { id: GATEWAY_ID }});
Ai-Search (Auto RAG)gtgteeqcustomer-a@cf/meta/llama-3.1-8b-instruct-fast ai.toMarkdown()npx wrangler loginbun wrangler loginbge-reranker-v2-m3const aiGateway = createAiGateway({
accountId: env.CF_ACCOUNT_ID,
gateway: GATEWAY_ID,
apiKey: env.CF_API_KEY,
options: {
cacheTtl: 3600,
},
});
const workersai = createWorkersAI({ binding: env.AI });
const model = workersai("@cf/meta/llama-3.1-8b-instruct", {
safePrompt: true,
});
const { text } = await generateText({
model: aiGateway(model),
prompt: "Write a multi-part greeting.",
});createWorkersAI({ binding: env.AI, gateway: { id: GATEWAY_ID }});{
"query": "Cat",
"filters": {
"type": "gt",
"key": "folder",
"value": "customer-a//"
}
}{
"filters": {
"type": "gt",
"key": "folder",
"value": "customer-a/sub-folder"
}
}{
"filters": {
"type": "gte",
"key": "folder",
"value": "customer-a/sub-folder"
}
}{
"filters": {
"type": "eq",
"key": "folder",
"value": "customer-a/sub-folder"
}
}{
"filters": {
"type": "gte",
"key": "folder",
"value": "customer-a/sub-folder//"
}
}{
"filters": {
"type": "gte",
"key": "folder",
"value": "customer-a//sub-folder"
}
}