Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
afirstenberg committed Jun 8, 2023
1 parent c7054be commit db5d295
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/src/llms/googlevertexai-code-bison.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { GoogleVertexAICode } from "langchain/llms/googlevertexai";
export const run = async () => {
const model = new GoogleVertexAICode({
model: "code-bison",
maxOutputTokens: 2048
maxOutputTokens: 2048,
});
const res = await model.call(
"A Javascript function that counts from 1 to 10."
Expand Down
4 changes: 1 addition & 3 deletions examples/src/llms/googlevertexai-code-gecko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import { GoogleVertexAICode } from "langchain/llms/googlevertexai";
*/
export const run = async () => {
const model = new GoogleVertexAICode();
const res = await model.call(
"for (let co=0;"
);
const res = await model.call("for (let co=0;");
console.log({ res });
};
1 change: 0 additions & 1 deletion langchain/src/llms/googlevertexai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ export class GoogleVertexAI extends BaseLLM implements GoogleVertexAITextInput {
* Google Cloud project using Vertex AI.
*/
export class GoogleVertexAICode extends GoogleVertexAI {

model = "code-gecko";

temperature = 0.2;
Expand Down

0 comments on commit db5d295

Please sign in to comment.