Commit Graph

18 Commits

Author SHA1 Message Date
t.me/xtekky
ac96278d74 theb.ai 2023-04-27 19:32:39 +01:00
t.me/xtekky
011d0babc2 remove phind 2023-04-27 19:26:36 +01:00
Aymane Hrouch
f1594cfdde Reformat code using PyCharm 2023-04-27 15:43:59 +01:00
t.me/xtekky
d8ec09cebb
Merge branch 'main' into main 2023-04-27 13:29:33 +01:00
Andrew Tsegaye
b2037302e9 well updated 2023-04-27 09:17:07 -07:00
t.me/xtekky
d5d5d8b1d0 Update main.py 2023-04-27 09:59:15 +01:00
t.me/xtekky
9f09650780
Merge pull request #155 from Daniele-Polizzi/Daniele-Polizzi-patch-1
Update __init__.py
2023-04-26 17:50:45 +01:00
Daniele Polizzi
96eab8ed1d
Update __init__.py
I changed the import statement from request import Session to import requests because in the original the Session class is the only class imported from the request library. In this case, it is more efficient to import the whole library with import requests and use requests.Session() instead of Session() and added various code comments

Instead of having a separate dictionary, I created a headers dictionary and used the update() method to update the session header.

The create() function returns the results of a request made to a website as a JSON dictionary using the .json() method. However, you don't need to import the json library explicitly because the json() function is a method of the Response object returned by session.post(). In other words, the .json() method does the json decoding for us, so we don't need to use the json module's json()
2023-04-26 15:25:09 +02:00
t.me/xtekky
73618a9161 http://easy-ai.ink/ 2023-04-26 12:12:05 +01:00
t.me/xtekky
d0e9b9de97 . 2023-04-26 12:02:36 +01:00
t.me/xtekky
d60d6fa355 play.vercel.ai 2023-04-26 10:41:24 +01:00
t.me/xtekky
e341c75e5e discontinue ora.sh api 2023-04-25 18:40:17 +01:00
t.me/xtekky
cfce83bb84 testing 2023-04-25 12:31:12 +01:00
t.me/xtekky
a67ffd8d8b best models (gpt4/3.5/search) 2023-04-22 14:26:57 +01:00
t.me/xtekky
85a1961b64 sqlchat 2023-04-22 14:08:19 +01:00
t.me/xtekky
dbfeab7242 code refractoring 2023-04-22 13:47:03 +01:00
kwekewk
e6fc0dc96b added openaihosted folder 2023-04-21 21:38:06 +07:00
t.me/xtekky
a485cfb180 unfinished api's (help is welcome) 2023-04-20 15:34:19 +01:00