[falcon] new filepath name
Browse files
app.py
CHANGED
@@ -557,11 +557,11 @@ async def falcon(ctx, *, prompt: str):
|
|
557 |
if await safetychecks(ctx):
|
558 |
if ctx.channel.id == 1116089829147557999:
|
559 |
|
560 |
-
filepath = "
|
561 |
os.makedirs(filepath)
|
562 |
result = falconspace.predict(
|
563 |
prompt, # str in 'Type an input and press Enter' Textbox component
|
564 |
-
|
565 |
"The following is a conversation between a highly knowledgeable and intelligent AI assistant, called Falcon, and a human user, called User. In the following interactions, User and Falcon will converse in natural language, and Falcon will answer User's questions. Falcon was built to be respectful, polite and inclusive. Falcon was built by the Technology Innovation Institute in Abu Dhabi. Falcon will never decline to answer a question, and always attempts to give an answer that User would be satisfied with. It knows a lot, and always tells the truth. The conversation begins.", # str in 'Instructions' Textbox component
|
566 |
0.8, # int | float (numeric value between 0.1 and 2.0) in 'Temperature' Slider component
|
567 |
0.9, # int | float (numeric value between 0.1 and 0.99) in 'p (nucleus sampling)' Slider component
|
|
|
557 |
if await safetychecks(ctx):
|
558 |
if ctx.channel.id == 1116089829147557999:
|
559 |
|
560 |
+
filepath = "test1.json"
|
561 |
os.makedirs(filepath)
|
562 |
result = falconspace.predict(
|
563 |
prompt, # str in 'Type an input and press Enter' Textbox component
|
564 |
+
filepath, # str (filepath to JSON file) in 'parameter_9' Chatbot component
|
565 |
"The following is a conversation between a highly knowledgeable and intelligent AI assistant, called Falcon, and a human user, called User. In the following interactions, User and Falcon will converse in natural language, and Falcon will answer User's questions. Falcon was built to be respectful, polite and inclusive. Falcon was built by the Technology Innovation Institute in Abu Dhabi. Falcon will never decline to answer a question, and always attempts to give an answer that User would be satisfied with. It knows a lot, and always tells the truth. The conversation begins.", # str in 'Instructions' Textbox component
|
566 |
0.8, # int | float (numeric value between 0.1 and 2.0) in 'Temperature' Slider component
|
567 |
0.9, # int | float (numeric value between 0.1 and 0.99) in 'p (nucleus sampling)' Slider component
|