SimplerLLM
SimplerLLM copied to clipboard
Failed after 3 attempts due to: Connection error.
Installed and run simple example but facing this issue.
Code Snippet:
from SimplerLLM.language.llm import LLM, LLMProvider
hello = 'Hello'
llm_instance = LLM.create(provider=LLMProvider.OPENAI, model_name="gpt-3.5-turbo")
try:
ai_response = llm_instance.generate_response(prompt=hello, max_tokens=4096)
print("AI response received successfully:", ai_response)
except Exception as e:
print("Error generating AI response:", str(e))