Skip to content

yanegorz/zi.LLM.aiDevs2_Python-Langchain

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Langchain Integrations

Python version of Langchain integrations.

Experimental approach.

Contribution

  1. Fork the repo
  2. Copy .env.example to .env (ignored by Git) and insert your API keys
  3. Create a virtual environment and install the requirements
  4. To load OPENAI_API_KEY to environmental variables insert this to venv/bin/activate script:
OPENAI_API_KEY=<your key>
export OPENAI_API_KEY
  1. Rewrite the code using Python applying the clean code standards. Check 01_langchain_init and 02_langchain_format for reference.
  2. Don't remove the original .ts files
  3. Create a PR. Commit messages and PR descriptions should indicate what has been done.

Langchain tutorials

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 61.8%
  • TypeScript 28.3%
  • Python 9.9%