From 11d39b5ce1266a586f406f9ee436e38ddf8be213 Mon Sep 17 00:00:00 2001 From: Thyrst Date: Mon, 18 Nov 2024 13:26:31 +0100 Subject: [PATCH] fix OpenAI chat completion in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ec2d66..da9d975 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ basic completion without any prompt. This just wraps openAI api and adds a few e ```ts import OpenAI from "openai" -import { Langtail } from "langtail" +import { createOpenAIProxy } from "langtail/openai" const openai = new OpenAI({ apiKey: "",