This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import spacy | |
| import pandas as pd | |
| from sklearn.preprocessing import MinMaxScaler | |
| from langchain.tools import BaseTool | |
| from typing import Optional, Union, List | |
| from langchain.callbacks.manager import CallbackManagerForToolRun, AsyncCallbackManagerForToolRun | |
| class DataPreprocessingTool(BaseTool): | |
| name = "DataPreprocessingTool" | |
| description = "A tool for preprocessing and structuring unstructured data." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "assets":[ | |
| "src/config.json " | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Microsoft365 username and access token | |
| NetworkCredential credentials = new OAuthNetworkCredential(username, accessToken); | |
| using var client = EWSClient.GetEWSClient("https://outlook.office365.com/EWS/Exchange.asmx", credentials); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # install haproxy | |
| yum install -y haproxy | |
| # config haproxy for rabbitmq | |
| cat > /etc/haproxy/haproxy.cfg << "EOF" | |
| global | |
| log 127.0.0.1 local0 notice | |
| maxconn 10000 | |
| user haproxy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > * Go to [hexed.it](https://hexed.it/) | |
| > * Click "Open File" and choose your sublime_text.exe **(DON'T FORGET TO BACKUP YOUR EXE FILE)** | |
| > * Go to Search and in "Search for" put: 80 78 05 00 0F 94 C1 | |
| > * In Search Type select "Enable replace" and put: 80 78 05 00 0F 94 C1 | |
| > * Click "Find next" then "Replace" | |
| > * Do the same thing with: C6 40 05 01 48 85 C9 => C6 40 05 01 48 85 C9 | |
| > * Click "Save as" then name it: sublime_text | |
| > * Copy your modified sublime_text.exe to directory Sublime Text |
NewerOlder