Skip to content

Instantly share code, notes, and snippets.

@Barqawiz
Created August 12, 2023 19:47
Show Gist options
  • Save Barqawiz/c170aaeddb08372e159e4e640073acfe to your computer and use it in GitHub Desktop.
Save Barqawiz/c170aaeddb08372e159e4e640073acfe to your computer and use it in GitHub Desktop.
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