Skip to content

Commit 42dbbf8

Browse files
committed
vertexai to chatvertexai
1 parent 957fc67 commit 42dbbf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paper/paper.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ To streamline assessments for text generation use cases, the `AutoEval` class co
9494

9595

9696
```python
97-
from langchain_google_vertexai import VertexAI
97+
from langchain_google_vertexai import ChatVertexAI
9898
from langfair.auto import AutoEval
9999

100-
llm = VertexAI(model_name='gemini-pro')
100+
llm = ChatVertexAI(model_name='gemini-pro')
101101
auto_object = AutoEval(prompts=prompts, langchain_llm=llm)
102102
results = await auto_object.evaluate()
103103
```

0 commit comments

Comments
 (0)