Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agentplatform/rag/rag_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ def add_inline_citations_and_references(
)

rag_model = GenerativeModel(
model_name="gemini-2.5-pro-preview-05-06", tools=[rag_retrieval_tool]
model_name="gemini-3.8-flash", tools=[rag_retrieval_tool]
)
response = rag_model.generate_content("Why is the sky blue?")

Expand Down
4 changes: 2 additions & 2 deletions agentplatform/rag/rag_retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ def retrieval_query(
vector_distance_threshold=0.5
),
ranking=agentplatform.rag.Ranking(
llm_ranker=rag.LlmRanker(
model_name="gemini-2.5-flash"
llm_ranker=agentplatform.rag.LlmRanker(
model_name="gemini-3.8-flash"
)
)
)
Expand Down
2 changes: 1 addition & 1 deletion agentplatform/rag/rag_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(
),
ranking=vertex.rag.Ranking(
llm_ranker=agentplatform.rag.LlmRanker(
model_name="gemini-1.5-flash-002"
model_name="gemini-3.8-flash"
)
)
)
Expand Down
2 changes: 1 addition & 1 deletion vertexai/rag/rag_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ def add_inline_citations_and_references(
)

rag_model = GenerativeModel(
model_name="gemini-2.5-pro-preview-05-06", tools=[rag_retrieval_tool]
model_name="gemini-3.8-flash", tools=[rag_retrieval_tool]
)
response = rag_model.generate_content("Why is the sky blue?")

Expand Down
2 changes: 1 addition & 1 deletion vertexai/rag/rag_retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def retrieval_query(
),
ranking=vertex.rag.Ranking(
llm_ranker=vertexai.rag.LlmRanker(
model_name="gemini-1.5-flash-002"
model_name="gemini-3.8-flash"
)
)
)
Expand Down
2 changes: 1 addition & 1 deletion vertexai/rag/rag_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(
),
ranking=vertex.rag.Ranking(
llm_ranker=vertexai.rag.LlmRanker(
model_name="gemini-1.5-flash-002"
model_name="gemini-3.8-flash"
)
)
)
Expand Down
Loading