Commit 9269ed4f by m0hammadjaan

Root

parent 06a33cc8
......@@ -5,6 +5,7 @@ from langchain.chat_models import ChatOpenAI
from langchain.tools import DuckDuckGoSearchRun
from langchain.agents import initialize_agent, Tool
from langchain.callbacks import StreamlitCallbackHandler
from langchain.utilities import ArxivAPIWrapper
......@@ -22,17 +23,11 @@ class ChatbotTools:
def setup_agent(self):
# Define tool
ddg_search = DuckDuckGoSearchRun()
arxiv = ArxivAPIWrapper()
tools = [
Tool(
name="DuckDuckGoSearch",
func=ddg_search.run,
description="Useful for when you need to answer questions about current events. You should ask targeted questions",
),
Tool(
name="Arxiv",
func=arxiv.run,
description="Useful for when you need to answer questions about research papers, scientific articles, and preprints etc",
)
]
......
  • The use of advanced AI tools like DuckDuckGoSearchRun and ArxivAPIWrapper in this updated code reflects how developers streamline chatbot functionality using real-time data. Similarly, for creatives enhancing productivity, apps like lr mod apk claim to provide premium photo editing tools—though it's crucial to verify sources and stick to secure platforms for such software. Always balancing innovation with caution is key in both AI and creative tech.

  • The integration of advanced AI tools like DuckDuckGoSearchRun and ArxivAPIWrapper demonstrates how developers enhance chatbot functionality through real-time data access. Similarly, creative professionals turn to apps like lr mod apk for advanced photo editing features. However, it's essential to verify the legitimacy of such tools and use secure platforms to avoid risks. Whether in AI or creative technology, balancing innovation with caution is always essential.

    Edited by Shafeena
  • You can actually use the same APK on your PC by running it through an Android emulator like BlueStacks or LDPlayer. It works just like on a mobile device and gives you access to all the features on a bigger screen. Just make sure to download the APK from a trusted source! APK on your PC

  • DirectStorage is Microsoft’s latest technology designed to speed up game and app loading times on Windows 11 and Xbox Series X|S. By sending data directly from an NVMe SSD to the GPU, it reduces CPU usage, improves texture streaming, and delivers smoother gameplay. With faster load times and less stutter, DirectStorage unlocks the full potential of modern hardware. Perfect for gamers who want high performance and seamless experiences in next-gen titles.

  • Looking to boost your social media growth fast? Click Here to explore CashSMM’s amazing tools for increasing followers, likes, views, and engagement. Their platform makes social media marketing easy and effective. Don’t miss out on growing your online presence!

Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment