print(after_rag_chain.invoke("What are the three documents that most closely match this job description: '"+geological_engineer_jd+"'. Answer in JSON format with the top level identifier 'results', and attributes code, title, definition, score and comment for each matching document, where score is a number between 0 and 1 indicating how close the match is to the job description, with 1 meaning really close, and comment explains why each documents was selected as a good match."))
print('Results ready in '+str(time.time()-t1)+' seconds')