Defect Detection Bot commited on
Commit
1512472
·
1 Parent(s): 7024a69

complete project modular coding

Browse files
.gitignore CHANGED
@@ -1,2 +1,2 @@
1
- venv/
2
 
 
1
+ venv312/
2
 
AINews/daily_summary.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Daily AI News Summary
2
+
3
+ ### 2025-07-10
4
+ - [Google announces ads in AI Overviews for Indian users](https://indianexpress.com/article/technology/artificial-intelligence/google-ads-ai-overviews-india-new-marketing-tools-10117563/)
5
+ - [VIBE50 report spotlights 50 emerging vertical AI startups founded by Indian entrepreneurs](https://www.businesstoday.in/tech-today/news/story/indias-vertical-ai-startups-gear-up-for-enterprise-shift-amid-cautious-adoption-484137-2025-07-10)
6
+ - [Report identifies 50 Indian vertical AI startups building deep tech solutions for sectors like finance, healthcare](https://www.moneycontrol.com/artificial-intelligence/global-spend-on-vertical-ai-applications-to-hit-47-billion-by-2030-indian-startups-poised-to-gain-upekkha-report-article-13259387.html)
7
+
8
+ ### 2025-07-09
9
+ - [No specific news for this date]
10
+
11
+ ### 2025-07-08
12
+ - [No specific news for this date]
13
+
14
+ ### 2025-07-07
15
+ - [No specific news for this date]
16
+
17
+ ### 2025-07-06
18
+ - [No specific news for this date]
19
+
20
+ ### 2025-07-05
21
+ - [No specific news for this date]
22
+
23
+ ### 2025-07-04
24
+ - [Gartner report: Worldwide end-user spending on generative AI models to reach $14.2 billion in 2025](https://ddnews.gov.in/en/global-end-user-spending-on-genai-models-to-reach-14-2-billion-in-2025/)
25
+
26
+ ### 2025-07-03
27
+ - [China dominates in AI research and is Western world's leading collaborator on AI](https://www.newswise.com/articles/new-report-shows-china-dominates-in-ai-research-and-is-western-world-s-leading-collaborator-on-ai)
28
+
29
+ ### 2025-07-02
30
+ - [Strategic use of AI in healthcare and pharma drives market advantage](https://www.imd.org/ibyimd/artificial-intelligence/strategic-use-of-ai-in-healthcare-and-pharma-drives-market-advantage-heres-how/)
31
+
32
+ ### 2025-07-01
33
+ - [Artificial Intelligence in Semiconductor Market to surpass market size of US$ 321.66 billion by 2033](https://finance.yahoo.com/news/artificial-intelligence-ai-semiconductor-market-133000657.html)
src/langgraphagenticai/graph/__pycache__/graph_builder.cpython-312.pyc CHANGED
Binary files a/src/langgraphagenticai/graph/__pycache__/graph_builder.cpython-312.pyc and b/src/langgraphagenticai/graph/__pycache__/graph_builder.cpython-312.pyc differ
 
src/langgraphagenticai/graph/graph_builder.py CHANGED
@@ -3,10 +3,10 @@ from langgraph.prebuilt import tools_condition,ToolNode
3
  from langchain_core.prompts import ChatPromptTemplate
4
  from src.langgraphagenticai.state.state import State
5
  from src.langgraphagenticai.nodes.basic_chatbot_node import BasicChatbotNode
6
- from src.langgraphagenticai.nodes.chatbot_with_Tool_node import ChatbotWithToolNode
7
- from src.langgraphagenticai.tools.serach_tool import get_tools,create_tool_node
8
  from src.langgraphagenticai.nodes.ai_news_node import AINewsNode
9
-
10
 
11
 
12
 
 
3
  from langchain_core.prompts import ChatPromptTemplate
4
  from src.langgraphagenticai.state.state import State
5
  from src.langgraphagenticai.nodes.basic_chatbot_node import BasicChatbotNode
6
+ from src.langgraphagenticai.nodes.chatbot_with_tool_node import ChatbotWithToolNode
7
+ from src.langgraphagenticai.tools.search_tool import get_tools, create_tool_node
8
  from src.langgraphagenticai.nodes.ai_news_node import AINewsNode
9
+ from tavily import TavilyClient
10
 
11
 
12
 
src/langgraphagenticai/nodes/__pycache__/ai_news_node.cpython-312.pyc ADDED
Binary file (4.37 kB). View file
 
src/langgraphagenticai/nodes/__pycache__/chatbot_with_tool_node.cpython-312.pyc ADDED
Binary file (1.97 kB). View file
 
src/langgraphagenticai/tools/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (171 Bytes). View file
 
src/langgraphagenticai/tools/__pycache__/search_tool.cpython-312.pyc ADDED
Binary file (796 Bytes). View file
 
src/langgraphagenticai/tools/search_tool.py CHANGED
@@ -1,3 +1,4 @@
 
1
  from langchain_community.tools.tavily_search import TavilySearchResults
2
  from langgraph.prebuilt import ToolNode
3
 
 
1
+ from tavily import TavilyClient
2
  from langchain_community.tools.tavily_search import TavilySearchResults
3
  from langgraph.prebuilt import ToolNode
4
 
src/langgraphagenticai/ui/__pycache__/uiconfigfile.cpython-312.pyc CHANGED
Binary files a/src/langgraphagenticai/ui/__pycache__/uiconfigfile.cpython-312.pyc and b/src/langgraphagenticai/ui/__pycache__/uiconfigfile.cpython-312.pyc differ
 
src/langgraphagenticai/ui/streamlitui/__pycache__/display_result.cpython-312.pyc ADDED
Binary file (4.55 kB). View file
 
src/langgraphagenticai/ui/uiconfigfile.ini CHANGED
@@ -2,5 +2,5 @@
2
  PAGE_TITLE = LangGraph: Build Stateful Agentic AI graph
3
  LLM_OPTIONS = Groq, OpenAI
4
  USERCASE_OPTIONS = Basic Chatbot, Chatbot with tool, Travel Planner, AI News, SDLC WorkFlow
5
- GROQ_MODEL_OPTIONS = mixtral-8x7b-32768, llama-3.3-70b-versatile, llama-3.1-8b-instant, gemma2-9b-it,whisper-large-v3
6
  OPENAI_MODEL_OPTIONS = gpt-4, gpt-3.5-turbo, gpt-3.5-turbo-16k
 
2
  PAGE_TITLE = LangGraph: Build Stateful Agentic AI graph
3
  LLM_OPTIONS = Groq, OpenAI
4
  USERCASE_OPTIONS = Basic Chatbot, Chatbot with tool, Travel Planner, AI News, SDLC WorkFlow
5
+ GROQ_MODEL_OPTIONS = , distil-whisper-large-v3-en, deepseek-r1-distill-llama-70b, llama-3.3-70b-versatile, llama-3.1-8b-instant, gemma2-9b-it,whisper-large-v3
6
  OPENAI_MODEL_OPTIONS = gpt-4, gpt-3.5-turbo, gpt-3.5-turbo-16k
src/langgraphagenticai/ui/uiconfigfile.py CHANGED
@@ -9,7 +9,14 @@ class Config:
9
  return self.config["DEFAULT"].get("LLM_OPTIONS").split(", ")
10
 
11
  def get_usecase_options(self):
12
- return self.config["DEFAULT"].get("USECASE_OPTIONS").split(", ")
 
 
 
 
 
 
 
13
 
14
  def get_groq_model_options(self):
15
  return self.config["DEFAULT"].get("GROQ_MODEL_OPTIONS").split(", ")
 
9
  return self.config["DEFAULT"].get("LLM_OPTIONS").split(", ")
10
 
11
  def get_usecase_options(self):
12
+ # Support both USECASE_OPTIONS and USERCASE_OPTIONS (typo in ini)
13
+ value = self.config["DEFAULT"].get("USECASE_OPTIONS")
14
+ if value is None:
15
+ value = self.config["DEFAULT"].get("USERCASE_OPTIONS")
16
+ if value:
17
+ return value.split(", ")
18
+ return []
19
+
20
 
21
  def get_groq_model_options(self):
22
  return self.config["DEFAULT"].get("GROQ_MODEL_OPTIONS").split(", ")