LLM-Polished-Version is a Dockerized AI assistant designed to interact with users and provide intelligent responses. The project leverages advanced language models and is tailored for specific use cases, including petroleum-related queries. The assistant has been optimized for simplicity and supports terminal-based communication, ensuring compatibility with Arabic text.
- AI Assistant: Powered by advanced language models for intelligent responses.
- Dockerized Setup: Encapsulated in a Docker container for easy deployment.
- Terminal-Based Interaction: Simplified communication via the terminal.
- Arabic Text Support: Ensures proper encoding and handling of Arabic letters.
- Customizable: Easily extendable for various use cases.
Dockerfile
requirements.txt
Docker/
LLM-Web/
environment.yml
llm_handler.py
llm_handler.spec
package.json
server.js
build/
llm_handler/
...
GeneratedContracts/
LLM/
Model.gguf
PetroBot.py
PetroBot.spec
petroleum_qa_1000.json
Data/
Contrat_Template_Placeholders.docx
CostumerService/
...
Learning/
...
Petroleum/
...
faiss_behavioral/
...
faiss_expert/
...
faiss_petroleum/
...
GeneratedContracts/
...
webLLm/
eslint.config.js
index.html
package.json
README.md
vite.config.js
public/
...
src/
App.jsx
main.jsx
UserInfoForm.jsx
assets/
- Docker: Ensure Docker is installed on your system.
- Python: Version 3.10 or higher.
- Node.js: For managing the web interface.
- Clone the repository:
git clone https://github.com/Aminbcf/LLM-Polished-Version.git
- Navigate to the project directory:
cd LLM-Polished-Version - Build the Docker image:
docker build -t petrobot-llm . - Run the Docker container:
docker run -it petrobot-llm
- Terminal Interaction: The assistant communicates directly via the terminal. Ensure proper encoding for Arabic text.
- Custom Queries: Modify
PetroBot.pyto tailor the assistant for specific use cases.
langchain_communitysentence_transformersdocxtpldocx2pdf
Ensure these dependencies are installed in the Docker image.
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch-name
- Commit your changes:
git commit -m "Add new feature" - Push to the branch:
git push origin feature-branch-name
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
- Inspired by advancements in AI and language models.
- Special thanks to contributors and the open-source community.