Flutterby™! : Sure

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

Sure

2023-04-01 00:20:02.424376+02 by Dan Lyke 1 comments

Sure, ChatGPT 4 hallucinates features in APIs, and that's bad, but have you looked at Apple's AppKit documentation recently?

[ related topics: Apple Computer ]

comments in ascending chronological order (reverse):

#Comment Re: Sure made: 2023-04-01 14:08:41.959544+02 by: brainopener [edit history]

The trick is to have an LLM on the server side that generates APIs as the calls come in. Basically a kind of simulated annealing for functions.

Surely this Windows API was evolved in such a way:

BOOL AccessCheckByTypeResultListAndAuditAlarmByHandleA(
  [in]                LPCSTR               SubsystemName,
  [in]                LPVOID               HandleId,
  [in]                HANDLE               ClientToken,
  [in]                LPCSTR               ObjectTypeName,
  [in, optional]      LPCSTR               ObjectName,
  [in]                PSECURITY_DESCRIPTOR SecurityDescriptor,
  [in, optional]      PSID                 PrincipalSelfSid,
  [in]                DWORD                DesiredAccess,
  [in]                AUDIT_EVENT_TYPE     AuditType,
  [in]                DWORD                Flags,
  [in, out, optional] POBJECT_TYPE_LIST    ObjectTypeList,
  [in]                DWORD                ObjectTypeListLength,
  [in]                PGENERIC_MAPPING     GenericMapping,
  [in]                BOOL                 ObjectCreation,
  [out]               LPDWORD              GrantedAccess,
  [out]               LPDWORD              AccessStatusList,
  [out]               LPBOOL               pfGenerateOnClose
);