Replies: 2 comments 3 replies
-
Any LLM that works with LangChain should work fine. See this tutorial: https://python.langchain.com/v0.1/docs/use_cases/extraction/ |
Beta Was this translation helpful? Give feedback.
-
@eyurtsev Could you help a bit with using LLMs from transformers to create an extraction chain? from kor import create_extraction_chain, Object, Text schema = Object(
) llm = "?" chain = create_extraction_chain(llm, schema) text = "My name is Bobby and my Sister is Rachel. My brother is Joe." |
Beta Was this translation helpful? Give feedback.
-
I checked some of your tutorials but all of them use OpenAI and I wonder if you want to use Transformers.. what would be the approach? I wonder if you can share some code for that case in specific.. thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions