You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from langchain.llms import OpenAI
|
|
|
|
OPENAI_API = "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"
|
|
|
|
|
|
llm = OpenAI(model_name="text-davinci-003", openai_api_key=OPENAI_API)
|
|
msg = llm("explain large language models in one sentance")
|
|
print(msg)
|
|
|