remove me dir
Browse files- me/.DS_Store → .DS_Store +0 -0
- app.py +28 -20
- me/summary.txt +0 -1
me/.DS_Store → .DS_Store
RENAMED
Binary files a/me/.DS_Store and b/.DS_Store differ
|
|
app.py
CHANGED
@@ -6,7 +6,6 @@ import requests
|
|
6 |
from pypdf import PdfReader
|
7 |
import gradio as gr
|
8 |
|
9 |
-
|
10 |
load_dotenv(override=True)
|
11 |
|
12 |
def push(text):
|
@@ -19,7 +18,6 @@ def push(text):
|
|
19 |
}
|
20 |
)
|
21 |
|
22 |
-
|
23 |
def record_user_details(email, name="Name not provided", notes="not provided"):
|
24 |
push(f"Recording {name} with email {email} and notes {notes}")
|
25 |
return {"recorded": "ok"}
|
@@ -78,24 +76,34 @@ class Me:
|
|
78 |
def __init__(self):
|
79 |
self.openai = OpenAI()
|
80 |
self.name = "Rogier Chardet"
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
|
100 |
|
101 |
def handle_tool_call(self, tool_calls):
|
|
|
6 |
from pypdf import PdfReader
|
7 |
import gradio as gr
|
8 |
|
|
|
9 |
load_dotenv(override=True)
|
10 |
|
11 |
def push(text):
|
|
|
18 |
}
|
19 |
)
|
20 |
|
|
|
21 |
def record_user_details(email, name="Name not provided", notes="not provided"):
|
22 |
push(f"Recording {name} with email {email} and notes {notes}")
|
23 |
return {"recorded": "ok"}
|
|
|
76 |
def __init__(self):
|
77 |
self.openai = OpenAI()
|
78 |
self.name = "Rogier Chardet"
|
79 |
+
|
80 |
+
BASE_URL = "https://huggingface.co/datasets/dabalo/career/resolve/main"
|
81 |
+
FILES = {
|
82 |
+
"mbti": "mbti.pdf",
|
83 |
+
"resume": "resume.pdf",
|
84 |
+
"summary": "summary.txt"
|
85 |
+
}
|
86 |
+
|
87 |
+
def download(url, dest):
|
88 |
+
r = requests.get(url)
|
89 |
+
r.raise_for_status()
|
90 |
+
with open(dest, "wb") as f:
|
91 |
+
f.write(r.content)
|
92 |
+
|
93 |
+
# Download all files
|
94 |
+
for name, filename in FILES.items():
|
95 |
+
download(f"{BASE_URL}/{filename}", filename)
|
96 |
+
|
97 |
+
# Load PDFs
|
98 |
+
reader_mbti = PdfReader("mbti.pdf")
|
99 |
+
text_mbti = "\n".join(page.extract_text() for page in reader_mbti.pages if page.extract_text())
|
100 |
+
|
101 |
+
reader_resume = PdfReader("resume.pdf")
|
102 |
+
text_resume = "\n".join(page.extract_text() for page in reader_resume.pages if page.extract_text())
|
103 |
+
|
104 |
+
# Load plain text
|
105 |
+
with open("summary.txt", "r", encoding="utf-8") as f:
|
106 |
+
text_summary = f.read()
|
107 |
|
108 |
|
109 |
def handle_tool_call(self, tool_calls):
|
me/summary.txt
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
I’m an independent, systems-oriented thinker who thrives at the intersection of complexity, abstraction, and creative execution. Across my work—from directing a global spiritual nonprofit and designing multi-platform media ecosystems to curating esoteric texts and symbolic frameworks—I’ve remained focused on distilling high-dimensional insight into coherent, structured expression. I prioritize autonomy, depth, and precision over convention or hierarchy, and I seek out projects that let me interrogate ideas, model emergent patterns, and transmute raw abstraction into functional capability. My strengths lie in forging conceptual architecture, pattern recognition across domains, and shaping elegant, high-leverage systems that evolve with purpose.
|
|
|
|