Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpt-3.5-turbo-16k not working #2

Open
gtroisi opened this issue Sep 22, 2023 · 1 comment
Open

gpt-3.5-turbo-16k not working #2

gtroisi opened this issue Sep 22, 2023 · 1 comment

Comments

@gtroisi
Copy link

gtroisi commented Sep 22, 2023

Hi, I'm trying to use gpt-3.5-turbo-16k to reduce costs, but I receive the following timeout error.

SEARCH("xxxxxxx")
Traceback (most recent call last):
File "/Users/gabriele/Downloads/LLM/gpt-4-search-main/gpt-4-search.py", line 286, in
run(user_input)
File "/Users/gabriele/Downloads/LLM/gpt-4-search-main/gpt-4-search.py", line 260, in run
result = tool"run"
File "/Users/gabriele/Downloads/LLM/gpt-4-search-main/gpt-4-search.py", line 95, in search
results = GoogleSearchAPIWrapper().results(query, 5)
File "/Users/gabriele/miniforge3/envs/perplexity/lib/python3.10/site-packages/langchain/utilities/google_search.py", line 117, in results
results = self._google_search_results(query, num=num_results)
File "/Users/gabriele/miniforge3/envs/perplexity/lib/python3.10/site-packages/langchain/utilities/google_search.py", line 63, in _google_search_results
res = cse.list(q=search_term, cx=self.google_cse_id, **kwargs).execute()
File "/Users/gabriele/miniforge3/envs/perplexity/lib/python3.10/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
return wrapped(*args, **kwargs)
File "/Users/gabriele/miniforge3/envs/perplexity/lib/python3.10/site-packages/googleapiclient/http.py", line 923, in execute
resp, content = _retry_request(
File "/Users/gabriele/miniforge3/envs/perplexity/lib/python3.10/site-packages/googleapiclient/http.py", line 222, in _retry_request
raise exception
File "/Users/gabriele/miniforge3/envs/perplexity/lib/python3.10/site-packages/googleapiclient/http.py", line 191, in _retry_request
resp, content = http.request(uri, method, *args, **kwargs)
File "/Users/gabriele/miniforge3/envs/perplexity/lib/python3.10/site-packages/httplib2/init.py", line 1724, in request
(response, content) = self._request(
File "/Users/gabriele/miniforge3/envs/perplexity/lib/python3.10/site-packages/httplib2/init.py", line 1444, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/Users/gabriele/miniforge3/envs/perplexity/lib/python3.10/site-packages/httplib2/init.py", line 1366, in _conn_request
conn.connect()
File "/Users/gabriele/miniforge3/envs/perplexity/lib/python3.10/site-packages/httplib2/init.py", line 1156, in connect
sock.connect((self.host, self.port))
TimeoutError: timed out

@andylokandy
Copy link
Owner

does gpt-4 work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants