Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def make_call(data):
|
|
35 |
api_key=api,
|
36 |
) # Configure the model with the API key
|
37 |
# query = st.text_input("Enter your query")
|
38 |
-
prmptquery= f"Answer this query in short with wisdom, love and compassion, in context to bhagwat geeta, provide references of shloks from chapters of bhagwat geeta which is relevant to the query. keep the answer short, precise and simple. Query= {query}"
|
39 |
try:
|
40 |
response = client.chat.completions.create(
|
41 |
messages=[
|
|
|
35 |
api_key=api,
|
36 |
) # Configure the model with the API key
|
37 |
# query = st.text_input("Enter your query")
|
38 |
+
prmptquery= f"Answer this query in a short message with wisdom, love and compassion, in context to bhagwat geeta, that feels like chatting to a person and provide references of shloks from chapters of bhagwat geeta which is relevant to the query. keep the answer short, precise and simple. Query= {query}"
|
39 |
try:
|
40 |
response = client.chat.completions.create(
|
41 |
messages=[
|