Upload 3 files
Browse files- README.md +16 -14
- main.py +5 -1
- requirements.txt +12 -0
README.md
CHANGED
|
@@ -1,14 +1,16 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
# Basic Engineering Economics Ollama Agent
|
| 3 |
+
|
| 4 |
+
This application enables the calculation of the time value of money (TVM) equivalents based on a natural language query.
|
| 5 |
+
|
| 6 |
+
The application is developed using Gradio as the user interface. The libraries utilized in the application's development are:
|
| 7 |
+
|
| 8 |
+
* `gradio`
|
| 9 |
+
* `langchain`
|
| 10 |
+
* `langchain-core`
|
| 11 |
+
* `langchain-ollama`
|
| 12 |
+
* `langgraph`
|
| 13 |
+
* `typing`
|
| 14 |
+
* `engineonomics` ()
|
| 15 |
+
|
| 16 |
+
Sentences are generated using the `Qwen3:4b` large language model (LLM).
|
main.py
CHANGED
|
@@ -1 +1,5 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from interfaces.interface import create_interface
|
| 2 |
+
|
| 3 |
+
if __name__ == "__main__":
|
| 4 |
+
iface = create_interface()
|
| 5 |
+
iface.launch()
|
requirements.txt
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
--find-links https://download.pytorch.org/whl/cpu
|
| 2 |
+
torch
|
| 3 |
+
transformers
|
| 4 |
+
timm
|
| 5 |
+
accelerate
|
| 6 |
+
gradio
|
| 7 |
+
langchain
|
| 8 |
+
langchain-core
|
| 9 |
+
langchain-ollama
|
| 10 |
+
langgraph
|
| 11 |
+
typing
|
| 12 |
+
git+https://github.com/tiagogiraldo/engineconomics.git
|