Skip to content

Commit

Permalink
added text-unicon to PALM family
Browse files Browse the repository at this point in the history
  • Loading branch information
lkuligin committed Oct 30, 2024
1 parent 4f37fac commit 93db430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/vertexai/langchain_google_vertexai/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def _missing_(cls, value: Any) -> "GoogleModelFamily":
return GoogleModelFamily.CODEY
if "medlm-medium@latest" in model_name:
return GoogleModelFamily.GEMINI
if "bison" in model_name or "medlm" in model_name:
if "bison" in model_name or "medlm" in model_name or "unicorn" in model_name:
return GoogleModelFamily.PALM
return GoogleModelFamily.GEMINI

Expand Down

0 comments on commit 93db430

Please sign in to comment.