News for hackers. Stuff that matters.
Re:Compare how Gemini Pro and GPT 3.5 answer the same questions by verdverm on Thursday December 14, 2023 @04:28PM (#38647499)
> Currently, there's no API for Gemini Pro

This is incorrect, you can use the playground here: https://console.cloud.google.com/vertex-ai/generative/langua...

They have buttons to get the code version for calling the API in multiple programming languages

    API_ENDPOINT="us-central1-aiplatform.googleapis.com"
    PROJECT_ID="my-project"
    MODEL_ID="gemini-pro"
    LOCATION_ID="us-central1"

    curl \
    -X POST \
    -H "Authorization: Bearer $(gcloud auth print-access-token)" \
    -H "Content-Type: application/json" \
    "https://${API_ENDPOINT}/v1beta1/projects/${PROJECT_ID}/locations/${LOCATION_ID}/publishers/google/models/${MODEL_ID}:generateContent" ...
Re:Compare how Gemini Pro and GPT 3.5 answer the same questions by jellyberg on Thursday December 14, 2023 @05:29PM (#38648253)
Ah thank you, I missed this!