feat(groq-ai): initial implementation using groq-sdk#40
feat(groq-ai): initial implementation using groq-sdk#40omeraplak merged 5 commits intoVoltAgent:mainfrom
Conversation
|
Hey @omeraplak can you please check out the initial implementation and tell me if you see anything out of place? |
|
Hey @TheEmi , |
|
Hey! If you’d like to add a changeset, that would be awesome but no pressure at all. Here’s a quick guide on how to create one: Thanks again for the contribution ⚡ |
|
Hey @TheEmi , Would be awesome if you could also: |
|
Sounds good! I'll add the changeset and update the docs and examples! Thx |
|
Please take a look at the changes again @omeraplak |
|
Thank you @TheEmi . I’ll review it shortly and get back to you soon. ⚡ |
|
|
||
| // Instantiate the provider, optionally passing the API key to overwrite the default GROQ_API_KEY | ||
| const groqProvider = new GroqProvider({ | ||
| //apiKey: process.env.GROQ_API_KEY, |
There was a problem hiding this comment.
| //apiKey: process.env.GROQ_API_KEY, | |
| apiKey: process.env.GROQ_API_KEY, |
|
Thank you again @TheEmi for your contribution! 🙌 |
Initial implementation of GroqProvider class
This includes:
GroqProviderclass implementingLLMProvider.Integration with the
groq-sdk.Implementation of
generateText,streamText,generateObject.Stub for
streamObject.Basic build (tsup.config.ts, tsconfig.json) and package (package.json) setup copied from
VercelAIProvider.