/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

blog.mozilla.ai
| | isthisit.nz
2.4 parsecs away

Travel
| | August 2024 Update: Now a solved problem. Use Structured Outputs. Large language models (LLMs) return unstructured output. When we prompt them they respond with one large string. This is fine for applications such as ChatGPT, but in others where we want the LLM to return structured data such as lists or key value pairs, a parseable response is needed. In Building A ChatGPT-enhanced Python REPL I used a technique to prompt the LLM to return output in a text format I could parse.
| | til.simonwillison.net
2.4 parsecs away

Travel
| | Here's the pattern I figured out for using the openai Python library to extract structured data from text using a single call to the model.
| | github.com
2.8 parsecs away

Travel
| | Simple, unified interface to multiple Generative AI providers - GitHub - andrewyng/aisuite: Simple, unified interface to multiple Generative AI providers
| | ectobit.com
21.9 parsecs away

Travel
| Parsing standard datetime format is no hassle, but what to do when you have custom datetime format?