Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: modify project toml, docs and reqs #56

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions aiagents4pharma/talk2knowledgegraphs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
**Talk2KnowledgeGraphs** is an AI agent designed to interact with biomedical knowledge graphs. Biomedical knowledge graphs contains crucial information in the form of entities (nodes) and their relationships (edges). These graphs are used to represent complex biological systems, such as metabolic pathways, protein-protein interactions, and gene regulatory networks. In order to easily interact with this information, Talk2KnowledgeGraphs uses natural language processing (NLP) to enable users to ask questions and make requests. By simply asking questions or making requests, users can:

- Dataset loading: load knowledge graph from datasets.
- Embedding: embed entities and relationships in the knowledge graph.
- Knowledge graph construction: construct a knowledge graph from dataframes.
- Subgraph extraction: extract subgraphs from the initial knowledge graph.
- Retrieval: retrieve information from the (sub-) knowledge graph.
- Reasoning: reason over the (sub-) knowledge graph.
- Visualization: visualize the (sub-) knowledge graph.

## Installation

### Prerequisites
- Python 3.10 or higher

### Installing Talk2KnowledgeGraphs in two ways

#### Option 1: Git

1. Clone the repository:

git clone https://github.com/<your-repo>/ aiagents4pharma.git
cd aiagents4pharma/talk2knowledgegraphs

2. Install the package and its dependencies:

pip install .

3. Alternatively, install from source:

pip install -e .


#### Option 2: PyPI *(coming soon)*
```bash
pip install aiagents4pharma
```
3 changes: 1 addition & 2 deletions aiagents4pharma/talk2knowledgegraphs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,4 @@ version = {file = "release_version.txt"}
[tool.setuptools]
packages = ["aiagents4pharma",
"aiagents4pharma.talk2knowledgegraphs",
"aiagents4pharma.talk2knowledgegraphs.datasets",
"aiagents4pharma.talk2knowledgegraphs.utils"]
"aiagents4pharma.talk2knowledgegraphs.datasets"]
File renamed without changes.
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ nav:
- Talk2Cells:
- Talk2Cells: talk2cells/intro.md

- Talk2Knowledgegraphs :
- Talk2KnowledgeGraphs :
- Introduction: talk2knowledgegraphs/intro.md
- Tutorials:
- PrimeKG: ./notebooks/talk2knowledgegraphs/tutorial_primekg_loader.ipynb
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pytest==8.3.3
streamlit==1.39.0
tabulate==0.9.0
tqdm==4.66.6
torch==2.2.2
torch==2.5.1
mkdocs==1.6.1
mkdocs-jupyter==0.25.1
mkdocs-material==9.5.47
Expand Down
Loading