aiagents4pharma 1.3.2__py3-none-any.whl → 1.4.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,7 +20,7 @@ class ModelData:
20
20
  """
21
21
  Dataclass for storing the model data.
22
22
  """
23
- modelid: Optional[int] = None
23
+ model_id: Optional[int] = None
24
24
  sbml_file_path: Optional[str] = None
25
25
  model_object: Optional[BasicoModel] = None
26
26
 
@@ -73,12 +73,11 @@ class ModelDescriptionTool(BaseTool):
73
73
  str: The answer to the question.
74
74
  """
75
75
  st_session_key = self.st_session_key
76
- print (st_session_key, 'st_session_key')
77
76
  # Check if sys_bio_model is provided in the input schema
78
- if sys_bio_model.modelid or sys_bio_model.sbml_file_path \
77
+ if sys_bio_model.model_id or sys_bio_model.sbml_file_path \
79
78
  or sys_bio_model.model_object not in [None, "", {}]:
80
- if sys_bio_model.modelid:
81
- model_object = BasicoModel(model_id=sys_bio_model.modelid)
79
+ if sys_bio_model.model_id:
80
+ model_object = BasicoModel(model_id=sys_bio_model.model_id)
82
81
  elif sys_bio_model.sbml_file_path:
83
82
  model_object = BasicoModel(sbml_file_path=sys_bio_model.sbml_file_path)
84
83
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aiagents4pharma
3
- Version: 1.3.2
3
+ Version: 1.4.0
4
4
  Summary: AI Agents for drug discovery, drug development, and other pharmaceutical R&D
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -31,6 +31,7 @@ Requires-Dist: mkdocs-material==9.5.47
31
31
  Requires-Dist: mkdocstrings-python==1.12.2
32
32
  Requires-Dist: mkdocs-include-markdown-plugin==7.1.2
33
33
  Requires-Dist: mkdocstrings==0.27.0
34
+ Requires-Dist: streamlit-feedback
34
35
 
35
36
  [![TESTS](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests.yml/badge.svg?branch=feat%2Finitial-setup)](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests.yml)
36
37
 
@@ -73,7 +74,14 @@ Our toolkit currently consists of three intelligent agents, each designed to sim
73
74
  - Required libraries specified in `requirements.txt`
74
75
 
75
76
  ### Installation
77
+ #### Option 1: PyPI
78
+ ```bash
79
+ pip install aiagents4pharma
80
+ ```
76
81
 
82
+ Check out the tutorials on each agent for detailed instrcutions.
83
+
84
+ #### Option 2: git
77
85
  1. **Clone the repository:**
78
86
  ```bash
79
87
  git clone https://github.com/VirtualPatientEngine/AIAgents4Pharma
@@ -90,8 +98,28 @@ Our toolkit currently consists of three intelligent agents, each designed to sim
90
98
  export OPENAI_API_KEY = ....
91
99
  ```
92
100
 
93
- 4. **Launch the agent:**
94
- To launch the Talk2BioModels agent, run:
101
+ 4. **[Optional] Set up login credentials**
102
+ ```bash
103
+ vi .streamlit/secrets.toml
104
+ ```
105
+ and enter
106
+ ```
107
+ password='XXX'
108
+ ```
109
+ Please note that the passowrd will be same for all the users.
110
+
111
+ 5. **[Optional] Initialize LANGSMITH_API_KEY**
112
+ ```bash
113
+ export LANGCHAIN_TRACING_V2=true
114
+ export LANGCHAIN_API_KEY=<your-api-key>
115
+ ```
116
+ Please note that this will create a new tracing project in your Langsmith
117
+ account with the name `<user_name>@<uuid>`, where `user_name` is the name
118
+ you provided in the previous step. If you skip the previous step, it will
119
+ default to `default`. <uuid> will be the 128 bit unique ID created for the
120
+ session.
121
+
122
+ 6. **Launch the app:**
95
123
  ```bash
96
124
  streamlit run app/frontend/streamlit_app.py
97
125
  ```
@@ -139,3 +167,8 @@ Check out our [CONTRIBUTING.md](CONTRIBUTING.md) for more information.
139
167
  We’re excited to bring AIAgents4Pharma to the bioinformatics and pharmaceutical research community. Together, let’s make data-driven biological research more accessible and insightful.
140
168
 
141
169
  **Get Started** with AIAgents4Pharma today and transform the way you interact with biological data.
170
+
171
+ ---
172
+
173
+ ## Feedback
174
+ Questions/Bug reports/Feature requests/Comments/Suggestions? We welcome all. Please use the `Isssues` tab 😀
@@ -7,12 +7,12 @@ aiagents4pharma/talk2biomodels/tools/__init__.py,sha256=AM03pbYT3nOzI5jf_CJmSDaD
7
7
  aiagents4pharma/talk2biomodels/tools/ask_question.py,sha256=o9ae4s3wsDFr_pGBU1cSxKhJ7E2yjybIzG1Y4z6957Y,4534
8
8
  aiagents4pharma/talk2biomodels/tools/custom_plotter.py,sha256=CdgJjlHAkdyjnwPD6nHARsJXnx_CE0MWg5VOz4oBjY0,2910
9
9
  aiagents4pharma/talk2biomodels/tools/fetch_parameters.py,sha256=levr42F-m53Oya8VTbLlvLJt1snNgnIlSHs4JDiNAv8,2063
10
- aiagents4pharma/talk2biomodels/tools/model_description.py,sha256=MwG3XLw-lrR8iReH6VQ94yuU4VGn-I9pxv8anFxIMVc,5383
10
+ aiagents4pharma/talk2biomodels/tools/model_description.py,sha256=lcVKVvh50wJ4BmB7xMnTZOtWjCmQUnkh6TQJsX-IjGw,5338
11
11
  aiagents4pharma/talk2biomodels/tools/plot_figure.py,sha256=S_d8nNy7NVSBIqnDhg6ex_AdaMqUmVX8D1qOjRGe3r8,5594
12
12
  aiagents4pharma/talk2biomodels/tools/search_models.py,sha256=5qmgQcwlICYAFG11y-aEhBSeYYT6Lu6AKGL2V-p1ggQ,2685
13
13
  aiagents4pharma/talk2biomodels/tools/simulate_model.py,sha256=n6TbfJRgeo2X_1wXPHGeeCvZoso8LFjLqqfKhfseFVM,7287
14
- aiagents4pharma-1.3.2.dist-info/LICENSE,sha256=IcIbyB1Hyk5ZDah03VNQvJkbNk2hkBCDqQ8qtnCvB4Q,1077
15
- aiagents4pharma-1.3.2.dist-info/METADATA,sha256=YA_AxZ8d_D9KtKbJ723w4Nk2aIV222DvOhEhhE7U6W8,5698
16
- aiagents4pharma-1.3.2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
17
- aiagents4pharma-1.3.2.dist-info/top_level.txt,sha256=-AH8rMmrSnJtq7HaAObS78UU-cTCwvX660dSxeM7a0A,16
18
- aiagents4pharma-1.3.2.dist-info/RECORD,,
14
+ aiagents4pharma-1.4.0.dist-info/LICENSE,sha256=IcIbyB1Hyk5ZDah03VNQvJkbNk2hkBCDqQ8qtnCvB4Q,1077
15
+ aiagents4pharma-1.4.0.dist-info/METADATA,sha256=PFsn8nLLSi6hkJWiFrptBa2dMTRM0k0kBaDbkZCSveU,6640
16
+ aiagents4pharma-1.4.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
17
+ aiagents4pharma-1.4.0.dist-info/top_level.txt,sha256=-AH8rMmrSnJtq7HaAObS78UU-cTCwvX660dSxeM7a0A,16
18
+ aiagents4pharma-1.4.0.dist-info/RECORD,,