4 comments

[ 3.0 ms ] story [ 17.5 ms ] thread
submission title has been edited and is misleading

this makes it sound like I can enter a question and see the response

The real title is "We asked Bard and ChatGPT the same questions. Here's what they said."

The real content is (4) examples the author picked

There are four examples in the first category (imagination), there are five more categories with lots of other examples.

Currently, there's no API for Gemini Pro, so you need to use bard.google.com to ask it questions.

> 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" ...