docs/tutorials/extraction/ #28035
Replies: 6 comments 5 replies
-
This was helpful! Good tutorial! |
Beta Was this translation helpful? Give feedback.
-
Gracias! Super useful!! |
Beta Was this translation helpful? Give feedback.
-
This tutorial is very, very good! |
Beta Was this translation helpful? Give feedback.
-
Any chance this tutorial can be ran using Ollama running mistal locally?
I get an error: appreciate any advice. |
Beta Was this translation helpful? Give feedback.
-
how does one can combine this with a retriever, to perform data extraction for large documents? It is possible to pass to the retriever also the schema in order to extract the relevant documents? |
Beta Was this translation helpful? Give feedback.
-
To use this in Colab is a PAIN IN THE ARSE (PITA) if you don't want to expose your API Keys for LangSmith and OpenAI. Google has its own proprietary Linux-based Secrets manager instead of the standard Jupyter NB conda environment. You must replace the Jupyter NB code with the following code: Get API Keys from Local User Environmentfrom google.colab import userdata Get the API keys from User SecretsOPENAI_API_KEY = userdata.get('OPENAI_API_KEY') Set the environment variablesimport os Now you can use the ChatOpenAI class as before:from langchain_openai import ChatOpenAI |
Beta Was this translation helpful? Give feedback.
-
docs/tutorials/extraction/
This guide assumes familiarity with the following concepts:
https://python.langchain.com/docs/tutorials/extraction/
Beta Was this translation helpful? Give feedback.
All reactions