mirror of
https://github.com/hackertron/LucidLoanMachine.git
synced 2026-01-09 02:17:59 -05:00
adding new skills/tools
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -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/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user