Nodes/Eric/Search by Document
ComfyUI Node

Search by Document

A ComfyUI node in Eric/SemanticSearch with 8 inputs and 1 output.

By EricRollei·Created 6 months ago·Updated 6 months ago· 2
Search by Document
  • index
  • model
  • results
pdf_path
page_number1
top_k50
min_score0.00
result_typeall
instruction
CategoryEric/SemanticSearch

Inputs (8)

NameTypeDefaultDescription
indexSEMANTIC_INDEX
modelEMBEDDING_MODEL
pdf_pathSTRING
page_numberoptINT11–1000Which page to use as the query (1-indexed)
top_koptINT501–500
min_scoreoptFLOAT0.000–1Minimum score threshold (0-1). Results below this score are filtered out.
result_typeoptCOMBOallFilter results by media type: all, images, videos, documents, or media (images+videos)
instructionoptSTRINGCustom instruction for the search (e.g., 'Find similar invoices')

Outputs (1)

NameTypeDescription
resultsSEARCH_RESULTS