A few days ago I used the api to get some responses from llama3 and it worked like a charm, now I tried to get the responses using a loop and didn't work, not even single responses is working now. My code is
from meta_ai_api import MetaAI
abacatada = ['flu', 'roundworm', 'AIDS', 'hepatitis', 'threadworms']
ai = MetaAI()
for i in range(len(abacatada)):
response = ai.prompt(message=f"I will say something, only answer me if one of the following: Worm, Disease. How would you classify: {abacatada[i]}")
print(response['message'])
Using llama3 direct from the browser is working, I am using jupyter.
A few days ago I used the api to get some responses from llama3 and it worked like a charm, now I tried to get the responses using a loop and didn't work, not even single responses is working now. My code is
Using llama3 direct from the browser is working, I am using jupyter.