Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 11 months ago
0
Follow
Hi, what does `num_workers` do in the
Hi, what does `num_workers` do in the
Inactive
0
Follow
N
Niels
11 months ago
Β·
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
11 months ago
Yes,
https://github.com/run-llama/llama_index/blob/fbf9b01fdd8dc02286680f63b8d7dc42d88cd5ed/llama_index/extractors/interface.py#L40
N
Niels
11 months ago
Thanks! @WhiteFang_Jr
L
Logan M
11 months ago
(actually, its not CPU threads, but number of concurrant async LLM calls that are allowed to happen at any given time)
N
Niels
11 months ago
Ah thanks!
Add a reply
Sign up and join the conversation on Discord
Join on Discord