brainlid / langchain

Elixir implementation of a LangChain style framework.
https://hexdocs.pm/langchain/
Other
503 stars 58 forks source link

Add guide: data extraction example #97

Open brainlid opened 2 months ago

brainlid commented 2 months ago

Create a documentation guide for structured data extraction. Why the choices were made and example usages.

Include references to docs like this: https://docs.anthropic.com/claude/docs/tool-use#best-practices-for-tool-definitions with quotes to "Provide extremely detailed descriptions." and how descriptions are more valuable than examples.

Give examples using field descriptions that can convert full US state names to abbreviations, etc.

cpursley commented 2 months ago

US state names to abbreviations

This is actually a great example. One of the things I've built (with ExInstructor) was a US address normalizer. Took a while to whip it into something useful/reliable.

brainlid commented 2 months ago

Yeah, I actually thought of doing a demo of that. However, I don’t have a particular need for it myself. If you don’t mind sharing it, we could create it as a demo, guide, or livebook example

On Sat, Apr 13, 2024 at 2:14 PM Chase Pursley @.***> wrote:

US state names to abbreviations

This is actually a great example. One of the things I've built (with ExInstructor) was a US address normalizer. Took a while to whip it into something useful/reliable.

— Reply to this email directly, view it on GitHub https://github.com/brainlid/langchain/issues/97#issuecomment-2053747929, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGFQGDWVPHLLRBXRYSOA3DY5GGZBAVCNFSM6AAAAABFZ2RPBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJTG42DOOJSHE . You are receiving this because you were assigned.Message ID: @.***>