Pass image as additional Insight context
This commit is contained in:
1 parent
084994e0b5
commit
b2cc617bc2
9 files changed
+295
-56
No files matched your search
@@ -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