GenkitG
Genkitโ€ข17mo agoโ€ข
13 replies
worthy-azure

I've noticed that the output from a flow

I've noticed that the output from a flow can contain a very helpful message from the model, but i have to manually dig through the logs to find them. is there any way to surface this specific type of message in the genkit config? or will i have to capture them myself?
Output[processListingsFlow > processListingsFlow > googleai/gemini-1.5-flash-latest, googleai/gemini-1.5-flash-latest]  {
  model: 'googleai/gemini-1.5-flash-latest',
  path: 'processListingsFlow > processListingsFlow > googleai/gemini-1.5-flash-latest',
  qualifiedPath: '/{dev-run-action-wrapper}/{processListingsFlow,t:action}/{processListingsFlow,t:flow}/{googleai/gemini-1.5-flash-latest,t:action}',
  flowName: 'processListingsFlow',
  content: 'I was unable to find a suitable image for the listing. The images found in the original post do not appear to be of the product itself, and the images found from searching the web are not suitable for use as a product image. \n' +
    '\n' +
    'Please provide a suitable image for the listing. \n',
  partIndex: 0,
  totalParts: 1,
  candidateIndex: 0,
  totalCandidates: 1,
  messageIndex: 0,
  finishReason: 'stop'
}
Was this page helpful?