2424 get_async_library ,
2525)
2626from ._version import __version__
27- from .resources import models , embeddings
27+ from .resources import files , models , batches , embeddings
2828from ._streaming import Stream as Stream , AsyncStream as AsyncStream
2929from ._exceptions import GroqError , APIStatusError
3030from ._base_client import (
@@ -43,6 +43,8 @@ class Groq(SyncAPIClient):
4343 embeddings : embeddings .Embeddings
4444 audio : audio .Audio
4545 models : models .Models
46+ batches : batches .Batches
47+ files : files .Files
4648 with_raw_response : GroqWithRawResponse
4749 with_streaming_response : GroqWithStreamedResponse
4850
@@ -104,6 +106,8 @@ def __init__(
104106 self .embeddings = embeddings .Embeddings (self )
105107 self .audio = audio .Audio (self )
106108 self .models = models .Models (self )
109+ self .batches = batches .Batches (self )
110+ self .files = files .Files (self )
107111 self .with_raw_response = GroqWithRawResponse (self )
108112 self .with_streaming_response = GroqWithStreamedResponse (self )
109113
@@ -217,6 +221,8 @@ class AsyncGroq(AsyncAPIClient):
217221 embeddings : embeddings .AsyncEmbeddings
218222 audio : audio .AsyncAudio
219223 models : models .AsyncModels
224+ batches : batches .AsyncBatches
225+ files : files .AsyncFiles
220226 with_raw_response : AsyncGroqWithRawResponse
221227 with_streaming_response : AsyncGroqWithStreamedResponse
222228
@@ -278,6 +284,8 @@ def __init__(
278284 self .embeddings = embeddings .AsyncEmbeddings (self )
279285 self .audio = audio .AsyncAudio (self )
280286 self .models = models .AsyncModels (self )
287+ self .batches = batches .AsyncBatches (self )
288+ self .files = files .AsyncFiles (self )
281289 self .with_raw_response = AsyncGroqWithRawResponse (self )
282290 self .with_streaming_response = AsyncGroqWithStreamedResponse (self )
283291
@@ -392,6 +400,8 @@ def __init__(self, client: Groq) -> None:
392400 self .embeddings = embeddings .EmbeddingsWithRawResponse (client .embeddings )
393401 self .audio = audio .AudioWithRawResponse (client .audio )
394402 self .models = models .ModelsWithRawResponse (client .models )
403+ self .batches = batches .BatchesWithRawResponse (client .batches )
404+ self .files = files .FilesWithRawResponse (client .files )
395405
396406
397407class AsyncGroqWithRawResponse :
@@ -400,6 +410,8 @@ def __init__(self, client: AsyncGroq) -> None:
400410 self .embeddings = embeddings .AsyncEmbeddingsWithRawResponse (client .embeddings )
401411 self .audio = audio .AsyncAudioWithRawResponse (client .audio )
402412 self .models = models .AsyncModelsWithRawResponse (client .models )
413+ self .batches = batches .AsyncBatchesWithRawResponse (client .batches )
414+ self .files = files .AsyncFilesWithRawResponse (client .files )
403415
404416
405417class GroqWithStreamedResponse :
@@ -408,6 +420,8 @@ def __init__(self, client: Groq) -> None:
408420 self .embeddings = embeddings .EmbeddingsWithStreamingResponse (client .embeddings )
409421 self .audio = audio .AudioWithStreamingResponse (client .audio )
410422 self .models = models .ModelsWithStreamingResponse (client .models )
423+ self .batches = batches .BatchesWithStreamingResponse (client .batches )
424+ self .files = files .FilesWithStreamingResponse (client .files )
411425
412426
413427class AsyncGroqWithStreamedResponse :
@@ -416,6 +430,8 @@ def __init__(self, client: AsyncGroq) -> None:
416430 self .embeddings = embeddings .AsyncEmbeddingsWithStreamingResponse (client .embeddings )
417431 self .audio = audio .AsyncAudioWithStreamingResponse (client .audio )
418432 self .models = models .AsyncModelsWithStreamingResponse (client .models )
433+ self .batches = batches .AsyncBatchesWithStreamingResponse (client .batches )
434+ self .files = files .AsyncFilesWithStreamingResponse (client .files )
419435
420436
421437Client = Groq
0 commit comments