Skip to main content
22
results
Andrew Fletcher
Overview of the elements Set Up API Keys Obtain API keys for Pinecone and OpenAI. Store the keys securely. Consider using a credentials.py file (as mentioned in a previous response).   Install Required Libraries Install the necessary Python libraries, such as Pinecone's Python client (pinecone-client) and OpenAI's Python client (openai). pip install pinecone-client openai  Create a Language Model Chain Use OpenAI's language model (e.g., GPT-4) to understand and process...
Andrew Fletcher
Finalising a deployment to Drupal 10 and reviewing the latest log...
Andrew Fletcher
As you're using Bootstrap 5 and applying a style for the hover state of an...
Andrew Fletcher
The error message "RuntimeError: Directory 'static/' does not exist" typically...
Andrew Fletcher
It seems like you're using the CharacterTextSplitter class from the tiktoken...
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
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python...
Andrew Fletcher
A summary of Node package commands Short cut commands npm install...
Andrew Fletcher
  Set up your server Begin by cleaning up your server environment.  Do...
Andrew Fletcher
  Install the CKAN package Begin by cleaning up your server environment....
Andrew Fletcher
If you're planning to create extensions, generating CKAN from source is the preferred option.  However, even if you have installed from package, you can make adjustments to creating extensions.   Set up your server Begin by cleaning up your server environment.  Do this by updating Ubuntu’s package index: sudo apt update && sudo apt upgrade -yNow install the packages required by CKAN (which includes git, which will allow you to install CKAN extensions): sudo apt-get install...
Andrew Fletcher
CKAN extensions - adding to your installation   Following the information...
Andrew Fletcher
Updating NPM packages using npm update and I'm seeing the following response npm...
Andrew Fletcher
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
Reviewing CKAN extensions and listing the extensions that have been created /...