Created
August 12, 2023 19:47
-
-
Save Barqawiz/c170aaeddb08372e159e4e640073acfe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const openaiChat = { | |
apiKey: openaiKey, | |
provider: SupportedChatModels.OPENAI, | |
type: 'chat', | |
model: 'gpt-4', | |
maxTokens: 50 | |
}; | |
const cohereCompletion = { | |
apiKey: cohereKey, | |
provider: SupportedLangModels.COHERE, | |
type: 'completion', | |
model: 'command', | |
maxTokens: 50 | |
}; | |
const llamaChat = { | |
apiKey: ReplicateKey, | |
provider: SupportedChatModels.REPLICATE, | |
type:'chat', | |
model: '70b-chat', | |
maxTokens: 50 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment