-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add profile generation use case #508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nitpicker55555
wants to merge
32
commits into
camel-ai:main
Choose a base branch
from
nitpicker55555:profile-generation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
d381b0f
update use case
nitpicker55555 ef75b1d
update use case
nitpicker55555 04ebf68
Update README.md
nitpicker55555 54d5cca
Update README.md
nitpicker55555 f1a6201
update use case
nitpicker55555 f4316cc
update use case
nitpicker55555 3c63a7c
fixed bugs
nitpicker55555 eed4cf1
update workflow
nitpicker55555 594bfc5
Update README.md
nitpicker55555 df1ee1c
update use case
nitpicker55555 7a477e7
update template
nitpicker55555 3ef04c1
update example
nitpicker55555 b9ede45
update workflow
nitpicker55555 1da27bd
Update README.md
nitpicker55555 2aa418d
Update run_profile_generation.py
nitpicker55555 c5ca5b3
update example
nitpicker55555 f386d9a
update template
nitpicker55555 332644d
add publications
nitpicker55555 7dec7a7
update template
nitpicker55555 4545355
update
nitpicker55555 1b342a3
Merge branch 'camel-ai:main' into profile-generation
nitpicker55555 5cc01cb
update
nitpicker55555 2722da8
update
nitpicker55555 56cc2b2
update
nitpicker55555 c20eebf
update
nitpicker55555 091edb8
update
nitpicker55555 67cdf40
update
nitpicker55555 3b3a121
update
nitpicker55555 d8ec2d1
update
nitpicker55555 caf9e65
update
nitpicker55555 8879785
update
nitpicker55555 82dd9c3
update
nitpicker55555 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Profile Generation | ||
|
|
||
| This code example searches the internet for relevant information about a specific individual and compiles the collected | ||
| data into a structured HTML profile page. | ||
|
|
||
| ## How to use | ||
|
|
||
| 1. Set up the OPENAI api key in the .env file | ||
|
|
||
| ```bash | ||
| OPENAI_API_KEY = 'xxx' | ||
| ``` | ||
|
|
||
| 2. Run the script | ||
|
|
||
| ```bash | ||
| python run_profile_generation.py --task "Ahmed Eltawil, Professor at KAUST, Suggested Websites:..." | ||
| ``` | ||
|
|
||
| 3. You can find the agent's complete thought process in the process_history.log file and the final generated HTML page named profile.html. | ||
|
|
||
| 4. If you want to search information in websites need LOGIN information, please refer this camel branch https://github.com/camel-ai/camel/pull/2291 | ||
|  |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,205 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <title>Bernard Ghanem – Professional Profile</title> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
| <style> | ||
| /* ---------- Palette ---------- */ | ||
| :root { | ||
| --clr-primary: #006d77; | ||
| --clr-accent : #ffba08; | ||
| --clr-light : #f1faee; | ||
| --clr-dark : #1d3557; | ||
| --clr-text : #343a40; | ||
| } | ||
|
|
||
| /* ---------- Base ---------- */ | ||
| *,*::before,*::after{box-sizing:border-box;} | ||
| html{scroll-behavior:smooth;} | ||
| body{ | ||
| margin:0; | ||
| font-family:"Roboto",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; | ||
| line-height:1.6; | ||
| background:var(--clr-light); | ||
| color:var(--clr-text); | ||
| } | ||
| h1,h2,h3,h4,h5,h6{ | ||
| font-family:"Poppins", "Roboto", sans-serif; | ||
| margin:0 0 .5em 0; | ||
| color:var(--clr-dark); | ||
| } | ||
| a{color:var(--clr-primary);text-decoration:none;} | ||
| a:hover{text-decoration:underline;color:var(--clr-accent);} | ||
|
|
||
| /* ---------- Layout container ---------- */ | ||
| .wrapper{ | ||
| max-width:1000px; | ||
| margin:40px auto; | ||
| padding:0 24px; | ||
| } | ||
| .card{ | ||
| background:#fff; | ||
| border-radius:12px; | ||
| padding:32px 28px; | ||
| box-shadow:0 6px 18px rgba(0,0,0,.08); | ||
| margin-bottom:40px; | ||
| } | ||
| .section-title{ | ||
| font-size:1.55rem; | ||
| color:var(--clr-primary); | ||
| border-left:6px solid var(--clr-accent); | ||
| padding-left:14px; | ||
| margin-bottom:1em; | ||
| } | ||
| /* ---------- Profile header ---------- */ | ||
| .profile-header{ | ||
| display:flex; | ||
| flex-wrap:wrap; | ||
| align-items:center; | ||
| gap:24px; | ||
| } | ||
| .avatar{ | ||
| width:160px;height:160px; | ||
| border-radius:50%; | ||
| object-fit:cover; | ||
| border:5px solid var(--clr-primary); | ||
| box-shadow:0 4px 12px rgba(0,0,0,.11); | ||
| } | ||
| .dash{ | ||
| display:inline-block; | ||
| width:6px;height:6px; | ||
| background:var(--clr-accent); | ||
| border-radius:50%; | ||
| margin:0 8px; | ||
| } | ||
| .metrics{ | ||
| display:flex; | ||
| flex-wrap:wrap; | ||
| gap:18px; | ||
| margin:1em 0; | ||
| } | ||
| .metric{ | ||
| background:var(--clr-light); | ||
| border:1px solid #dee2e6; | ||
| padding:10px 18px; | ||
| border-radius:8px; | ||
| font-weight:600; | ||
| color:var(--clr-primary); | ||
| } | ||
| .link-list a{ | ||
| display:inline-block; | ||
| margin:4px 14px 4px 0; | ||
| font-weight:500; | ||
| } | ||
| /* ---------- Responsive ---------- */ | ||
| @media(max-width:768px){ | ||
| .profile-header{flex-direction:column;align-items:flex-start;} | ||
| .avatar{width:120px;height:120px;} | ||
| } | ||
| </style> | ||
| </head> | ||
| <body> | ||
| <main class="wrapper"> | ||
| <!-- PERSONAL INFORMATION --> | ||
| <section class="card" id="personal-info"> | ||
| <div class="profile-header"> | ||
| <img class="avatar" src="https://www.bernardghanem.com/static/img/bernardghanem.jpg" alt="Bernard Ghanem portrait"> | ||
| <div> | ||
| <h1>Bernard Ghanem</h1> | ||
| <h3 style="margin-top:-.4em;color:var(--clr-accent);font-weight:500;">Professor, King Abdullah University of Science & Technology (KAUST)</h3> | ||
| <p style="margin:.3em 0 1.2em 0;"> | ||
| Chair/Director, Center of Excellence on Generative AI | ||
| <span class="dash"></span> | ||
| PI, <a href="https://ivul.kaust.edu.sa" target="_blank">GenAI Vision (IVUL Lab)</a> | ||
| </p> | ||
| <div class="metrics"> | ||
| <span class="metric">Citations 26,000+</span> | ||
| <span class="metric">h‑index 69</span> | ||
| <span class="metric">i10‑index 206</span> | ||
| </div> | ||
| <p style="max-width:650px;"> | ||
| <strong>Current Roles:</strong> Professor @ KAUST; Chair/Director – Center of Excellence on Generative AI; Co‑Founder – Thya Technology; Advisor – <a href="https://camel-ai.org" target="_blank">CAMEL‑AI.org</a>. | ||
| <br> | ||
| <strong>Contact:</strong> bernard.ghanem<span style="user-select:none"> </span>[at] kaust.edu.sa | ||
| </p> | ||
| </div> | ||
| </div> | ||
| <div class="link-list" style="margin-top:12px;"> | ||
| <a href="https://www.linkedin.com/in/bernardghanem/" target="_blank">LinkedIn</a> | ||
| <a href="https://scholar.google.com/citations?hl=en&user=rVsGTeEAAAAJ&view_op=list_works" target="_blank">Google Scholar</a> | ||
| <a href="https://x.com/BernardSGhanem" target="_blank">X (Twitter)</a> | ||
| <a href="https://www.researchgate.net/profile/Bernard-Ghanem" target="_blank">ResearchGate</a> | ||
| <a href="https://www.bernardghanem.com/home" target="_blank">Website</a> | ||
| <a href="https://www.bernardghanem.com/curriculum-vitae" target="_blank">Download CV</a> | ||
| </div> | ||
| </section> | ||
|
|
||
| <!-- BIOGRAPHY --> | ||
| <section class="card" id="biography"> | ||
| <h2 class="section-title">Biography</h2> | ||
| <p> | ||
| Bernard Ghanem received his PhD in Electrical & Computer Engineering from the University of Illinois at Urbana‑Champaign, advised by Narendra Ahuja. He is currently a Professor at KAUST where he directs the Center of Excellence on Generative AI and leads the Image & Video Understanding Lab (IVUL). Bernard’s work bridges core research in computer vision, large‑scale video analysis, 3D scene understanding, and foundational machine‑learning theory with real‑world deployment. | ||
| </p> | ||
| <p> | ||
| <strong>Professional Milestones</strong> | ||
| <ul> | ||
| <li>Advisor, <a href="https://camel-ai.org" target="_blank">CAMEL‑AI.org</a> (Jul 2024 – present), London UK.</li> | ||
| <li>Co‑Founder, Thya Technology (Jan 2022 – present), Saudi Arabia.</li> | ||
| <li>Chair/Director, Center of Excellence on Generative AI, KAUST (Jul 2022 – present).</li> | ||
| <li>Deputy Director, AI Initiative, KAUST (Oct 2021 – Jul 2024).</li> | ||
| <li>Associate Professor, KAUST (Jun 2018 – Jun 2022).</li> | ||
| <li>Co‑Founder, AutoScout Inc. (Apr 2014 – Jun 2016), Chicago IL, USA.</li> | ||
| <li>Senior Research Scientist, Advanced Digital Sciences Center (ADSC), Singapore (Dec 2010 – Feb 2012).</li> | ||
| </ul> | ||
| </p> | ||
| <p> | ||
| Bernard actively collaborates with industry and open‑source communities, co‑founding startup ventures and advising organizations pushing forward general‑purpose AI agents. His Google Scholar citations exceed 26k, reflecting a sustained impact on the AI community. | ||
| </p> | ||
| </section> | ||
|
|
||
| <!-- RESEARCH INTERESTS --> | ||
| <section class="card" id="interests"> | ||
| <h2 class="section-title">Research Interests</h2> | ||
| <p> | ||
| Computer Vision; Machine Learning; Generative AI; Large‑Scale Video Understanding; 3D Scene Understanding; Foundations & Theory of Machine Learning. Bernard’s current agenda explores how generative models can unlock richer video reasoning and interactive perception at scale. | ||
| </p> | ||
| </section> | ||
|
|
||
| <!-- AWARDS --> | ||
| <section class="card" id="awards"> | ||
| <h2 class="section-title">Awards & Distinctions</h2> | ||
| <ul style="line-height:1.6;margin:0 0 0 1.2em;"> | ||
| <li><strong>Shoman Arab Researcher Award</strong> (2020) — honored for impactful contributions to science & technology in the Arab world.</li> | ||
| <li>Multiple <strong>Best Paper Awards</strong> at CVPR Workshops (2013, 2018 – 2021) and other international venues.</li> | ||
| <li>Led winning team for the <strong>3D Instance Segmentation Task</strong> at a CVPR Workshop (2019).</li> | ||
| <li><strong>Google Faculty Research Award</strong> (2015).</li> | ||
| <li><strong>SABIC Postdoctoral Award</strong> (2014 – 2015).</li> | ||
| <li><strong>Best Business Plan Award</strong>, KAUST (2016) & 1st place, <strong>IEN Business Plan Competition</strong> (2009).</li> | ||
| <li><strong>Research Collaboration Award</strong>, University of Western Australia (2014).</li> | ||
| <li><strong>KAUST Seed Fund Award</strong> (2013 – 2015).</li> | ||
| <li><strong>Computational Science & Engineering Fellowship</strong>, UIUC (2007 – 2009) and <strong>James M. Henderson Fellowship</strong>, UIUC (2006 – 2007).</li> | ||
| <li>National high‑school valedictorian, Lebanon — ranked 1st in the Lebanese Baccalaureate (2000 – 2001) and received the Presidential Award for Academic Excellence.</li> | ||
| </ul> | ||
| </section> | ||
|
|
||
| <!-- EDUCATION --> | ||
| <section class="card" id="education"> | ||
| <h2 class="section-title">Education</h2> | ||
| <div style="margin-bottom:1.3em;"> | ||
| <h3 style="margin:0;color:var(--clr-primary);">University of Illinois at Urbana‑Champaign (UIUC)</h3> | ||
| <p style="margin:.2em 0 .6em 0;font-weight:500;">PhD in Electrical & Computer Engineering · 2005 – 2010</p> | ||
| <ul style="margin:0 0 .8em 1.2em;line-height:1.55;"> | ||
| <li>Student member, IEEE (2004 – 2010)</li> | ||
| <li>President & active member, Lebanese Cultural Club — promoted Lebanese culture across campus</li> | ||
| </ul> | ||
| </div> | ||
| <div> | ||
| <h3 style="margin:0;color:var(--clr-primary);">American University of Beirut (AUB)</h3> | ||
| <p style="margin:.2em 0 .6em 0;font-weight:500;">Bachelor of Engineering in Computer & Communications Engineering · 2001 – 2005</p> | ||
| </div> | ||
| </section> | ||
|
|
||
| </main> | ||
| </body> | ||
| </html> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the updated generated example?