3 ms·
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 reall
by jmogly 9mo ago
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:
…