We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7038c82 commit 3bf216cCopy full SHA for 3bf216c
.env
@@ -1,3 +1,3 @@
1
DATABASE=tasks
2
DBPASS=123456
3
-OPENAI_API_KEY=openai-key
+OPENAI_API_KEY=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
langchain_demo.py
@@ -8,7 +8,7 @@
8
9
# Simple LLM call Using LangChain
10
llm = OpenAI(model_name="text-davinci-003", openai_api_key=API_KEY)
11
-question = "Which language is used to create chatgpt ?"
+question = input("Enter question: ")
12
print(question, llm(question))
13
14
# Creating a prompt template and running the LLM chain
0 commit comments