Spaces:
Sleeping
Sleeping
williamagyapong
commited on
Update utility.py
Browse files- utility.py +3 -3
utility.py
CHANGED
@@ -24,14 +24,14 @@ openai.api_key = o_api_key
|
|
24 |
db = firestore.Client.from_service_account_json("firestore-key.json")
|
25 |
|
26 |
client = openai.OpenAI(
|
27 |
-
api_key=os.environ.get("
|
28 |
base_url="https://api.sambanova.ai/v1",
|
29 |
)
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
-
sambaverse_api_key = os.environ.get("
|
35 |
|
36 |
|
37 |
llm = ChatSambaNovaCloud(
|
@@ -100,7 +100,7 @@ def generateResponse(prompt,model='Meta-Llama-3.1-70B-Instruct'):
|
|
100 |
"""
|
101 |
|
102 |
sample_multi_transaction_template = """
|
103 |
-
The information provided indicates that you want to
|
104 |
|
105 |
*Extracted Information*:
|
106 |
|
|
|
24 |
db = firestore.Client.from_service_account_json("firestore-key.json")
|
25 |
|
26 |
client = openai.OpenAI(
|
27 |
+
api_key=os.environ.get("SAMBANOVA_API_KEY"),
|
28 |
base_url="https://api.sambanova.ai/v1",
|
29 |
)
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
+
sambaverse_api_key = os.environ.get("SAMBANOVA_API_KEY")
|
35 |
|
36 |
|
37 |
llm = ChatSambaNovaCloud(
|
|
|
100 |
"""
|
101 |
|
102 |
sample_multi_transaction_template = """
|
103 |
+
The information provided indicates that you want to *create/record* a new transaction.
|
104 |
|
105 |
*Extracted Information*:
|
106 |
|