File size: 226 Bytes
5bd6c7f
 
 
b192bce
5bd6c7f
 
b192bce
 
5bd6c7f
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/python3

from langchain.llms import OpenAI
import langchain
import os

print(langchain.__version__)

llm = OpenAI(temperature=0.9)

text = "Hi, Could you help me choose a Chinese name? For example"
print(llm(text))