mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-26 15:51:05 +00:00
7 lines
194 B
Python
7 lines
194 B
Python
|
|
from langchain.llms import OpenAI
|
|
|
|
llm = OpenAI(temperature=0.9,model_name="gpt-3.5-turbo")
|
|
text = "What would be a good company name for a company that makes colorful socks?"
|
|
print(llm(text))
|