d3n7 / Langpain

Improved GPT-3.5 Agent (with tools) for GPT-3.5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Langpain

Improved GPT-3.5 Agent (with tools) for GPT-3.5

By default, the Langchain Chat Conversation Agent with GPT-3.5 fails very often at identifying when it should use a tool. This is unfortunate since GPT-3.5 is 10x cheaper than Davinci and 15-30x cheaper than GPT-4.

This is a solution: gptDiagram

Further explanation: https://www.youtube.com/watch?v=72KrhiRj68E

Installation

pip install openai langchain

Usage

python run.py

About

Improved GPT-3.5 Agent (with tools) for GPT-3.5


Languages

Language:Python 100.0%