Discussion about this post

User's avatar
Chris's avatar

I experienced the Claude API latency issue too and the better use case there is to move to Google Gemini Flash, its significantly faster and quality of responses is still very good. Here's some sample code:

from google import genai

from google.genai import types

# Create async client

client = genai.Client(

api_key=settings.GEMINI_API_KEY,

http_options={"api_version": "v1alpha"},

)

model = "gemini-2.0-flash-exp"

# Construct prompt

prompt_text = " "

gemini_prompt = {

"parts": [{"text": prompt_text}]

}

# Set up generation config to request both text and image output

generation_config = types.GenerateContentConfig(

response_modalities=["Text", "Image"],

temperature=0.7,

max_output_tokens=2048

)

# Use the async version of generate_content

response = await client.aio.models.generate_content(

model=model,

contents=gemini_prompt,

config=generation_config

)

Expand full comment
Daniel Jelski's avatar

"Professor" used to be a high prestige profession because they were experts in their field and a fount of knowledge. Today they're losing prestige because AI is more expert than they are.

But a major reason "education" works is because it transfers prestige from professor to student. The more prestigious the professor, the more the student gets out of the relationship. While AI can convey the knowledge, it can't impart prestige. Thus students will pay much less attention to AI than to a prestigious professor.

So "professor" is dying out as a profession because there no longer much prestige attached to the job. But if education means anything, it means a prestige transfer, which has to come from a human. I don't know what job description those humans will have, but they will be key to education.

AI can steal prestige from professors, but it can't award prestige to students. So I think student interest in AI seminars will not be very high.

Expand full comment
7 more comments...

No posts