Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jmogly
1 day ago
|
parent
|
context
|
favorite
| on:
Critical vulnerability in LangChain – CVE-2025-686...
I’ve been using the following pattern since gpt3, the only other thing I have changed was added another parameter for schema for structured output. People really love to overcomplicate things.
class AI(Protocol):
def call_llm(prompt: str) -> str: …
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
class AI(Protocol):
def call_llm(prompt: str) -> str: …