Archive for February, 2025

Interacting with OpenAI API using Golang

Written by on February 4, 2025 in Golang, OpenAI, Programming with 0 Comments
Interacting with OpenAI API using Golang

I normally use Python’s LangChain framework to communicate with OpenAI API. For a change, I wanted to see if Go has any libraries to access OpenAI and other LLMs. Interestingly I found that LangChainGo is a port of LangChain for Golang! I decided to implement a simple Completetion request in both streaming and non-streaming modes. Turned […]

Continue Reading

Top