참고소스 수정본

This commit is contained in:
LASTA_DEV01\lasta
2026-05-12 19:40:31 +09:00
parent 0f34a451fc
commit 2e9204243d
8708 changed files with 3259488 additions and 869 deletions

View File

@@ -0,0 +1,15 @@
from neo4j_graphrag.llm import LLMResponse, VertexAILLM
from vertexai.generative_models import GenerationConfig
generation_config = GenerationConfig(temperature=1.0)
llm = VertexAILLM(
model_name="gemini-2.0-flash-001",
generation_config=generation_config,
# add here any argument that will be passed to the
# vertexai.generative_models.GenerativeModel client
)
res: LLMResponse = llm.invoke(
"say something",
system_instruction="You are living in 3000 where AI rules the world",
)
print(res.content)