Strvm / meta-ai-api

Llama 3 API 70B & 405B (MetaAI Reverse Engineered)
265 stars 50 forks source link

Was unable to obtain a valid response from Meta AI #15

Closed Gusklin closed 6 months ago

Gusklin commented 6 months ago

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.

Gusklin commented 6 months ago

Now you have to login using Facebook, that was not a problem 2 weeks ago, meta must have changed something.