Spaces:
Sleeping
Sleeping
Update my_app/rag_graph/build_graph.py
Browse files
my_app/rag_graph/build_graph.py
CHANGED
|
@@ -17,7 +17,7 @@ def build_knowledge_graph(text: str) -> str:
|
|
| 17 |
password="password"
|
| 18 |
)
|
| 19 |
|
| 20 |
-
llm = GoogleGenerativeAI(model="gemini-
|
| 21 |
|
| 22 |
transformer = LLMGraphTransformer(llm=llm)
|
| 23 |
docs = [Document(page_content=text)]
|
|
|
|
| 17 |
password="password"
|
| 18 |
)
|
| 19 |
|
| 20 |
+
llm = GoogleGenerativeAI(model="gemini-2.5-flash", temperature=0.3)
|
| 21 |
|
| 22 |
transformer = LLMGraphTransformer(llm=llm)
|
| 23 |
docs = [Document(page_content=text)]
|