This Rust code defines a simple struct called Coord and implements some methods for it. The Coord struct has two fields, x and y, representing coordinates in a two-dimensional space. Create the struct Make an implementation The Coord::new() function is a constructor method that creates a new Coord instance with initial values of x set […]
This article describes a Python script that leverages LangChain, Qdrant, and the GPT-3.5 Turbo model to perform question-answering on text data. The script combines various libraries to create an end-to-end pipeline for text retrieval and question answering. Overview The provided Python script showcases how to integrate multiple libraries to build a powerful question-answering system: Prerequisites […]
This article describes a Python script that demonstrates how to efficiently process text data, create embeddings, and upsert the embeddings into a Qdrant database using Python. Overview In today’s era of big data and machine learning, efficient text processing and vectorization are crucial for various natural language processing (NLP) tasks. The provided Python script showcases […]
Watched a video about Bitcoin but forgotten the name of it or what part of it you liked? With findthatbit.com you can search based upon meaning. If you remember a video was about bitcoin and there was talk of “seaside” property. Just search for “seaside” and you’ll get the link to where “miami beach” was […]
Upsert additional points with the next available index – add more vectors without recreating the collections. You’ll need to specify the next index, so here’s how to do it… Check Qdrant out here : https://qdrant.tech/documentation/quick-start/ Do the imports and and create the “client” Use client.get_collection() to retrieve the current status of the collection This will […]
Welcome to the Langchain tools & OpenAI with bs4 Rightmove data tutorial! In this video, we explore how to use Langchain tools in combination with OpenAI and BeautifulSoup4 (bs4) to extract and analyze data from Rightmove. Webscraping with a twist. Stay tuned to the end and there is a Streamlit implementation as well. Rightmove is […]
Introduction: In the age of advanced technology and artificial intelligence, ChatGPT has emerged as a game-changer, revolutionizing the way we interact with machines. As a language model developed by OpenAI, ChatGPT harnesses the power of deep learning to engage in conversational exchanges that closely resemble human-like responses. To fully utilize this incredible tool, it is […]