webscout 1.4.1__tar.gz → 1.4.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of webscout might be problematic. Click here for more details.

Files changed (44) hide show
  1. {webscout-1.4.1/webscout.egg-info → webscout-1.4.4}/PKG-INFO +120 -38
  2. webscout-1.4.1/PKG-INFO → webscout-1.4.4/README.md +117 -91
  3. {webscout-1.4.1 → webscout-1.4.4}/setup.py +4 -3
  4. {webscout-1.4.1 → webscout-1.4.4}/webscout/AI.py +547 -188
  5. {webscout-1.4.1 → webscout-1.4.4}/webscout/AIutel.py +5 -1
  6. {webscout-1.4.1 → webscout-1.4.4}/webscout/__init__.py +5 -2
  7. {webscout-1.4.1 → webscout-1.4.4}/webscout/g4f.py +1 -1
  8. {webscout-1.4.1 → webscout-1.4.4}/webscout/utils.py +0 -1
  9. webscout-1.4.4/webscout/version.py +2 -0
  10. {webscout-1.4.1 → webscout-1.4.4}/webscout/webai.py +46 -16
  11. webscout-1.4.1/README.md → webscout-1.4.4/webscout.egg-info/PKG-INFO +173 -36
  12. {webscout-1.4.1 → webscout-1.4.4}/webscout.egg-info/requires.txt +1 -0
  13. webscout-1.4.1/webscout/version.py +0 -2
  14. {webscout-1.4.1 → webscout-1.4.4}/DeepWEBS/__init__.py +0 -0
  15. {webscout-1.4.1 → webscout-1.4.4}/DeepWEBS/documents/__init__.py +0 -0
  16. {webscout-1.4.1 → webscout-1.4.4}/DeepWEBS/documents/query_results_extractor.py +0 -0
  17. {webscout-1.4.1 → webscout-1.4.4}/DeepWEBS/documents/webpage_content_extractor.py +0 -0
  18. {webscout-1.4.1 → webscout-1.4.4}/DeepWEBS/networks/__init__.py +0 -0
  19. {webscout-1.4.1 → webscout-1.4.4}/DeepWEBS/networks/filepath_converter.py +0 -0
  20. {webscout-1.4.1 → webscout-1.4.4}/DeepWEBS/networks/google_searcher.py +0 -0
  21. {webscout-1.4.1 → webscout-1.4.4}/DeepWEBS/networks/network_configs.py +0 -0
  22. {webscout-1.4.1 → webscout-1.4.4}/DeepWEBS/networks/webpage_fetcher.py +0 -0
  23. {webscout-1.4.1 → webscout-1.4.4}/DeepWEBS/utilsdw/__init__.py +0 -0
  24. {webscout-1.4.1 → webscout-1.4.4}/DeepWEBS/utilsdw/enver.py +0 -0
  25. {webscout-1.4.1 → webscout-1.4.4}/DeepWEBS/utilsdw/logger.py +0 -0
  26. {webscout-1.4.1 → webscout-1.4.4}/LICENSE.md +0 -0
  27. {webscout-1.4.1 → webscout-1.4.4}/setup.cfg +0 -0
  28. {webscout-1.4.1 → webscout-1.4.4}/webscout/AIbase.py +0 -0
  29. {webscout-1.4.1 → webscout-1.4.4}/webscout/DWEBS.py +0 -0
  30. {webscout-1.4.1 → webscout-1.4.4}/webscout/LLM.py +0 -0
  31. {webscout-1.4.1 → webscout-1.4.4}/webscout/__main__.py +0 -0
  32. {webscout-1.4.1 → webscout-1.4.4}/webscout/async_providers.py +0 -0
  33. {webscout-1.4.1 → webscout-1.4.4}/webscout/cli.py +0 -0
  34. {webscout-1.4.1 → webscout-1.4.4}/webscout/exceptions.py +0 -0
  35. {webscout-1.4.1 → webscout-1.4.4}/webscout/models.py +0 -0
  36. {webscout-1.4.1 → webscout-1.4.4}/webscout/tempid.py +0 -0
  37. {webscout-1.4.1 → webscout-1.4.4}/webscout/transcriber.py +0 -0
  38. {webscout-1.4.1 → webscout-1.4.4}/webscout/voice.py +0 -0
  39. {webscout-1.4.1 → webscout-1.4.4}/webscout/webscout_search.py +0 -0
  40. {webscout-1.4.1 → webscout-1.4.4}/webscout/webscout_search_async.py +0 -0
  41. {webscout-1.4.1 → webscout-1.4.4}/webscout.egg-info/SOURCES.txt +0 -0
  42. {webscout-1.4.1 → webscout-1.4.4}/webscout.egg-info/dependency_links.txt +0 -0
  43. {webscout-1.4.1 → webscout-1.4.4}/webscout.egg-info/entry_points.txt +0 -0
  44. {webscout-1.4.1 → webscout-1.4.4}/webscout.egg-info/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: webscout
3
- Version: 1.4.1
4
- Summary: Search for anything using the Google, DuckDuckGo.com, yep.com, phind.com, you.com, etc Also containes AI models, can transcribe yt videos, have TTS support and now has webai(terminal gpt and open interpeter) support
3
+ Version: 1.4.4
4
+ Summary: Search for anything using the Google, DuckDuckGo, phind.com. Also containes AI models, can transcribe yt videos, temporary email and phone number generation, have TTS support and webai(terminal gpt and open interpeter)
5
5
  Author: OEvortex
6
6
  Author-email: helpingai5@gmail.com
7
7
  License: HelpingAI Simplified Universal License
@@ -49,13 +49,36 @@ Requires-Dist: orjson
49
49
  Requires-Dist: PyYAML
50
50
  Requires-Dist: appdirs
51
51
  Requires-Dist: GoogleBard1>=2.1.4
52
+ Requires-Dist: tls_client
52
53
  Provides-Extra: dev
53
54
  Requires-Dist: ruff>=0.1.6; extra == "dev"
54
55
  Requires-Dist: pytest>=7.4.2; extra == "dev"
55
56
 
56
- # webscout
57
- <p align="center">
57
+ <div align="center">
58
+ <!-- Replace `#` with your actual links -->
59
+ <a href="https://t.me/devsdocode"><img alt="Telegram" src="https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white"></a>
60
+ <a href="https://www.instagram.com/sree.shades_/"><img alt="Instagram" src="https://img.shields.io/badge/Instagram-E4405F?style=for-the-badge&logo=instagram&logoColor=white"></a>
61
+ <a href="https://www.linkedin.com/in/developer-sreejan/"><img alt="LinkedIn" src="https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white"></a>
62
+ <a href="https://buymeacoffee.com/devsdocode"><img alt="Buy Me A Coffee" src="https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?style=for-the-badge&logo=buymeacoffee&logoColor=black"></a>
63
+ </div>
64
+
65
+ <div align="center">
66
+ <!-- Replace `#` with your actual links -->
67
+ <a href="https://youtube.com/@@OEvortex">&#10148; Vortex's YouTube Channel</a>
68
+ </div>
69
+ <div align="center">
70
+ <a href="https://youtube.com/@devsdocode">&#10148; Devs Do Code's YouTube Channel</a>
71
+ </div>
72
+
58
73
 
74
+
75
+
76
+ # WEBSCOUT
77
+ </div>
78
+ <p align="center">
79
+ <div align="center">
80
+ <img src="https://img.shields.io/badge/WebScout-API-blue?style=for-the-badge&logo=WebScout" alt="WebScout API Badge">
81
+ </div>
59
82
  <a href="#"><img alt="Python version" src="https://img.shields.io/pypi/pyversions/webscout"/></a>
60
83
  <a href="https://pepy.tech/project/webscout"><img alt="Downloads" src="https://static.pepy.tech/badge/webscout"></a>
61
84
 
@@ -63,7 +86,7 @@ Search for anything using the Google, DuckDuckGo, phind.com. Also containes AI m
63
86
 
64
87
 
65
88
  ## Table of Contents
66
- - [webscout](#webscout)
89
+ - [WEBSCOUT](#webscout)
67
90
  - [Table of Contents](#table-of-contents)
68
91
  - [Install](#install)
69
92
  - [CLI version](#cli-version)
@@ -94,9 +117,8 @@ Search for anything using the Google, DuckDuckGo, phind.com. Also containes AI m
94
117
  - [usage of webscout.AI](#usage-of-webscoutai)
95
118
  - [1. `PhindSearch` - Search using Phind.com](#1-phindsearch---search-using-phindcom)
96
119
  - [2. `YepChat` - Chat with mistral 8x7b powered by yepchat](#2-yepchat---chat-with-mistral-8x7b-powered-by-yepchat)
97
- - [3. `You.com` - search with you.com -NOT WORKING](#3-youcom---search-with-youcom--not-working)
120
+ - [3. `You.com` - search/chat with you.com](#3-youcom---searchchat-with-youcom)
98
121
  - [4. `Gemini` - search with google gemini](#4-gemini---search-with-google-gemini)
99
- - [usage of image generator from Webscout.AI](#usage-of-image-generator-from-webscoutai)
100
122
  - [5. `Prodia` - make image using prodia](#5-prodia---make-image-using-prodia)
101
123
  - [6. `BlackBox` - Search/chat With BlackBox](#6-blackbox---searchchat-with-blackbox)
102
124
  - [7. `PERPLEXITY` - Search With PERPLEXITY](#7-perplexity---search-with-perplexity)
@@ -104,6 +126,8 @@ Search for anything using the Google, DuckDuckGo, phind.com. Also containes AI m
104
126
  - [9. `KOBOLDIA` -](#9-koboldia--)
105
127
  - [10. `Reka` - chat with reka](#10-reka---chat-with-reka)
106
128
  - [11. `Cohere` - chat with cohere](#11-cohere---chat-with-cohere)
129
+ - [12. `Xjai` - chat with free gpt 3.5](#12-xjai---chat-with-free-gpt-35)
130
+ - [`ThinkAny` - AI search engine](#thinkany---ai-search-engine)
107
131
  - [`LLM`](#llm)
108
132
  - [`LLM` with internet](#llm-with-internet)
109
133
  - [LLM with deepwebs](#llm-with-deepwebs)
@@ -684,27 +708,31 @@ print(r)
684
708
 
685
709
  ```
686
710
 
687
- ### 3. `You.com` - search with you.com -NOT WORKING
711
+ ### 3. `You.com` - search/chat with you.com
688
712
  ```python
689
- from webscout.AI import youChat
690
713
 
691
- # Instantiate the youchat class
692
- youChat = youChat()
714
+ from webscout.AI import YouChat
715
+ from rich import print
693
716
 
694
- while True:
695
- # Ask the user for a prompt
696
- prompt = input("💡 Enter a prompt (or type 'exit' to quit): ")
697
-
698
- # Exit condition
699
- if prompt.lower() == 'exit':
700
- break
701
-
702
- # Generate a completion based on the prompt
703
- try:
704
- completion = youChat.create(prompt)
705
- print("💬:", completion)
706
- except Exception as e:
707
- print("⚠️ An error occurred:", e)
717
+ ai = YouChat(
718
+ is_conversation=True,
719
+ max_tokens=800,
720
+ timeout=30,
721
+ intro=None,
722
+ filepath=None,
723
+ update_file=True,
724
+ proxies={},
725
+ history_offset=10250,
726
+ act=None,
727
+ )
728
+
729
+ prompt = "what is meaning of life"
730
+
731
+ response = ai.ask(prompt)
732
+
733
+ # Extract and print the message from the response
734
+ message = ai.get_message(response)
735
+ print(message)
708
736
  ```
709
737
 
710
738
  ### 4. `Gemini` - search with google gemini
@@ -728,19 +756,7 @@ gemini = GEMINI(cookie_file=COOKIE_FILE, proxy=PROXIES)
728
756
  # Ask a question and print the response
729
757
  response = gemini.chat("What is the meaning of life?")
730
758
  print(response)
731
-
732
- # Ask another question, this time streaming the response
733
- for chunk in gemini.chat("Tell me a story", stream=True):
734
- print(chunk, end="")
735
-
736
- # Reset the conversation to start a new interaction
737
- gemini.reset()
738
-
739
- # Ask a question with the code optimizer
740
- response = gemini.chat("Write Python code to print 'Hello, world!'", optimizer="code")
741
- print(response)
742
759
  ```
743
- ## usage of image generator from Webscout.AI
744
760
  ### 5. `Prodia` - make image using prodia
745
761
  ```python
746
762
  from webscout.AI import Prodia
@@ -797,7 +813,7 @@ print(response)
797
813
  ```python
798
814
  from webscout.AI import OPENGPT
799
815
 
800
- opengpt = OPENGPT(is_conversation=True, max_tokens=8000, timeout=30)
816
+ opengpt = OPENGPT(is_conversation=True, max_tokens=8000, timeout=30, assistant_id="bca37014-6f97-4f2b-8928-81ea8d478d88")
801
817
  while True:
802
818
  # Prompt the user for input
803
819
  prompt = input("Enter your prompt: ")
@@ -846,6 +862,54 @@ response_str = a.chat(prompt)
846
862
  print(response_str)
847
863
  ```
848
864
 
865
+ ### 12. `Xjai` - chat with free gpt 3.5
866
+ Gratitude to [Devs do Code](http://www.youtube.com/@DevsDoCode) for their assistance.
867
+ ```python
868
+ from webscout.AI import Xjai
869
+ from rich import print
870
+
871
+ ai = Xjai(
872
+ is_conversation=True,
873
+ max_tokens=800,
874
+ timeout=30,
875
+ intro=None,
876
+ filepath=None,
877
+ update_file=True,
878
+ proxies={},
879
+ history_offset=10250,
880
+ act=None,
881
+ )
882
+
883
+ prompt = "Tell me about india"
884
+
885
+ response = ai.chat(prompt)
886
+ print(response)
887
+ ```
888
+ ### `ThinkAny` - AI search engine
889
+ ```python
890
+ from webscout.AI import ThinkAnyAI
891
+
892
+ ai = ThinkAnyAI(
893
+ is_conversation=True,
894
+ max_tokens=800,
895
+ timeout=30,
896
+ intro=None,
897
+ filepath=None,
898
+ update_file=True,
899
+ proxies={},
900
+ history_offset=10250,
901
+ act=None,
902
+ web_search=False,
903
+ )
904
+
905
+ prompt = "what is meaning of life"
906
+
907
+ response = ai.ask(prompt)
908
+
909
+ # Extract and print the message from the response
910
+ message = ai.get_message(response)
911
+ print(message)
912
+ ```
849
913
  ### `LLM`
850
914
  ```python
851
915
  from webscout.LLM import LLM
@@ -1076,3 +1140,21 @@ if __name__ == "__main__":
1076
1140
  ```shell
1077
1141
  python -m webscout.webai webai --provider "phind" --rawdog
1078
1142
  ```
1143
+
1144
+ <div align="center">
1145
+ <!-- Replace `#` with your actual links -->
1146
+ <a href="https://t.me/devsdocode"><img alt="Telegram" src="https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white"></a>
1147
+ <a href="https://www.instagram.com/sree.shades_/"><img alt="Instagram" src="https://img.shields.io/badge/Instagram-E4405F?style=for-the-badge&logo=instagram&logoColor=white"></a>
1148
+ <a href="https://www.linkedin.com/in/developer-sreejan/"><img alt="LinkedIn" src="https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white"></a>
1149
+ <a href="https://buymeacoffee.com/devsdocode"><img alt="Buy Me A Coffee" src="https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?style=for-the-badge&logo=buymeacoffee&logoColor=black"></a>
1150
+ </div>
1151
+
1152
+ <div align="center">
1153
+ <!-- Replace `#` with your actual links -->
1154
+ <a href="https://youtube.com/@@OEvortex">&#10148; Vortex's YouTube Channel</a>
1155
+ </div>
1156
+ <div align="center">
1157
+ <a href="https://youtube.com/@devsdocode">&#10148; Devs Do Code's YouTube Channel</a>
1158
+ </div>
1159
+
1160
+
@@ -1,61 +1,28 @@
1
- Metadata-Version: 2.1
2
- Name: webscout
3
- Version: 1.4.1
4
- Summary: Search for anything using the Google, DuckDuckGo.com, yep.com, phind.com, you.com, etc Also containes AI models, can transcribe yt videos, have TTS support and now has webai(terminal gpt and open interpeter) support
5
- Author: OEvortex
6
- Author-email: helpingai5@gmail.com
7
- License: HelpingAI Simplified Universal License
8
- Project-URL: Documentation, https://github.com/OE-LUCIFER/Webscout/wiki
9
- Project-URL: Source, https://github.com/OE-LUCIFER/Webscout
10
- Project-URL: Tracker, https://github.com/OE-LUCIFER/Webscout/issues
11
- Project-URL: YouTube, https://youtube.com/@OEvortex
12
- Classifier: Development Status :: 5 - Production/Stable
13
- Classifier: Intended Audience :: Developers
14
- Classifier: License :: Other/Proprietary License
15
- Classifier: Operating System :: OS Independent
16
- Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.8
18
- Classifier: Programming Language :: Python :: 3.9
19
- Classifier: Programming Language :: Python :: 3.10
20
- Classifier: Programming Language :: Python :: 3.11
21
- Classifier: Programming Language :: Python :: 3.12
22
- Classifier: Programming Language :: Python :: Implementation :: CPython
23
- Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
24
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
25
- Description-Content-Type: text/markdown
26
- License-File: LICENSE.md
27
- Requires-Dist: docstring_inheritance>=2.1.2
28
- Requires-Dist: click>=8.1.7
29
- Requires-Dist: curl_cffi>=0.6.0b7
30
- Requires-Dist: lxml>=5.1.0
31
- Requires-Dist: nest-asyncio>=1.6.0
32
- Requires-Dist: selenium>=4.1.3
33
- Requires-Dist: tqdm>=4.64.0
34
- Requires-Dist: webdriver-manager>=3.5.4
35
- Requires-Dist: halo>=0.0.31
36
- Requires-Dist: g4f>=0.2.2.3
37
- Requires-Dist: rich
38
- Requires-Dist: python-dotenv
39
- Requires-Dist: Helpingai-T2
40
- Requires-Dist: beautifulsoup4
41
- Requires-Dist: markdownify
42
- Requires-Dist: pydantic
43
- Requires-Dist: requests
44
- Requires-Dist: sse_starlette
45
- Requires-Dist: termcolor
46
- Requires-Dist: tiktoken
47
- Requires-Dist: tldextract
48
- Requires-Dist: orjson
49
- Requires-Dist: PyYAML
50
- Requires-Dist: appdirs
51
- Requires-Dist: GoogleBard1>=2.1.4
52
- Provides-Extra: dev
53
- Requires-Dist: ruff>=0.1.6; extra == "dev"
54
- Requires-Dist: pytest>=7.4.2; extra == "dev"
55
-
56
- # webscout
1
+ <div align="center">
2
+ <!-- Replace `#` with your actual links -->
3
+ <a href="https://t.me/devsdocode"><img alt="Telegram" src="https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white"></a>
4
+ <a href="https://www.instagram.com/sree.shades_/"><img alt="Instagram" src="https://img.shields.io/badge/Instagram-E4405F?style=for-the-badge&logo=instagram&logoColor=white"></a>
5
+ <a href="https://www.linkedin.com/in/developer-sreejan/"><img alt="LinkedIn" src="https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white"></a>
6
+ <a href="https://buymeacoffee.com/devsdocode"><img alt="Buy Me A Coffee" src="https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?style=for-the-badge&logo=buymeacoffee&logoColor=black"></a>
7
+ </div>
8
+
9
+ <div align="center">
10
+ <!-- Replace `#` with your actual links -->
11
+ <a href="https://youtube.com/@@OEvortex">&#10148; Vortex's YouTube Channel</a>
12
+ </div>
13
+ <div align="center">
14
+ <a href="https://youtube.com/@devsdocode">&#10148; Devs Do Code's YouTube Channel</a>
15
+ </div>
16
+
17
+
18
+
19
+
20
+ # WEBSCOUT
21
+ </div>
57
22
  <p align="center">
58
-
23
+ <div align="center">
24
+ <img src="https://img.shields.io/badge/WebScout-API-blue?style=for-the-badge&logo=WebScout" alt="WebScout API Badge">
25
+ </div>
59
26
  <a href="#"><img alt="Python version" src="https://img.shields.io/pypi/pyversions/webscout"/></a>
60
27
  <a href="https://pepy.tech/project/webscout"><img alt="Downloads" src="https://static.pepy.tech/badge/webscout"></a>
61
28
 
@@ -63,7 +30,7 @@ Search for anything using the Google, DuckDuckGo, phind.com. Also containes AI m
63
30
 
64
31
 
65
32
  ## Table of Contents
66
- - [webscout](#webscout)
33
+ - [WEBSCOUT](#webscout)
67
34
  - [Table of Contents](#table-of-contents)
68
35
  - [Install](#install)
69
36
  - [CLI version](#cli-version)
@@ -94,9 +61,8 @@ Search for anything using the Google, DuckDuckGo, phind.com. Also containes AI m
94
61
  - [usage of webscout.AI](#usage-of-webscoutai)
95
62
  - [1. `PhindSearch` - Search using Phind.com](#1-phindsearch---search-using-phindcom)
96
63
  - [2. `YepChat` - Chat with mistral 8x7b powered by yepchat](#2-yepchat---chat-with-mistral-8x7b-powered-by-yepchat)
97
- - [3. `You.com` - search with you.com -NOT WORKING](#3-youcom---search-with-youcom--not-working)
64
+ - [3. `You.com` - search/chat with you.com](#3-youcom---searchchat-with-youcom)
98
65
  - [4. `Gemini` - search with google gemini](#4-gemini---search-with-google-gemini)
99
- - [usage of image generator from Webscout.AI](#usage-of-image-generator-from-webscoutai)
100
66
  - [5. `Prodia` - make image using prodia](#5-prodia---make-image-using-prodia)
101
67
  - [6. `BlackBox` - Search/chat With BlackBox](#6-blackbox---searchchat-with-blackbox)
102
68
  - [7. `PERPLEXITY` - Search With PERPLEXITY](#7-perplexity---search-with-perplexity)
@@ -104,6 +70,8 @@ Search for anything using the Google, DuckDuckGo, phind.com. Also containes AI m
104
70
  - [9. `KOBOLDIA` -](#9-koboldia--)
105
71
  - [10. `Reka` - chat with reka](#10-reka---chat-with-reka)
106
72
  - [11. `Cohere` - chat with cohere](#11-cohere---chat-with-cohere)
73
+ - [12. `Xjai` - chat with free gpt 3.5](#12-xjai---chat-with-free-gpt-35)
74
+ - [`ThinkAny` - AI search engine](#thinkany---ai-search-engine)
107
75
  - [`LLM`](#llm)
108
76
  - [`LLM` with internet](#llm-with-internet)
109
77
  - [LLM with deepwebs](#llm-with-deepwebs)
@@ -684,27 +652,31 @@ print(r)
684
652
 
685
653
  ```
686
654
 
687
- ### 3. `You.com` - search with you.com -NOT WORKING
655
+ ### 3. `You.com` - search/chat with you.com
688
656
  ```python
689
- from webscout.AI import youChat
690
657
 
691
- # Instantiate the youchat class
692
- youChat = youChat()
658
+ from webscout.AI import YouChat
659
+ from rich import print
693
660
 
694
- while True:
695
- # Ask the user for a prompt
696
- prompt = input("💡 Enter a prompt (or type 'exit' to quit): ")
697
-
698
- # Exit condition
699
- if prompt.lower() == 'exit':
700
- break
701
-
702
- # Generate a completion based on the prompt
703
- try:
704
- completion = youChat.create(prompt)
705
- print("💬:", completion)
706
- except Exception as e:
707
- print("⚠️ An error occurred:", e)
661
+ ai = YouChat(
662
+ is_conversation=True,
663
+ max_tokens=800,
664
+ timeout=30,
665
+ intro=None,
666
+ filepath=None,
667
+ update_file=True,
668
+ proxies={},
669
+ history_offset=10250,
670
+ act=None,
671
+ )
672
+
673
+ prompt = "what is meaning of life"
674
+
675
+ response = ai.ask(prompt)
676
+
677
+ # Extract and print the message from the response
678
+ message = ai.get_message(response)
679
+ print(message)
708
680
  ```
709
681
 
710
682
  ### 4. `Gemini` - search with google gemini
@@ -728,19 +700,7 @@ gemini = GEMINI(cookie_file=COOKIE_FILE, proxy=PROXIES)
728
700
  # Ask a question and print the response
729
701
  response = gemini.chat("What is the meaning of life?")
730
702
  print(response)
731
-
732
- # Ask another question, this time streaming the response
733
- for chunk in gemini.chat("Tell me a story", stream=True):
734
- print(chunk, end="")
735
-
736
- # Reset the conversation to start a new interaction
737
- gemini.reset()
738
-
739
- # Ask a question with the code optimizer
740
- response = gemini.chat("Write Python code to print 'Hello, world!'", optimizer="code")
741
- print(response)
742
703
  ```
743
- ## usage of image generator from Webscout.AI
744
704
  ### 5. `Prodia` - make image using prodia
745
705
  ```python
746
706
  from webscout.AI import Prodia
@@ -797,7 +757,7 @@ print(response)
797
757
  ```python
798
758
  from webscout.AI import OPENGPT
799
759
 
800
- opengpt = OPENGPT(is_conversation=True, max_tokens=8000, timeout=30)
760
+ opengpt = OPENGPT(is_conversation=True, max_tokens=8000, timeout=30, assistant_id="bca37014-6f97-4f2b-8928-81ea8d478d88")
801
761
  while True:
802
762
  # Prompt the user for input
803
763
  prompt = input("Enter your prompt: ")
@@ -846,6 +806,54 @@ response_str = a.chat(prompt)
846
806
  print(response_str)
847
807
  ```
848
808
 
809
+ ### 12. `Xjai` - chat with free gpt 3.5
810
+ Gratitude to [Devs do Code](http://www.youtube.com/@DevsDoCode) for their assistance.
811
+ ```python
812
+ from webscout.AI import Xjai
813
+ from rich import print
814
+
815
+ ai = Xjai(
816
+ is_conversation=True,
817
+ max_tokens=800,
818
+ timeout=30,
819
+ intro=None,
820
+ filepath=None,
821
+ update_file=True,
822
+ proxies={},
823
+ history_offset=10250,
824
+ act=None,
825
+ )
826
+
827
+ prompt = "Tell me about india"
828
+
829
+ response = ai.chat(prompt)
830
+ print(response)
831
+ ```
832
+ ### `ThinkAny` - AI search engine
833
+ ```python
834
+ from webscout.AI import ThinkAnyAI
835
+
836
+ ai = ThinkAnyAI(
837
+ is_conversation=True,
838
+ max_tokens=800,
839
+ timeout=30,
840
+ intro=None,
841
+ filepath=None,
842
+ update_file=True,
843
+ proxies={},
844
+ history_offset=10250,
845
+ act=None,
846
+ web_search=False,
847
+ )
848
+
849
+ prompt = "what is meaning of life"
850
+
851
+ response = ai.ask(prompt)
852
+
853
+ # Extract and print the message from the response
854
+ message = ai.get_message(response)
855
+ print(message)
856
+ ```
849
857
  ### `LLM`
850
858
  ```python
851
859
  from webscout.LLM import LLM
@@ -1076,3 +1084,21 @@ if __name__ == "__main__":
1076
1084
  ```shell
1077
1085
  python -m webscout.webai webai --provider "phind" --rawdog
1078
1086
  ```
1087
+
1088
+ <div align="center">
1089
+ <!-- Replace `#` with your actual links -->
1090
+ <a href="https://t.me/devsdocode"><img alt="Telegram" src="https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white"></a>
1091
+ <a href="https://www.instagram.com/sree.shades_/"><img alt="Instagram" src="https://img.shields.io/badge/Instagram-E4405F?style=for-the-badge&logo=instagram&logoColor=white"></a>
1092
+ <a href="https://www.linkedin.com/in/developer-sreejan/"><img alt="LinkedIn" src="https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white"></a>
1093
+ <a href="https://buymeacoffee.com/devsdocode"><img alt="Buy Me A Coffee" src="https://img.shields.io/badge/Buy%20Me%20A%20Coffee-FFDD00?style=for-the-badge&logo=buymeacoffee&logoColor=black"></a>
1094
+ </div>
1095
+
1096
+ <div align="center">
1097
+ <!-- Replace `#` with your actual links -->
1098
+ <a href="https://youtube.com/@@OEvortex">&#10148; Vortex's YouTube Channel</a>
1099
+ </div>
1100
+ <div align="center">
1101
+ <a href="https://youtube.com/@devsdocode">&#10148; Devs Do Code's YouTube Channel</a>
1102
+ </div>
1103
+
1104
+
@@ -5,8 +5,8 @@ with open("README.md", encoding="utf-8") as f:
5
5
 
6
6
  setup(
7
7
  name="webscout",
8
- version="1.4.1",
9
- description="Search for anything using the Google, DuckDuckGo.com, yep.com, phind.com, you.com, etc Also containes AI models, can transcribe yt videos, have TTS support and now has webai(terminal gpt and open interpeter) support",
8
+ version="1.4.4",
9
+ description="Search for anything using the Google, DuckDuckGo, phind.com. Also containes AI models, can transcribe yt videos, temporary email and phone number generation, have TTS support and webai(terminal gpt and open interpeter)",
10
10
  long_description=README,
11
11
  long_description_content_type="text/markdown",
12
12
  author="OEvortex",
@@ -52,7 +52,8 @@ setup(
52
52
  "orjson",
53
53
  "PyYAML",
54
54
  "appdirs",
55
- "GoogleBard1>=2.1.4"
55
+ "GoogleBard1>=2.1.4",
56
+ "tls_client",
56
57
  ],
57
58
  entry_points={
58
59
  "console_scripts": [