|
|
|
|
|
by jmogly
169 days 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:
… |
|