Chris Alexiuk
commited on
Commit
·
4828f02
1
Parent(s):
59f6580
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,8 @@
|
|
5 |
import openai #importing openai for API usage
|
6 |
import chainlit as cl #importing chainlit for our app
|
7 |
from chainlit.input_widget import Select, Switch, Slider #importing chainlit settings selection tools
|
|
|
|
|
8 |
|
9 |
# You only need the api key inserted here if it's not in your .env file
|
10 |
#openai.api_key = "YOUR_API_KEY"
|
|
|
5 |
import openai #importing openai for API usage
|
6 |
import chainlit as cl #importing chainlit for our app
|
7 |
from chainlit.input_widget import Select, Switch, Slider #importing chainlit settings selection tools
|
8 |
+
from chainlit.prompt import Prompt, PromptMessage #importing prompt tools
|
9 |
+
from chainlit.playground.providers import ChatOpenAI #importing ChatOpenAI tools
|
10 |
|
11 |
# You only need the api key inserted here if it's not in your .env file
|
12 |
#openai.api_key = "YOUR_API_KEY"
|