Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 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
In this walkthrough we will see how to use Pinecone for semantic search. |
This file contains 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 pandas as pd | |
from langchain.schema import Document | |
from langchain_community.embeddings import OllamaEmbeddings | |
from langchain_community.vectorstores import Chroma | |
from tqdm import tqdm |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap'); | |
.CodeMirror pre, .CodeMirror-dialog, .CodeMirror-dialog .CodeMirror-search-field, .terminal-app .terminal { | |
font-family: 'Inter'; | |
font-size: 12pt; | |
} | |
body { | |
font-family: 'Inter', sans-serif !important; | |
color: #263333; /* change to the color you want */ | |
} | |
h1 { |
This file contains 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 url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap'); | |
.CodeMirror pre, .CodeMirror-dialog, .CodeMirror-dialog .CodeMirror-search-field, .terminal-app .terminal { | |
font-family: 'Inter'; | |
font-size: 12pt; | |
} | |
body { | |
font-family: 'Inter', sans-serif !important; | |
color: #263333; /* change to the color you want */ | |
} | |
h1 { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder