Policy Synth is a Typescript class library for creating multi-scale AI agent logic flows, API's and state of the art realtime web applications. The drive behind the project is to help governments and citizens make better decisions together by seamlessly integrating collective and artificial intelligence.
Task Description
Update src/models/baseChatModel.ts, src/models/clauseOpusChat.ts, src/models/azureOpenAiChat.ts and src/models/openAiChat.ts to use this.modelName
Task Instructions
Change src/models/baseChatModel.ts to add a modelName string attribute string | TiktokenModel and should be set in the constructor
Change src/models/clauseOpusChat.ts to default to "claude-3-opus-20240229" for this.modelName
Change src/models/azureOpenAiChat.ts to default to "gpt-4o"
Change src/models/openAiChat.ts also to default to "gpt-4o"
Change src/models/googleGeminiChat.ts to default to "gemini-pro" for this.modelName in its constructor but use can provide their own, same for the other models
Task Description Update src/models/baseChatModel.ts, src/models/clauseOpusChat.ts, src/models/azureOpenAiChat.ts and src/models/openAiChat.ts to use this.modelName
Task Instructions