Log in
Log into community
Find answers from the community
View all posts
Related posts
Was this helpful?
π
π
π
Powered by
Hall
Inactive
Updated last year
0
Follow
Hi, what does `num_workers` do in the
Hi, what does `num_workers` do in the
Inactive
0
Follow
At a glance
N
Niels
last year
Β·
Hi, what does
num_workers
do in the keyword extractor? Is this the amount of CPU threads used?
Example:
Plain Text
Copy
KeywordExtractor(llm, keywords=5, num_workers=24),
W
N
L
4 comments
Share
Open in Discord
W
WhiteFang_Jr
last year
Yes,
https://github.com/run-llama/llama_index/blob/fbf9b01fdd8dc02286680f63b8d7dc42d88cd5ed/llama_index/extractors/interface.py#L40
N
Niels
last year
Thanks! @WhiteFang_Jr
L
Logan M
last year
(actually, its not CPU threads, but number of concurrant async LLM calls that are allowed to happen at any given time)
N
Niels
last year
Ah thanks!
Add a reply
Sign up and join the conversation on Discord
Join on Discord