mirror of
https://github.com/hwchase17/langchain.git
synced 2025-11-13 08:13:44 +00:00
Ran the following bash script for all templates
```bash
#!/bin/bash
set -e
current_dir="$(pwd)"
for directory in */; do
if [ -d "$directory" ]; then
(cd "$directory" && poetry lock --no-update)
fi
done
cd "$current_dir"
```
Co-authored-by: Bagatur <baskaryan@gmail.com>
Extraction with OpenAI Function Calling
This template shows how to do extraction of structured data from unstructured data, using OpenAI function calling.
Specify the information you want to extract in chain.py
By default, it will extract the title and author of papers.
LLM
This template will use OpenAI by default.
Be sure that OPENAI_API_KEY is set in your environment.