I have acess to a model from groq import Groq client = Groq() completion =…
- User
I have acess to a model from groq import Groq
client = Groq() completion = client.chat.completions.create( model="llama-3.2-90b-vision-preview", messages=[ { "role": "user", "content": [ { "type": "text", "text": "Describe image as detailed as possible" }, { "type": "image_url", "image_url": { "url": "${IMAGE_DATA_URL}" } } ] } ], temperature=1, max_tokens=1024, top_p=1, stream=True, stop=None, )
for chunk in completion: print(chunk.choices[0].delta.content or "", end="")
example api code. make python script when i press f4 it takes a screenshot and asks the model whats in there. im on mac. also make the screenshot have a bit reduced quality
- Assistant