From a3a49637555d052d725d7c80e398b2d1afc266e7 Mon Sep 17 00:00:00 2001 From: IntelligenzaArtificiale <108482353+IntelligenzaArtificiale@users.noreply.github.com> Date: Sun, 30 Apr 2023 16:32:30 +0200 Subject: [PATCH] add Custom Agent --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 74403f1..f3d29fb 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,11 @@ We then created a custom LLM wrapper with langchain, **which can be used as a pl from FreeLLM import ChatGPTAPI # Instantiate a ChatGPT object with your token -llm = ChatGPTAPI.ChatGPT((token="YOURTOKEN") +llm = ChatGPTAPI.ChatGPT((token="YOURTOKEN") #for start new chat + +# or if if u would to start from an existing chat +# llm = ChatGPT(token = "YOUR-TOKEN", conversation = "Add-XXXX-XXXX-Convesation-ID") + # Generate a response based on the given prompt response = llm("Hello, how are you?")