Skip to content

Instantly share code, notes, and snippets.

@keitazoumana
Created September 16, 2022 02:47
Show Gist options
  • Save keitazoumana/a2aa7d2e908cab0dc5298d09fac0a15f to your computer and use it in GitHub Desktop.
Save keitazoumana/a2aa7d2e908cab0dc5298d09fac0a15f to your computer and use it in GitHub Desktop.
# Select an existing article from the database
new_incoming_text = source_data.iloc[0]['abstract']
# Run the plagiarism detection
analysis_result = run_plagiarism_analysis(new_incoming_text, vector_database, plagiarism_threshold=0.8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment