Open in app

Sign In

Write

Sign In

George Pipis
George Pipis

1K Followers

Home

Lists

About

Aug 11

How to Connect Wikipedia with ChatGPT and LangChain

ChatGPT integration with Wikipedia using LangChain — ChatGPT’s knowledge is limited to its training data, which has the cutoff year of 2021. This implies that we cannot extract information for cases that have occurred after the cutoff year. However, we can integrate Wikipedia with ChatGPT. We will go straightforward with an example. …

ChatGPT

2 min read

How to Connect Wikipedia with ChatGPT and LangChain
How to Connect Wikipedia with ChatGPT and LangChain
ChatGPT

2 min read


Aug 3

How to Save and Load Prompt Templates with LangChain

Did you know that you can save and load your prompts? — In a previous tutorial, we showed you how to work with LangChain Prompt Templates. Clearly, the prompt templates allow us to automate some tasks and to work much more efficiently. The good news is that you can save your templates as JSON objects, allowing you to use them later or…

Langchain

2 min read

How to Save and Load Prompt Templates with LangChain
How to Save and Load Prompt Templates with LangChain
Langchain

2 min read


Aug 3

How to Generate Structured Outputs of JSON with Lists And Dictionaries with LangChain

How to generate complicated structured outputs with LangChain — The output of the LLMs is plain text. However, many times we want to get structured responses in order to be able to analyze them better. The LangChain library contains several output parser classes that can structure the responses of the LLMs. …

Langchain

5 min read

How to Generate Structured Outputs of JSON with Lists And Dictionaries with LangChain
How to Generate Structured Outputs of JSON with Lists And Dictionaries with LangChain
Langchain

5 min read


Aug 2

How to Work with Date Range SQL Parameters in Sigma Computing

A practical example of using Date Range Control Elements in SQL queries as parameters — Sigma Computing is a cloud analytics platform that uses a familiar spreadsheet interface to give business users instant access to explore and get insights from their cloud data warehouse. In this tutorial, I will share with you my experience with Date Range parameters that I found really challenging. Sigma has…

Business Intelligence

3 min read

How to Work with Date Range SQL Parameters in Sigma Computing
How to Work with Date Range SQL Parameters in Sigma Computing
Business Intelligence

3 min read


Jul 26

Get Started With Langchain Prompt Templates

Practical examples of Langchain prompt templates in Python — In the majority of cases, LLM applications don’t directly input user input into an LLM. Instead, they utilize a larger piece of text known as a “prompt template” to include the user input along with additional context related to the specific task. They encapsulate all the necessary logic to transform…

OpenAI

4 min read

Get Started With Langchain Prompt Templates
Get Started With Langchain Prompt Templates
OpenAI

4 min read


Jul 13

The Benjamini-Hochberg Procedure (FDR) And P-Value Adjusted Explained

How to calculate the P-Value Adjusted in R, Python and Excel — In this tutorial, we will show you how to apply the Benjamini-Hochberg procedure in order to calculate the False Discovery Rate (FDR) and the P-Value Adjusted. The Benjamini-Hochberg procedure, also known as the False Discovery Rate (FDR) procedure, is a statistical method used in multiple hypothesis testing to control the…

Statistics

4 min read

The Benjamini-Hochberg Procedure (FDR) And P-Value Adjusted Explained
The Benjamini-Hochberg Procedure (FDR) And P-Value Adjusted Explained
Statistics

4 min read


Jun 20

How to read CSV in Pandas with Column Names or Regular Expressions

A practical example of how to load columns based on columns names or using regex — A common scenario is to work with massive datasets consisting of many columns which are not needed for our analysis. Usually, we tend to load the whole dataset and then keep the columns of our interest. Let’s see a more efficient way to load only the columns of our interest. …

Python

3 min read

How to read CSV in Pandas with Column Names or Regular Expressions
How to read CSV in Pandas with Column Names or Regular Expressions
Python

3 min read


May 5

How to Connect External Data with GPT-3 Using LlamaIndex

A gentle introduction to how to connect custom external data with LLM using LlmaIndex — In this tutorial, we will show you how to connect external data with OpenAI GPT3 using LlamaIndex. For this example, we will connect the book Alice’s Adventures in Wonderland, by Lewis Carroll. …

Llamaindex

6 min read

How to Connect External Data with GPT-3 Using LlamaIndex
How to Connect External Data with GPT-3 Using LlamaIndex
Llamaindex

6 min read


May 4

Analyze Pandas Dataframes With OpenAI and LlamaIndex

Did you know that you can pass a pandas data frame into OpenAI — LlamaIndex is used to connect LLMs with external data. In this tutorial, we will show you how to use the OpenAI GPT-3 text-davinci-003 model to query structured data and more particularly pandas dataframes. Installation Using pip you can install the LlamaIndex library as follows: pip install llama-index Query Pandas Dataframes with LlamaIndex

Llamaindex

3 min read

Analyze Pandas Dataframes With OpenAI and LlamaIndex
Analyze Pandas Dataframes With OpenAI and LlamaIndex
Llamaindex

3 min read


Apr 21

Unlock the Power of ChatGPT with the Python OpenAI Chat API

A practical example of how to interact with the OpenAI Chat API in Python — Most of us are familiar with the ChatGPT UI, and we are impressed with the stunning results that it generates. Clearly, this is a revolution in the AI world. The UI of the ChatGPT is really friendly, and it allows us to start experimenting with different prompts, but in order…

OpenAI

7 min read

Unlock the Power of ChatGPT with the Python OpenAI Chat API
Unlock the Power of ChatGPT with the Python OpenAI Chat API
OpenAI

7 min read

George Pipis

George Pipis

1K Followers

Sr. Director, Data Scientist @ Persado | Co-founder of the Data Science blog: https://predictivehacks.com/

Following
  • ODSC - Open Data Science

    ODSC - Open Data Science

  • Cristian Scutaru

    Cristian Scutaru

  • Kirshi Yin

    Kirshi Yin

  • Ram Vegiraju

    Ram Vegiraju

  • Paul Pallaghy, PhD

    Paul Pallaghy, PhD

See all (378)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams