Browse Source

tiny type fix

Falko Schindler 1 year ago
parent
commit
cd6246cf55
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/chat_with_ai/main.py

+ 1 - 1
examples/chat_with_ai/main.py

@@ -10,7 +10,7 @@ OPENAI_API_KEY = 'not-set'  # TODO: set your OpenAI API key here
 
 
 llm = ConversationChain(llm=ChatOpenAI(model_name='gpt-3.5-turbo', openai_api_key=OPENAI_API_KEY))
 llm = ConversationChain(llm=ChatOpenAI(model_name='gpt-3.5-turbo', openai_api_key=OPENAI_API_KEY))
 
 
-messages: List[Tuple[str, str, str]] = []
+messages: List[Tuple[str, str]] = []
 thinking: bool = False
 thinking: bool = False