Skip to main content
46
results
Andrew Fletcher
OpenAI request timeout? Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised ServiceUnavailableError: The server is overloaded or not ready yet..Try increasing the timeout parameter.  For example,  llm = ChatOpenAI(temperature=0, model_name=model)Change to llm = ChatOpenAI(temperature=0, model_name=model,...
Andrew Fletcher
Whilst installing Python 3.11.6 and running the command 'sudo make altinstall',...
Andrew Fletcher
Ubuntu 20.04 comes with Python 3.8 installed.  If you run the update...
Andrew Fletcher
git reset, git revert, and git cherry-pick are three Git commands used for...
Andrew Fletcher
Changes to the Python3 package list post installing packages each of the...
Andrew Fletcher
Python3 error  None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.You need one of them PyTorch or Tensorflow.  You can check if tensorflow is installed or you can reinstall it pip uninstall tensorflow pip install tensorflow==2.2.0 pip uninstall transformers pip install transformers==3.3.1If a Python package isn't installed, when you run uninstall, you well see the following...
Andrew Fletcher
When running python openai command, I was greeted...
Andrew Fletcher
Python3 Error ImportError: cannot import name 'soft_unicode' from 'markupsafe'...
Andrew Fletcher
git clone git@bitbucket.org:{username}/{repo}.git And I was unceremoniously...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
Git filename error when running the git add command.  The error I'm receiving is error: open("content/vendor/composer/1ab38258/drupal-core-c84bab7/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_state_filter_base_table_filter_group_or.yml"): Filename too long error: unable to index file...
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout...
Andrew Fletcher
Working in an AWS ec2 environment, my goal is to access the server via...
Andrew Fletcher
I'm in an environment where the default branch is staging and I'm attempting to...
Andrew Fletcher
How do you remove a file from git? Use the command (rm) to remove files from...