Live data from Hacker News

Gemini AI

deepmind.google

971–980 of 1001 posts

Re: Gemini AI

#972
post #955
post #924

Earlier quoted context omitted.

> Does Gemini have a date cutoff at all? You can ask it. Here's what it responded with: > "Do you mean to ask if I have a cutoff date for the data I was trained on? If so, the answer is yes. My training data includes text and code from various sources, and the most recent data I was trained on was from July 2023."

But that can't be true - the thing I asked it about pixi.js is much more recent than that (October+).

When Bard inserts that information unasked (as in something like "I'm sorry but I don't have that information due my training data cutoff being ...") It may quote other later dates. I got a response with "October 2023" at least once so far.

Re: Gemini AI

#977
post #444

Very impressive! I noticed two really notable things right off the bat: 1. I asked it a question about a feature that TypeScript doesn't have[1]. GPT4 usually does not recognize that it's impossible (I've tried asking it a bunch of times, it gets it right with like 50% probability) and hallucinates an answer. Gemini correctly says that it's impossible. The impressive thing was that it then linked to the open GitHub i…

I use GPT with the custom instructio "provide references where it makes sense" and it frequently provides links which most of the time are accurate. A good prompt does wonders. My GPT-3.5 output bellow. It doesn't give a correct answer but provide a link that makes sense.

Q: How do I create a type alias in typescript local to a class? Provide references where it makes sense.

A: In TypeScript, you can create a type alias within a class using the type keyword. Here's an example:

class MyClass { type MyAlias = string | number;

   myVariable: MyAlias;

   myFunction(param: MyAlias): void {
     // ...
   }
 }

In the example above, MyAlias is a type alias created within the MyClass class. It is defined as either string or number.

Note that the type alias is accessible within the class, but it won't be available outside of the class's scope.

For more information on type aliases in TypeScript, you can refer to the official TypeScript documentation: [Type Aliases - TypeScript Handbook](https://www.typescriptlang.org/docs/handbook/advanced-types....)

Re: Gemini AI

#978

That is an incredibly intense brand/name choice. Fatefully, Pollux survived the Trojan (!) war and Castor did not, and it was Pollux who begged Zeus to be mortal as he couldn’t bear to be without his brother. Is this some prescient branding? Lol. Of all the names.

If a reference to a brain-uploading & merging with AI scenario, well, that's quite ambitious.

Re: Gemini AI

#980
post #444

Very impressive! I noticed two really notable things right off the bat: 1. I asked it a question about a feature that TypeScript doesn't have[1]. GPT4 usually does not recognize that it's impossible (I've tried asking it a bunch of times, it gets it right with like 50% probability) and hallucinates an answer. Gemini correctly says that it's impossible. The impressive thing was that it then linked to the open GitHub i…

I use GPT with the custom instructio "provide references where it makes sense" and it frequently provides links which most of the time are accurate. A good prompt does wonders. My GPT-3.5 output bellow. It doesn't give a correct answer but provide a link that makes sense. Q: How do I create a type alias in typescript local to a class? Provide references where it makes sense. A: In TypeScript, you can create a type al…

Nice. Can you tell your prompt tricks in more detail?
Post reply on HN