Spaces:
Runtime error
Runtime error
Commit
·
199df2d
1
Parent(s):
6e20a36
changed api key gemini
Browse files
app.py
CHANGED
@@ -693,7 +693,7 @@ class LegalSearchSystem:
|
|
693 |
def __init__(
|
694 |
self,
|
695 |
pinecone_api_key: str = "pcsk_43sajZ_MjcXR2yN5cAcVi8RARyB6i3NP3wLTnTLugbUcN9cUU4q5EfNmuwLPkmxAvykk9o",
|
696 |
-
google_api_key: str = "
|
697 |
environment: str = "us-east-1",
|
698 |
index_name: str = "pdf-embeddings",
|
699 |
dimension: int = 384,
|
@@ -1011,7 +1011,7 @@ def create_interface(graph_search_system: EnhancedLegalSearchSystem):
|
|
1011 |
|
1012 |
if __name__ == "__main__":
|
1013 |
graph_search_system = EnhancedLegalSearchSystem(
|
1014 |
-
google_api_key="
|
1015 |
neo4j_url="neo4j+s://a63462d0.databases.neo4j.io",
|
1016 |
neo4j_username="neo4j",
|
1017 |
neo4j_password="nU8Ut5N8k7LmQzNPe7vUbpZxMirK8rHrmLuzPc2G_Zc"
|
|
|
693 |
def __init__(
|
694 |
self,
|
695 |
pinecone_api_key: str = "pcsk_43sajZ_MjcXR2yN5cAcVi8RARyB6i3NP3wLTnTLugbUcN9cUU4q5EfNmuwLPkmxAvykk9o",
|
696 |
+
google_api_key: str = "AIzaSyDWHGMd8a70RbL3EBenfUwimcAHjhvgM6M",
|
697 |
environment: str = "us-east-1",
|
698 |
index_name: str = "pdf-embeddings",
|
699 |
dimension: int = 384,
|
|
|
1011 |
|
1012 |
if __name__ == "__main__":
|
1013 |
graph_search_system = EnhancedLegalSearchSystem(
|
1014 |
+
google_api_key="AIzaSyDWHGMd8a70RbL3EBenfUwimcAHjhvgM6M",
|
1015 |
neo4j_url="neo4j+s://a63462d0.databases.neo4j.io",
|
1016 |
neo4j_username="neo4j",
|
1017 |
neo4j_password="nU8Ut5N8k7LmQzNPe7vUbpZxMirK8rHrmLuzPc2G_Zc"
|