MCPcopy
hub / github.com/andrewyng/aisuite / chat_completions_create

Method chat_completions_create

aisuite/providers/groq_provider.py:21–26  ·  view source on GitHub ↗
(self, model, messages, **kwargs)

Source from the content-addressed store, hash-verified

19 self.client = groq.Groq(**config)
20
21 def chat_completions_create(self, model, messages, **kwargs):
22 return self.client.chat.completions.create(
23 model=model,
24 messages=messages,
25 **kwargs # Pass any additional arguments to the Groq API
26 )

Callers 1

test_groq_providerFunction · 0.95

Calls 1

createMethod · 0.80

Tested by 1

test_groq_providerFunction · 0.76