mhamza-007 commited on
Commit
bac47ae
Β·
verified Β·
1 Parent(s): dc721fb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -5
README.md CHANGED
@@ -11,7 +11,7 @@ short_description: 'AI tool: profile insights, summary, and conversation starter
11
 
12
  # Social Profile Analyzer (Agentic AI Project)
13
 
14
- This project is an intelligent **Agentic AI web application** built using LangChain and OpenAI. It takes a person's name as input and returns a professional profile summary, interesting facts, potential ice-breakers, and topics of interest based on publicly available data from LinkedIn and Twitter.
15
 
16
  ### πŸš€ Demo
17
  Available on [Hugging Face Spaces](https://huggingface.co/spaces/mhamza-007/Social-Profile-Analyzer)
@@ -24,7 +24,7 @@ Available on [Hugging Face Spaces](https://huggingface.co/spaces/mhamza-007/Soci
24
  - πŸ“„ **Summarized Bio & Facts**
25
  - πŸ’¬ **Conversation Starters & Ice-breakers**
26
  - πŸ“š **Topics of Interest**
27
- - 🧠 Powered by LangChain + OpenAI Agents
28
 
29
  ---
30
 
@@ -32,9 +32,9 @@ Available on [Hugging Face Spaces](https://huggingface.co/spaces/mhamza-007/Soci
32
 
33
  - 🦜 LangChain (Agents + Tools)
34
  - 🌐 Flask (Frontend + Backend)
35
- - 🧠 OpenAI GPT
36
  - πŸ•ΈοΈ Tavily Search API
37
- - 🐦 Twitter API (via Tweepy or HTTP)
38
  - πŸ”— Proxycurl (LinkedIn scraping)
39
  - πŸ§ͺ LangSmith (Optional for tracing/debugging)
40
 
@@ -60,7 +60,25 @@ LANGSMITH_ENDPOINT # Required if tracing enabled
60
  LANGCHAIN_API_KEY # Required if tracing enabled
61
  LANGCHAIN_PROJECT # Required if tracing enabled
62
  ```
 
 
 
 
 
63
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
 
65
  ## πŸ’΅ Note on API Usage
66
 
@@ -98,4 +116,23 @@ tweets = scrape_user_tweets_mock()
98
  # βœ… With this:
99
  linkedin_data = scrape_linkedin_profile(linkedin_url)
100
  tweets = scrape_user_tweets(twitter_url)
101
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
 
12
  # Social Profile Analyzer (Agentic AI Project)
13
 
14
+ This project is an intelligent **Agentic AI web application** built using LangChain and OpenRouter’s DeepSeek model. It takes a person's name as input and returns a professional profile summary, interesting facts, potential ice-breakers, and topics of interest based on publicly available data from LinkedIn and Twitter.
15
 
16
  ### πŸš€ Demo
17
  Available on [Hugging Face Spaces](https://huggingface.co/spaces/mhamza-007/Social-Profile-Analyzer)
 
24
  - πŸ“„ **Summarized Bio & Facts**
25
  - πŸ’¬ **Conversation Starters & Ice-breakers**
26
  - πŸ“š **Topics of Interest**
27
+ - 🧠 Powered by LangChain + DeepSeek: R1 0528 (free)
28
 
29
  ---
30
 
 
32
 
33
  - 🦜 LangChain (Agents + Tools)
34
  - 🌐 Flask (Frontend + Backend)
35
+ - 🧠 Deepseek R1 LLM
36
  - πŸ•ΈοΈ Tavily Search API
37
+ - 🐦 Twitter API (via Tweepy)
38
  - πŸ”— Proxycurl (LinkedIn scraping)
39
  - πŸ§ͺ LangSmith (Optional for tracing/debugging)
40
 
 
60
  LANGCHAIN_API_KEY # Required if tracing enabled
61
  LANGCHAIN_PROJECT # Required if tracing enabled
62
  ```
63
+ ---
64
+
65
+ ## πŸ€– LLM Configuration
66
+
67
+ This project uses the `deepseek/deepseek-r1-0528:free` model via [OpenRouter](https://openrouter.ai) for language generation.
68
 
69
+ If you want to use a different OpenRouter-compatible LLM, make sure to update the `model` parameter accordingly:
70
+
71
+ ```python
72
+ from langchain_openai import ChatOpenAI
73
+ import os
74
+
75
+ llm = ChatOpenAI(
76
+ model="deepseek/deepseek-r1-0528:free",
77
+ base_url="https://openrouter.ai/api/v1",
78
+ api_key=os.getenv("OPENROUTER_API_KEY"),
79
+ temperature=0,
80
+ )
81
+ ```
82
 
83
  ## πŸ’΅ Note on API Usage
84
 
 
116
  # βœ… With this:
117
  linkedin_data = scrape_linkedin_profile(linkedin_url)
118
  tweets = scrape_user_tweets(twitter_url)
119
+ ```
120
+ ---
121
+
122
+ ## πŸ™Œ Contributing
123
+
124
+ Contributions are welcome! If you find a bug or have suggestions for improvements, feel free to open an issue or submit a pull request.
125
+
126
+ ---
127
+
128
+ ## πŸ“¬ Contact
129
+
130
+ For any questions or feedback, reach out to **me** via [LinkedIn](https://www.linkedin.com/in/muhammad-hamza-azhar-996289314/) or open an issue on this repository.
131
+
132
+ ---
133
+
134
+ ## ⭐️ Show Your Support
135
+
136
+ If you like this project, please give it a ⭐️ on [GitHub](https://github.com/muhammadhamzaazhar/Social-Profile-Analyzer)!
137
+
138
+ ---