Skip to content

Commit

Permalink
Clear up models names
Browse files Browse the repository at this point in the history
  • Loading branch information
delasy committed Oct 23, 2024
1 parent 0e67ad5 commit 1b9e6c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions convex/constants.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
export const AI_MODELS = [
{
model: "gemini-1.5-pro",
name: "Gemini - 1.5 Pro",
name: "Google - Gemini 1.5 Pro",
},
{
model: "gpt-4o",
name: "OpenAI - 4o Mini",
name: "OpenAI - GPT-4o",
},
{
model: "claude-3.5-sonnet",
name: "Claude 3.5 Sonnnet",
name: "Anthropic - Claude 3.5 Sonnet",
},
{
model: "perplexity-llama-3.1",
name: "Perplextity AI",
name: "Perplexity - Llama 3.1",
},
];

Expand Down
2 changes: 1 addition & 1 deletion models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ZombieSurvival } from "../simulators/zombie-survival";
import { claude35sonnet } from "./claude-3-5-sonnet";
import { gemini15pro } from "./gemini-1.5-pro";
import { gpt4o } from "./gpt-4o";
import { perplexityLlama } from "./perplexity-llama";
import { perplexityLlama31 } from "./perplexity-llama-3.1";

export type ModelHandler = (
prompt: string,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const GameResponseSchema = z.object({
boxCoordinates: z.array(z.array(z.number())),
});

export const perplexityLlama: ModelHandler = async (
export const perplexityLlama31: ModelHandler = async (
prompt: string,
map: string[][],
) => {
Expand Down

0 comments on commit 1b9e6c1

Please sign in to comment.