Git Product home page Git Product logo

automaxo's People

Contributors

caufieldjh avatar enockniyonkuru avatar leokim-l avatar pnrobinson avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

abhik1368

automaxo's Issues

Add minimal CLI

A minimal click CLI would make it much easier to run project scripts and specify parameters.

Remove generated files from git

I think that .openai_cache.db just has my local key, so probably it should not be in the repository.

git pull
Updating f65d6cf..089ee6f
error: Your local changes to the following files would be overwritten by merge:
	.openai_cache.db
Please commit your changes or stash them before you merge.
Aborting

Import `ontogpt` and run it through this project

OntoGPT processing could be handled through this project, too - just add it to the dependencies and import:

from ontogpt.engines.spires_engine import SPIRESEngine

A more hard-coded version of the extract command used in the OntoGPT CLI would get it done and would allow any project-specific preprocessing to be easily added to this project.

Relax search filter (or provide option to do so)

In the document retrieval functions:

def search_articles(self, _disease_name, _max_pmid_retrive):
"""
Search articles related to a disease and return their PubMed IDs.
"""
search_term = f"{_disease_name}[Title/Abstract]"
handle = Entrez.esearch(db="pubmed", term=search_term, retmax=_max_pmid_retrive)
record = Entrez.read(handle)
handle.close()
return record["IdList"]

The search_term is hardcoded to search on title or abstract, which is great if you're looking for specific disease names.
If you are trying to retrieve a specific document or set of documents, this doesn't work as well since the PMID is found elsewhere in the document metadata.

One solution would be to have the function default to adding [Title/Abstract] to the search string like it currently does,
but provide an additional argument like raw to allow passing a search string without that filter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.