Welcome!
how to use OpenAI to generate text completions and chat-style responses with GPT-3,chatGPT or GPT-4 through API how to use OpenAI to generate text completions and chat-style responses with GPT-3,chatGPT or GPT-4 through API
OpenAI is a research organization that aims to build safe and beneficial artificial intelligence systems. One of their m
How to control work flow in Streamlit with session state How to control work flow in Streamlit with session state
Streamlit is super easy to use to build some demo quickly. Streamlit is an open-source Python library that allows develo
How to bulk index data with Elastic Search engine How to bulk index data with Elastic Search engine
Previously, we have discussed how to index and query data using elasticsearch in PythonHere However, indexing large amou
vector search using Elastic Search,  index and search example using python requests library vector search using Elastic Search, index and search example using python requests library
Vector search has becoming very useful in deep learning applications. To search dense vectors in Elasticsearch 8.6, you
Easy and neat way to retry function after error in Python Easy and neat way to retry function after error in Python
Have you ever written a Python script that needed to handle unreliable network connections or flaky APIs? If so, you mig
Decoding JSON String When There are Single Quotes Decoding JSON String When There are Single Quotes
JSON (JavaScript Object Notation) is a popular format used for transmitting data between applications. It’s a lightweigh
Scratch Your Head? Be Careful with \r or Carriage Return when Printing Strings Scratch Your Head? Be Careful with \r or Carriage Return when Printing Strings
Have you ever encountered a situation where you printed a string in Python and found that it didn’t appear as expected?
Expanding Array Columns in Pandas DataFrames and wrap up in scikit-learn transformer Expanding Array Columns in Pandas DataFrames and wrap up in scikit-learn transformer
Sometimes, you may find yourself working with a Pandas DataFrame that contains a column of arrays with the same length.
Adding progress bars and parallelize tasks in Python Adding progress bars and parallelize tasks in Python
use tqdm and pqdm in Python to add progress bars to your code and parallelize tasks. Projects in Python often involve lo
Difference between `json` and `data` parameter of the HTTP POST Requests with JSON Data in Python using the Requests Library Difference between `json` and `data` parameter of the HTTP POST Requests with JSON Data in Python using the Requests Library
HTTP POST requests are a common way to send data to web servers from client applications. When sending JSON data as the
How to convert CURL to python requests and vice versa How to convert CURL to python requests and vice versa
curl and Python requests are both powerful tools for sending HTTP requests. While curl is a command-line tool that allow
How to Prettify and Visualize JSON Data in Python How to Prettify and Visualize JSON Data in Python
JSON (JavaScript Object Notation) is a lightweight data interchange format that is widely used in web applications and A
14 / 16