Python version of Langchain integrations.
Experimental approach.
- Fork the repo
- Copy .env.example to .env (ignored by Git) and insert your API keys
- Create a virtual environment and install the requirements
- To load
OPENAI_API_KEYto environmental variables insert this tovenv/bin/activatescript:
OPENAI_API_KEY=<your key>
export OPENAI_API_KEY- Rewrite the code using Python applying the clean code standards. Check
01_langchain_initand02_langchain_formatfor reference. - Don't remove the original .ts files
- Create a PR. Commit messages and PR descriptions should indicate what has been done.
-
01_langchain_init -
02_langchain_format -
04_tiktoken -
05_conversation -
06_external -
07_output -
08_cot -
09_context -
10_switching -
11_docs -
12_web -
13_functions -
14_agent -
15_tasks -
17_tree -
18_knowledge -
20_catch