Skip to main content
42
results
Andrew Fletcher
When Solr is displaying results on the site, first step is to log in the server and check its status ● solr.service - LSB: Controls Apache Solr as a Service Loaded: loaded (/etc/init.d/solr; generated) Active: failed (Result: exit-code) since Wed 2024-04-17 23:22:52 UTC; 6h ago Docs: man:systemd-sysv-generator(8) Apr 17 23:22:50 FRDC-Drupal-PROD systemd[1]: Starting LSB: Controls Apache Solr as a Service... Apr 17 23:22:51 FRDC-Drupal-PROD su[750]: (to solr) root on none Apr 17...
Andrew Fletcher
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial...
Andrew Fletcher
In many terminal text editors, you use find command as reference in Terminal...
Andrew Fletcher
In an environment that is running Ubuntu 20.02 Nginx Solr   The default...
Andrew Fletcher
You can perform the following steps: Check Apache Modules Apache Struts 2 is...
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
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
To use OpenAI to summarise text from a PDF using Python 3.11.6, you'll first...
Andrew Fletcher
Permission error Traceback (most recent call last): File...
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
To set an environment variable on Ubuntu, can be achieved via a few options....
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
Adding an SSL wildcard certificate to an Ubuntu server involves several steps....