File size: 1,491 Bytes
797f4fc
 
 
 
827cee3
797f4fc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
from .webscout_search import WEBS
from .webscout_search_async import AsyncWEBS
from .version import __version__
from .LLM import LLM
import g4f
__repo__ = "https://github.com/OE-LUCIFER/Webscout"

webai = [
   "leo",
   "openai",
   "opengpt",
   "koboldai",
   "gemini",
   "phind",
   "blackboxai",
   "g4fauto",
   "perplexity",
   "groq",
   "reka",
   "cohere",
   "yepchat",
   "you",
   "xjai",
   "thinkany",
   "berlin4h",
   "chatgptuk",
   "auto",
   "poe",
]

gpt4free_providers = [
   provider.__name__ for provider in g4f.Provider.__providers__  # if provider.working
]

available_providers = webai + gpt4free_providers

# Add all the provider classes, Localai models, Thread, and Model to __all__
__all__ = [
   "WEBS",
   "AsyncWEBS",
   "__version__",
   "DeepWEBS",
   "transcriber",
   "play_audio",
   "TempMailClient", 
   "TemporaryPhoneNumber",
   "LLM",
   # Localai models and utilities 
   # "Model",
   # "Thread",
   # "formats", 

   # AI Providers
   "ThinkAnyAI",
   "Xjai",
   "LLAMA2",
   "AsyncLLAMA2",
   "Cohere",
   "REKA",
   "GROQ",
   "AsyncGROQ",
   "OPENAI",
   "AsyncOPENAI",
   "LEO",
   "AsyncLEO",
   "KOBOLDAI",
   "AsyncKOBOLDAI",
   "OPENGPT",
   "AsyncOPENGPT",
   "PERPLEXITY",
   "BLACKBOXAI",
   "AsyncBLACKBOXAI",
   "PhindSearch",
   "AsyncPhindSearch",
   "YEPCHAT",
   "AsyncYEPCHAT",
   "YouChat",
   "GEMINI",
   "Berlin4h",
   "ChatGPTUK",
   "POE"
]

import logging
logging.getLogger("webscout").addHandler(logging.NullHandler())