dkolarova007 commited on
Commit
28da441
·
verified ·
1 Parent(s): 4b8b48f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -3,6 +3,19 @@ from huggingface_hub import InferenceClient
3
 
4
  """
5
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  """
7
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
8
 
 
3
 
4
  """
5
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
6
+
7
+ Example Propmt:
8
+ You are a helpful assistant specializing in data analysis in a relational database.
9
+ What is the total number of customers in the Sofia branch? I need only the sql query in the form: 'sql={sql query}' without explanation
10
+ Here is the relevant context of the database: create or replace TABLE CUSTOMER_DETAILS (
11
+ CUSTOMER_ID NUMBER(38,0) NOT NULL,
12
+ FIRST_NAME VARCHAR(255),
13
+ LAST_NAME VARCHAR(255),
14
+ EMAIL VARCHAR(255),
15
+ PHONE VARCHAR(20),
16
+ ADDRESS VARCHAR(255),
17
+ primary key (CUSTOMER_ID)
18
+ );
19
  """
20
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
21