Fuzzy Alignment Threshold Setting not Working
- Dominant language
- Python
- Stars
- 38.6k
- Forks
- 2.7k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 3
Description
I was testing the extract function with a different fuzzy threshold and it seems it is not being unpacked in the resolver function:
**Code:**
result = lx.extract(
text_or_documents=input_transcript,
prompt_description=PROMPT_SOP,
examples=EXAMPLES_SOP,
model=model,
extraction_passes=1,
max_char_buffer=5000,
fetch_urls=False,
resolver_params={'fuzzy_alignment_threshold': 0.5},
)
**Error:**
**resolver.py constructor:**
https://github.com/google/langextract/blob/278de1b0cd44c97fe26680be87008e20b1c290ed/langextract/resolver.py#L169
Contributor guide
Assessment
This issue has not been assessed yet.