prashanth
12/22/2025, 1:32 PMVaibhav (BAML π)
12/22/2025, 1:34 PMprashanth
12/22/2025, 1:35 PMVaibhav (BAML π)
12/22/2025, 1:35 PMprashanth
12/22/2025, 1:35 PMMalek
12/23/2025, 12:09 AMVaibhav (BAML π)
12/23/2025, 12:29 AMVaibhav (BAML π)
12/23/2025, 12:29 AMVaibhav (BAML π)
12/23/2025, 12:40 AMrjurney
12/23/2025, 7:08 PMtextract not from users but from Google hype. It required few shot and I assume it uses structured output?prashanth
12/23/2025, 7:12 PMprashanth
12/23/2025, 7:12 PMprashanth
12/23/2025, 7:13 PMprashanth
12/23/2025, 7:14 PMprashanth
12/23/2025, 7:15 PMprashanth
12/23/2025, 7:16 PMrjurney
12/24/2025, 9:26 PMrjurney
12/24/2025, 9:27 PMrjurney
12/24/2025, 9:28 PMclass UUIDMapper:
"""Maps UUIDs to integer IDs for BAML processing and back."""
def __init__(self) -> None:
"""Initialize the UUID mapper."""
self.uuid_to_int: dict[str, int] = {}
self.int_to_uuid: dict[int, str] = {}
self.next_id = 1
def add_uuid(self, uuid: str) -> int:
"""
Add a UUID to the mapping and return its integer ID.
Args:
uuid: The UUID string to map
Returns:
The integer ID for this UUID
"""
if uuid not in self.uuid_to_int:
self.uuid_to_int[uuid] = self.next_id
self.int_to_uuid[self.next_id] = uuid
self.next_id += 1
return self.uuid_to_int[uuid]
...rjurney
12/24/2025, 9:28 PMprashanth
12/25/2025, 12:06 AMprashanth
12/25/2025, 12:07 AM