Skip to content

How to use the llm component in any module? #666

Closed Answered by Kovaxs
Kovaxs asked this question in Q&A
Discussion options

You must be logged in to vote

I discovered how to do it: here the code snippet to get access to the default selected LLM:

llm = llms.get_default()
response = llm("hello")

If I am wrong correct me.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@taprosoft
Comment options

Answer selected by Kovaxs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants