Skip to content

DreamerChaserHAH/langchain-action-model-experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Langchain Action Model Experiment

An experiment on executing External Weather API using Claude Haiku LLM and Python Langchain

How does it work?

  1. Program connects to Claude using API Key
  2. Program queries claude about the weather in Yangon
image
  1. Using OpenAPI Specification, Claude determines the best and most suitable API to call
  2. Calls the API and parse the result into a meaningful response.
image

Get things running

pip3 install -r requirements.txt

create a clone of .env.sample and rename it to .env, and then add the relevant api keys

python src/main.py

About

An experiment on triggering actions using LLM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages