Skip to content

langchain open assistant demo using hugging face Hub (Inference API)

License

Notifications You must be signed in to change notification settings

omars44/open-assistant-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAssistant Demo

This is just a demo on using OpenAssistant with langchain on huggingface

Setup

1. Install Dependencies

pip install -U pdm
pdm sync

2. Fill in HuggingFace inference api key

obtaining an Inference API key: https://huggingface.co/docs/api-inference/quicktour#get-your-api-token

cp .env.dist .env
vim .env

3. Ask a question

pdm run main.py "Hi, Ask me a question instead"

About

langchain open assistant demo using hugging face Hub (Inference API)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages