Untitled
Anonymous
plain_text
10/25/2023 5:00 PM
336 B
20
Indexable
```python
import openai
openai.api_key = 'your-api-key' # Replace with your API key
response = openai.Completion.create(
engine="davinci",
prompt="Translate the following English text to French: 'Hello, how are you?'",
max_tokens=50
)
Editor is loading...