Pass image as additional Insight context
This commit is contained in:
@@ -239,7 +239,10 @@ Keywords: [specific, unique terms]"#,
|
||||
if !args.test_mode {
|
||||
println!("\nStripping boilerplate for embedding...");
|
||||
let stripped = strip_summary_boilerplate(&summary);
|
||||
println!("Stripped: {}...", stripped.chars().take(80).collect::<String>());
|
||||
println!(
|
||||
"Stripped: {}...",
|
||||
stripped.chars().take(80).collect::<String>()
|
||||
);
|
||||
|
||||
println!("\nGenerating embedding...");
|
||||
let embedding = ollama.generate_embedding(&stripped).await?;
|
||||
|
||||
Reference in New Issue
Block a user