webscout 1.3.4__tar.gz → 1.3.8__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 (43) hide show
  1. {webscout-1.3.4 → webscout-1.3.8}/PKG-INFO +29 -9
  2. {webscout-1.3.4 → webscout-1.3.8}/README.md +27 -8
  3. {webscout-1.3.4 → webscout-1.3.8}/setup.py +2 -1
  4. {webscout-1.3.4 → webscout-1.3.8}/webscout/AI.py +481 -77
  5. {webscout-1.3.4 → webscout-1.3.8}/webscout/AIutel.py +301 -1
  6. {webscout-1.3.4 → webscout-1.3.8}/webscout/__init__.py +3 -0
  7. {webscout-1.3.4 → webscout-1.3.8}/webscout/g4f.py +473 -473
  8. webscout-1.3.8/webscout/version.py +2 -0
  9. {webscout-1.3.4 → webscout-1.3.8}/webscout/voice.py +26 -26
  10. {webscout-1.3.4 → webscout-1.3.8}/webscout/webai.py +2419 -2298
  11. {webscout-1.3.4 → webscout-1.3.8}/webscout.egg-info/PKG-INFO +29 -9
  12. {webscout-1.3.4 → webscout-1.3.8}/webscout.egg-info/SOURCES.txt +0 -1
  13. {webscout-1.3.4 → webscout-1.3.8}/webscout.egg-info/requires.txt +1 -0
  14. webscout-1.3.4/webscout/HelpingAI.py +0 -192
  15. webscout-1.3.4/webscout/version.py +0 -2
  16. {webscout-1.3.4 → webscout-1.3.8}/DeepWEBS/__init__.py +0 -0
  17. {webscout-1.3.4 → webscout-1.3.8}/DeepWEBS/documents/__init__.py +0 -0
  18. {webscout-1.3.4 → webscout-1.3.8}/DeepWEBS/documents/query_results_extractor.py +0 -0
  19. {webscout-1.3.4 → webscout-1.3.8}/DeepWEBS/documents/webpage_content_extractor.py +0 -0
  20. {webscout-1.3.4 → webscout-1.3.8}/DeepWEBS/networks/__init__.py +0 -0
  21. {webscout-1.3.4 → webscout-1.3.8}/DeepWEBS/networks/filepath_converter.py +0 -0
  22. {webscout-1.3.4 → webscout-1.3.8}/DeepWEBS/networks/google_searcher.py +0 -0
  23. {webscout-1.3.4 → webscout-1.3.8}/DeepWEBS/networks/network_configs.py +0 -0
  24. {webscout-1.3.4 → webscout-1.3.8}/DeepWEBS/networks/webpage_fetcher.py +0 -0
  25. {webscout-1.3.4 → webscout-1.3.8}/DeepWEBS/utilsdw/__init__.py +0 -0
  26. {webscout-1.3.4 → webscout-1.3.8}/DeepWEBS/utilsdw/enver.py +0 -0
  27. {webscout-1.3.4 → webscout-1.3.8}/DeepWEBS/utilsdw/logger.py +0 -0
  28. {webscout-1.3.4 → webscout-1.3.8}/LICENSE.md +0 -0
  29. {webscout-1.3.4 → webscout-1.3.8}/setup.cfg +0 -0
  30. {webscout-1.3.4 → webscout-1.3.8}/webscout/AIbase.py +0 -0
  31. {webscout-1.3.4 → webscout-1.3.8}/webscout/DWEBS.py +0 -0
  32. {webscout-1.3.4 → webscout-1.3.8}/webscout/LLM.py +0 -0
  33. {webscout-1.3.4 → webscout-1.3.8}/webscout/__main__.py +0 -0
  34. {webscout-1.3.4 → webscout-1.3.8}/webscout/cli.py +0 -0
  35. {webscout-1.3.4 → webscout-1.3.8}/webscout/exceptions.py +0 -0
  36. {webscout-1.3.4 → webscout-1.3.8}/webscout/models.py +0 -0
  37. {webscout-1.3.4 → webscout-1.3.8}/webscout/transcriber.py +0 -0
  38. {webscout-1.3.4 → webscout-1.3.8}/webscout/utils.py +0 -0
  39. {webscout-1.3.4 → webscout-1.3.8}/webscout/webscout_search.py +0 -0
  40. {webscout-1.3.4 → webscout-1.3.8}/webscout/webscout_search_async.py +0 -0
  41. {webscout-1.3.4 → webscout-1.3.8}/webscout.egg-info/dependency_links.txt +0 -0
  42. {webscout-1.3.4 → webscout-1.3.8}/webscout.egg-info/entry_points.txt +0 -0
  43. {webscout-1.3.4 → webscout-1.3.8}/webscout.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: webscout
3
- Version: 1.3.4
3
+ Version: 1.3.8
4
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
5
  Author: OEvortex
6
6
  Author-email: helpingai5@gmail.com
@@ -46,6 +46,7 @@ Requires-Dist: termcolor
46
46
  Requires-Dist: tiktoken
47
47
  Requires-Dist: tldextract
48
48
  Requires-Dist: orjson
49
+ Requires-Dist: PyYAML
49
50
  Provides-Extra: dev
50
51
  Requires-Dist: ruff>=0.1.6; extra == "dev"
51
52
  Requires-Dist: pytest>=7.4.2; extra == "dev"
@@ -97,11 +98,12 @@ Search for anything using the Google, DuckDuckGo.com, yep.com, phind.com, you.co
97
98
  - [8. `OpenGPT` - chat With OPENGPT](#8-opengpt---chat-with-opengpt)
98
99
  - [9. `KOBOLDIA` -](#9-koboldia--)
99
100
  - [10. `Sean` - chat With Sean](#10-sean---chat-with-sean)
101
+ - [11. `Reka` - chat with reka](#11-reka---chat-with-reka)
102
+ - [12. `Cohere` - chat with cohere](#12-cohere---chat-with-cohere)
100
103
  - [usage of special .LLM file from webscout (webscout.LLM)](#usage-of-special-llm-file-from-webscout-webscoutllm)
101
104
  - [`LLM`](#llm)
102
105
  - [`LLM` with internet](#llm-with-internet)
103
106
  - [`Webai` - terminal gpt and a open interpeter](#webai---terminal-gpt-and-a-open-interpeter)
104
- - [for using as terminal gpt](#for-using-as-terminal-gpt)
105
107
 
106
108
  ## Install
107
109
  ```python
@@ -698,6 +700,27 @@ response_str = a.chat(prompt)
698
700
  print(response_str)
699
701
  ```
700
702
 
703
+ ### 11. `Reka` - chat with reka
704
+ ```python
705
+ from webscout.AI import REKA
706
+
707
+ a = REKA(is_conversation=True, max_tokens=8000, timeout=30,api_key="")
708
+
709
+ prompt = "tell me about india"
710
+ response_str = a.chat(prompt)
711
+ print(response_str)
712
+ ```
713
+
714
+ ### 12. `Cohere` - chat with cohere
715
+ ```python
716
+ from webscout.AI import Cohere
717
+
718
+ a = Cohere(is_conversation=True, max_tokens=8000, timeout=30,api_key="")
719
+
720
+ prompt = "tell me about india"
721
+ response_str = a.chat(prompt)
722
+ print(response_str)
723
+ ```
701
724
  ## usage of special .LLM file from webscout (webscout.LLM)
702
725
 
703
726
  ### `LLM`
@@ -816,12 +839,12 @@ def use_rawdog_with_webai(prompt):
816
839
  try:
817
840
  webai_bot = Main(
818
841
  max_tokens=500,
819
- provider="phind",
842
+ provider="cohere",
820
843
  temperature=0.7,
821
844
  top_k=40,
822
845
  top_p=0.95,
823
- model="Phind Model", # Replace with your desired model
824
- auth=None, # Replace with your auth key/value (if needed)
846
+ model="command-r-plus", # Replace with your desired model
847
+ auth="0zoQbKs1AAgd8WrPBO9CTIGgVvm5ZMbDcCqJOVyl", # Replace with your auth key/value (if needed)
825
848
  timeout=30,
826
849
  disable_conversation=True,
827
850
  filepath=None,
@@ -841,11 +864,8 @@ def use_rawdog_with_webai(prompt):
841
864
  if __name__ == "__main__":
842
865
  user_prompt = input("Enter your prompt: ")
843
866
  use_rawdog_with_webai(user_prompt)
867
+
844
868
  ```
845
869
  ```shell
846
870
  python -m webscout.webai webai --provider "phind" --rawdog
847
871
  ```
848
- ### for using as terminal gpt
849
- ```python
850
- python -m webscout.webai webai --provider "sean"
851
- ```
@@ -45,11 +45,12 @@ Search for anything using the Google, DuckDuckGo.com, yep.com, phind.com, you.co
45
45
  - [8. `OpenGPT` - chat With OPENGPT](#8-opengpt---chat-with-opengpt)
46
46
  - [9. `KOBOLDIA` -](#9-koboldia--)
47
47
  - [10. `Sean` - chat With Sean](#10-sean---chat-with-sean)
48
+ - [11. `Reka` - chat with reka](#11-reka---chat-with-reka)
49
+ - [12. `Cohere` - chat with cohere](#12-cohere---chat-with-cohere)
48
50
  - [usage of special .LLM file from webscout (webscout.LLM)](#usage-of-special-llm-file-from-webscout-webscoutllm)
49
51
  - [`LLM`](#llm)
50
52
  - [`LLM` with internet](#llm-with-internet)
51
53
  - [`Webai` - terminal gpt and a open interpeter](#webai---terminal-gpt-and-a-open-interpeter)
52
- - [for using as terminal gpt](#for-using-as-terminal-gpt)
53
54
 
54
55
  ## Install
55
56
  ```python
@@ -646,6 +647,27 @@ response_str = a.chat(prompt)
646
647
  print(response_str)
647
648
  ```
648
649
 
650
+ ### 11. `Reka` - chat with reka
651
+ ```python
652
+ from webscout.AI import REKA
653
+
654
+ a = REKA(is_conversation=True, max_tokens=8000, timeout=30,api_key="")
655
+
656
+ prompt = "tell me about india"
657
+ response_str = a.chat(prompt)
658
+ print(response_str)
659
+ ```
660
+
661
+ ### 12. `Cohere` - chat with cohere
662
+ ```python
663
+ from webscout.AI import Cohere
664
+
665
+ a = Cohere(is_conversation=True, max_tokens=8000, timeout=30,api_key="")
666
+
667
+ prompt = "tell me about india"
668
+ response_str = a.chat(prompt)
669
+ print(response_str)
670
+ ```
649
671
  ## usage of special .LLM file from webscout (webscout.LLM)
650
672
 
651
673
  ### `LLM`
@@ -764,12 +786,12 @@ def use_rawdog_with_webai(prompt):
764
786
  try:
765
787
  webai_bot = Main(
766
788
  max_tokens=500,
767
- provider="phind",
789
+ provider="cohere",
768
790
  temperature=0.7,
769
791
  top_k=40,
770
792
  top_p=0.95,
771
- model="Phind Model", # Replace with your desired model
772
- auth=None, # Replace with your auth key/value (if needed)
793
+ model="command-r-plus", # Replace with your desired model
794
+ auth="0zoQbKs1AAgd8WrPBO9CTIGgVvm5ZMbDcCqJOVyl", # Replace with your auth key/value (if needed)
773
795
  timeout=30,
774
796
  disable_conversation=True,
775
797
  filepath=None,
@@ -789,11 +811,8 @@ def use_rawdog_with_webai(prompt):
789
811
  if __name__ == "__main__":
790
812
  user_prompt = input("Enter your prompt: ")
791
813
  use_rawdog_with_webai(user_prompt)
814
+
792
815
  ```
793
816
  ```shell
794
817
  python -m webscout.webai webai --provider "phind" --rawdog
795
818
  ```
796
- ### for using as terminal gpt
797
- ```python
798
- python -m webscout.webai webai --provider "sean"
799
- ```
@@ -5,7 +5,7 @@ with open("README.md", encoding="utf-8") as f:
5
5
 
6
6
  setup(
7
7
  name="webscout",
8
- version="1.3.4",
8
+ version="1.3.8",
9
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",
10
10
  long_description=README,
11
11
  long_description_content_type="text/markdown",
@@ -50,6 +50,7 @@ setup(
50
50
  "tiktoken",
51
51
  "tldextract",
52
52
  "orjson",
53
+ "PyYAML",
53
54
  # "appdirs"
54
55
  ],
55
56
  entry_points={