Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Conversation

dmarx
Copy link

@dmarx dmarx commented Mar 13, 2023

Facilitates building applications that utilize slot-filling

from langchain.chains import load_chain

chain = load_chain("lc://chains/zero-shot-intent-classifier/chain.json")

input_query = "how would I drive from my home to SeaTac airport?"
chain.run(input_query)
# {'intent': 'get_directions', 'arguments': {'start_location': 'home', 'end_location': 'SeaTac airport'}}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant