mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
553 B
553 B
Extraction with LLaMA2 Function Calling
This template shows how to do extraction of structured data from unstructured data, using LLaMA2 fine-tuned for grammars and jsonschema.
Specify the scehma you want to extract in chain.py
By default, it will extract the title and author of papers.
LLM
This template will use Replicate
hosted version of LLaMA.
Be sure that REPLICATE_API_TOKEN
is set in your environment.