mirror of https://github.com/sigoden/aichat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
374 B
Rust
14 lines
374 B
Rust
openai_compatible_client!(
|
|
GroqConfig,
|
|
GroqClient,
|
|
"https://api.groq.com/openai/v1",
|
|
[
|
|
// https://console.groq.com/docs/models
|
|
("llama3-8b-8192", "text", 8192),
|
|
("llama3-70b-8192", "text", 8192),
|
|
("llama2-70b-4096", "text", 4096),
|
|
("mixtral-8x7b-32768", "text", 32768),
|
|
("gemma-7b-it", "text", 8192),
|
|
]
|
|
);
|