Package: kadia
Kadia AIKadia AI integrates several strategies to use AI for facilitating navigation through science. Shortly, Kadia accept your query, retrieve scholarly publications and books from STC and answer your query using AI and collected documents.More technical description:IPFS is utilized to access the Standard Template Construct (STC).STC provides the raw documents for Kadia.Embedding Model constructs embeddings for these documents and Kadia stores these embeddings in the vector database.These embeddings are then used to retrieve relevant documents, and then they are sent to LLM for Q&A and summarization.InstallYou should haveinstalled IPFSThen, you should installkadia-aipackagepasha@kadia:~pipinstallkadia-aiand launch qdrant database for storing vectors:pasha@kadia:~dockerrun-p6333:6333-p6334:6334qdrant/qdrantUpon its initial launch,kadiawill create a~/.kadiadirectory containing aconfig.yamlfile.
You can edit the config file to point to different IPFS addresses.UsageAttention!STC does not contain every book or publication in the world. We are constantly increasing coverage but there is still a lot to do.
STC contains metadata for the most of the items, butlinksorcontentfields may be absent.#(Optional)LaunchSummasearchengine,thenyouwillnothavetowaitbootstrappingeverytime.#Itwilltakeatime!Waituntilthetext`Servingon...`appears#Ifyoudecidedtolaunchit,switchtoanotherTerminalwindowpasha@kadia:~ geck --ipfs-http-base-url 127.0.0.1:8080 - serveNow we should initialize Kadia and choose which models will be used:pasha@kadia:~ kadia - write-config --force#orifyouwanttouseOpenAImodel,exportkeysandyoushouldsetappropriatemodelsinconfig:pasha@kadia:~ export OPENAI_API_KEY=...pasha@kadia:~ kadia - write-config -l openai --force#orifyouwanttouseGPU:pasha@kadia:~ kadia - write-config --device cuda --force#Summarizeadocumentpasha@kadia:~ kadia - sum-doc doi:10.1155/2022/7138756Document: doi:10.1155/2022/7138756Summarization: Resveratrol is a natural compound found in various plants and has been studied forits anti-inflammatory and antiviral properties. Resveratrol has been shown to regulate miR-223-3p/NLRP3pathways, inhibit downstream caspase-1 activation, reduce the expression of chemokines, and decreasethe levels of calcium strength, pro-inflammatory cytokines, and MDA in an acute bacterial meningitis model.It can also regulate the PI3K/Akt/mTOR signaling pathway, reduce NF-κB/p65 and pro-inflammatory cytokines,and increase nitric oxide, sialic acid, gastric tissue, and vitamin C concentrations. Resveratrol has beenfound to inhibit viral replication and have antiviral activity against Zika Virus, Pseudorabies virus,and HSV-1. The exact mechanisms of action of resveratrol are still not fully understood, but it is believedto activate the host's immune defences, affect the TLRs/NF-κB signalling pathway, and directly inhibitviral gene expression.#Questionadocumentpasha@kadia:~ kadia - chat-doc doi:10.1155/2022/7138756 \--query "What is the antivirus effect of resveratrol?"Q: What is the antivirus effect of resveratrol?A: Resveratrol has been found to have antiviral effects, primarily through its ability to inhibit viralentry and replication. It has been reported to inhibit the replication of multiple viruses, includinghuman immunodeficiency virus (HIV), herpes simplex virus (HSV), hepatitis C virus (HCV), andZika virus (ZIKV). Resveratrol appears to block the activities of the TIR-domain-containingadapter-inducing interferon-β (TRIF) complex, suggesting that resveratrol would also inhibit NF-κBtranscription induced by TRIF. Additionally, it has been reported to reduce the activity of respiratorysyncytial virus (RSV) and to stimulate the secretion of higher levels of TNF-α, promoting cell deathand RSV clearance.#Questionenitresciencepasha@kadia:~ kadia - chat-sci "What is the antivirus effect of resveratrol?" --n-chunks 4 --n-documents 10Q: What is the antivirus effect of resveratrol?A: Resveratrol has been found to possess antiviral activity against a variety of viruses, including herpes simplex virus, human immunodeficiency virus, and hepatitis C virus. It has been shown to inhibit the replication of several viruses, including HIV, herpes simplex virus, and influenza virus, and to regulate TLR3 expression, thus affecting the recruitment of downstream related factors and finally affecting the regulation process of related signal pathways. It has also been studied for its antiviral activity against Reoviridae, and for its potential to inhibit Zika virus cytopathy effect. It has been active against Epstein virus, rotavirus, and vesicular stomatitis virus, and has been reported to alleviate virus-induced reproductive failure and to promote RSV clearance in the body more quickly.