Skip to content

Commit

Permalink
Add log message
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkn committed Jun 26, 2024
1 parent 496715f commit d401dca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/jobs/magellan_rag_query_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def perform(params)
end

private def format_relevant_documents(documents)
logger.info "[format_relevant_documents] documents=#{documents.inspect}"
s = documents.map.with_index {|doc, i|
company_name = doc.dig("metadata", "company_name")
file_name = doc.dig("metadata", "file_name")
Expand Down

0 comments on commit d401dca

Please sign in to comment.