adding new skills/tools

This commit is contained in:
hackertron
2024-07-01 13:13:48 +05:30
parent d220161a1f
commit 26cdf58a28
4 changed files with 12 additions and 3 deletions

3
.gitignore vendored
View File

@@ -160,3 +160,6 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
# tmp folders
tmp/

View File

@@ -7,3 +7,9 @@ Lucid Loand Machine(LLM) : LLM and zk powered loan app
3. zkemail
## architecture
### notes
use raw email and make zkemail skill
which is basically RSA but formatted for email check DKIM
check if pdf if signed or not

View File

@@ -58,5 +58,5 @@ def verify_bank_pdf(pdf_url):
return {"success": False, "message": f"An error occurred: {str(e)}"}
# Example usage
# result = verify_bank_pdf("https://example.com/bank_statement.pdf")
# print(result)
result = verify_bank_pdf("http://127.0.0.1:5500/bank-statement-1.pdf")
print(result)

View File

@@ -9,7 +9,7 @@ def extract_text_from_pdf(pdf_file):
text += reader.pages[page].extract_text()
return text
text = extract_text_from_pdf("bank-statement.pdf")
text = extract_text_from_pdf("bank-statement-1.pdf")
print("text : ", text)
# below does not work