With the rise of chatbots and voice assistants, there has been a lot of talk about the rise of conversational user interfaces (CUI).
CUIs allow users to interact with a system using natural language. The most common CUIs are chatbots and voice assistants.
CUIs are not new. They have been around for a long time. The first chatbot was created in 1966, and the first voice assistant was built in 1978.
After reading Andressen Horowitz’s article on LLM Architecture
I decided to look into Langchain. Langchain describes itself as a framework for developing applications powered by language models. I have been working with OpenAI for some time now
❓Why I decided to look into Langchain
- I’ve been working with OpenAI for some time now and I was intrigued that there are already frameworks for building applications powered by language models.
- One of the problems I’ve been working on is effectively testing and iterating models and I hoped that Langchain would help with that.
- We’re putting our models in production and we want to improve the performance of our models. I am anticpating increased complexity and I expected langchain to provide an opinionated way to manage that complexity.
🔗 Langchain as a framework
Langchain seems to have 2/3 languages they support; javascript/typescript and python. I looked at the python version
because I prefer to use python over javascript for data science stuff. Right now we use a mix of Go and Python but I was
open to switching to python if it made sense.