https://github.com/hungpm372/simple-llm-application-with-lcel
This is a simple application of the LLM (Lattice Conditional Execution Language) with the LCEL (Lattice Conditional Execution Language) library. The application is a simple calculator that can perform addition, subtraction, multiplication, and division.
https://github.com/hungpm372/simple-llm-application-with-lcel
langchain lcel llm openai
Last synced: 3 months ago
JSON representation
This is a simple application of the LLM (Lattice Conditional Execution Language) with the LCEL (Lattice Conditional Execution Language) library. The application is a simple calculator that can perform addition, subtraction, multiplication, and division.
- Host: GitHub
- URL: https://github.com/hungpm372/simple-llm-application-with-lcel
- Owner: hungpm372
- License: mit
- Created: 2024-06-26T04:22:28.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-26T13:41:36.000Z (about 2 years ago)
- Last Synced: 2025-02-25T09:24:43.817Z (over 1 year ago)
- Topics: langchain, lcel, llm, openai
- Language: Python
- Homepage:
- Size: 96.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simple-LLM-application-with-LCEL
This is a simple application of the LLM (Lattice Conditional Execution Language) with the LCEL (Lattice Conditional Execution Language) library. The application is a simple calculator that can perform addition, subtraction, multiplication, and division. The calculator uses the LLM to execute conditional statements based on the input from the user.
# Running the Application
To run the application, you need to have the LCEL library installed on your system. You can install the LCEL library by running the following command:
```
pip install poetry
poetry install
```
# Starting the Application
To start the application, run the following command:
```
python serve.py
```
The application will start running on port 8000. You can access the application by opening a web browser and navigating to http://localhost:8000/chain/playground/.