Adam Langley

3.3K posts

Adam Langley

Adam Langley

@agl__

가입일 Ocak 2011
147 팔로잉12.1K 팔로워
Adam Langley
Adam Langley@agl__·
@ptsi @shresbm @OfficialLoganK @Vish_owl Yes, the imposed ordering is a current limitation. However, there are other ways in which JSON examples in instructions can subtly conflict with the specified schema and so the best guidance may be to avoid including output examples in instructions.
English
1
0
2
52
Shrestha Basu Mallick
Shrestha Basu Mallick@shresbm·
On the Gemini API, for structured outputs we get a lot of feedback regarding non-strict schema adherence OR repeated tokens/gibberish output. In a lot of these cases, the user is trying to pass the schema via text. If you instead switch to supplying the schema through the model config you will get strict adherence #supply-schema-in-config" target="_blank" rel="nofollow noopener">ai.google.dev/gemini-api/doc…
Shrestha Basu Mallick tweet media
English
8
5
60
5.7K
Adam Langley
Adam Langley@agl__·
@andrewb10687674 @OfficialLoganK You can certainly give instructions about the outputs, and mention the properties by name. It's just that concrete examples of JSON output can subtly conflict with the schema and seem to be best avoided.
English
0
0
1
31
Doc Xardoc
Doc Xardoc@andrewb10687674·
@agl__ @OfficialLoganK how do I give examples then? Like what I wanted description to have SoME kINd oF WeIRd FoRMATTing?
English
2
0
0
33
Logan Kilpatrick
Logan Kilpatrick@OfficialLoganK·
I am online 7 days a week, ~8+ hours a day. If you need something as you build with Gemini, please ping me! My email is lkilpatrick@google.com
English
171
93
2.7K
304.2K
Adam Langley
Adam Langley@agl__·
@ptsi @shresbm It wants to follow the ordering in the examples, but is forced to follow the ordering of the schema. Making things required reduces the possibility that it'll try to output a property that's ordered before the current one. ai.google.dev/gemini-api/doc…
English
1
0
2
46
Adam Langley
Adam Langley@agl__·
@ptsi @shresbm If you are finding that "required" helps with quality you might have a conflict with property ordering. Gemini always orders properties, alphabetically by default, but if there are examples in its instructions with a different ordering then it can get stuck.
English
1
0
2
53
Adam Langley
Adam Langley@agl__·
@andrewb10687674 @OfficialLoganK If you delete the JSON example in your instruction, I believe that quality will improve significantly. When using structured outputs, the model is always informed of the schema and so we recommend not including examples as they could conflict with it. #property-ordering" target="_blank" rel="nofollow noopener">ai.google.dev/gemini-api/doc…
English
1
0
0
113
Adam Langley
Adam Langley@agl__·
@andrewb10687674 @OfficialLoganK The issue here is that properties are always ordered when processed by Gemini and, if an ordering isn't specified, then it's alphabetic. But your example has name first and the model is stuck because it wants to move on to the description but cannot because that comes first.
English
1
0
1
74
Adam Langley 리트윗함
Adam Langley
Adam Langley@agl__·
@Mr_TylerMorgan @StrongboxSafe @rmondello It might be a Thanksgiving project for me. However, note that browsers only discover that another provider exists when we see a credential from them at assertion time. I don’t know what the eventual strings will be, but a profile might label it “iCloud Keychain” until we do.
English
1
0
4
137
Tyler Morgan
Tyler Morgan@tylerjmorg·
@StrongboxSafe @agl__ @rmondello Of course! I don’t know when the Chromium team will eventually fix it, but Adam might have a rough timeline. I can DM you his contact if you’d like.
English
1
0
2
109
Strongbox
Strongbox@StrongboxSafe·
For all of our passkey users, this is a PSA. In order to create a passkey in Chrome/Brave on Mac and save it to your Strongbox database, you need to select ‘iCloud Keychain’.
Strongbox tweet media
English
2
0
9
2.8K
Adam Langley 리트윗함
Alec Muffett
Alec Muffett@AlecMuffett·
IN CASE YOU MISSED IT: The EU — in private — amended draft digital identity regulation to create a legally-mandated surveillance backdoor in HTTPS. Over 300 academics & tech experts TODAY publish an open letter calling on the EU to fix this + follow web standards instead:
Alec Muffett@AlecMuffett

Hot on the heels of #ChatControl and in the name of “identity” and “consumer choice” the EU seeks the ability to undetectably spy on HTTPS communication; 300+ experts say “no” to #Article45 of #eIDAS #QWAC alecmuffett.com/article/108139

English
17
718
1.4K
269.8K
Adam Langley 리트윗함
Bas Westerbaan
Bas Westerbaan@bwesterb·
Very cool: Chrome Beta (≥115.0.5748.0) supports post-quantum key exchange behind a feature flag.
Bas Westerbaan tweet media
English
5
49
126
23.5K
Adam Langley 리트윗함
Ricky Mondello
Ricky Mondello@rmondello·
🔑🧵 iOS 17, macOS Sonoma, and passkeys (1/n) Password manager apps can now save and sign in with passkeys across the entire OS — all apps and websites — by integrating with the AuthenticationServices framework's updated Credential Provider Extensions! developer.apple.com/documentation/…
English
8
49
463
138.6K
Adam Langley 리트윗함
Tailscale
Tailscale@Tailscale·
It's time for passwords to get an upgrade. We've rolled out support for passkeys to sign in to Tailscale, for an even more secure log in experience tailscale.com/blog/passkeys/
English
4
16
104
12.6K
Adam Langley 리트윗함
David Thrane Christiansen
David Thrane Christiansen@d_christiansen·
Functional Programming in Lean is now done! This is an online book on using Lean 4 as a programming language that doesn't assume you already know Haskell, Rust, Coq, Idris, or Agda. Thank you to everyone who provided feedback along the way! leanprover.github.io/functional_pro…
English
7
74
348
34.8K
Adam Langley
Adam Langley@agl__·
@frgx @bradgirardeau @maxime_serrano @breditor I chatted with the team about this and this change was part of allowing uv=preferred to avoid requiring the local password on Macs without biometrics or in clamshell mode. This was a big plus for them but we hear you that you would like to avoid this extra UI step where possible.
English
0
1
2
529
Adam Langley
Adam Langley@agl__·
@frgx @maxime_serrano Is it a context with an allowlist of credential IDs or not? Because in the later the problem is that the Touch ID dialog gives no indication about who you’re signing in as.
English
1
0
0
216