jbdamask / wkid-smaaht

Because every team needs a townie! Enjoy ChatGPT in your Slack workspace
Apache License 2.0
22 stars 0 forks source link

Improve chat with doc with RAG-fusion #33

Closed jbdamask closed 9 months ago

jbdamask commented 9 months ago

Cool idea

This could be useful for when a :qa command comes back empty; basically, create several question variants and try again.

jbdamask commented 9 months ago

Pretty cool. It's in place and working now.

jbdamask commented 9 months ago

Some initial observations:

  1. A surprisingly small change in language can make the difference between retrieving something from a vectorstore and not
    
    :qa How does parental relatedness and T2D polygenic score contribute to the percent population-attributable risk for type 2 diabetes and asthma?

W'kid Smaaht I didn't get a result for that question, let me make some tweaks and try again

This revised version of your question got an answer: How do parental relatedness and T2D polygenic score influence the percent population-attributable risk for type 2 diabetes and asthma? The study examines the population-attributable risk (PAR) for type 2 diabetes (T2D) and asthma due to parental relatedness and T2D polygenic score. The results show that a substantial proportion of the increased incidence of T2D in British Pakistanis is due to autozygosity resulting from consanguinity. The PAR for T2D and asthma decreases slightly when assuming a prevalence of 15%. The study also compares the PAR for T2D due to parental relatedness with the PAR due to having a high polygenic risk score for the disease. The findings suggest that both parental relatedness and genetic factors contribute to the risk of developing T2D.```

jbdamask commented 9 months ago

Need to clean up shitty code

jbdamask commented 9 months ago

LangChain printing intermittent logs...even though verbose=False. Not sure what's going on here but it's creating lots of CloudTrail noise