Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/vectorstore myscale #1

Merged
merged 15 commits into from
Apr 21, 2023
Merged

Feature/vectorstore myscale #1

merged 15 commits into from
Apr 21, 2023

Conversation

mpskex
Copy link

@mpskex mpskex commented Apr 17, 2023

No description provided.

@mpskex
Copy link
Author

mpskex commented Apr 19, 2023

RSVP @chtlp @melovy

docs/ecosystem/myscale.md Outdated Show resolved Hide resolved
docs/ecosystem/myscale.md Outdated Show resolved Hide resolved
docs/modules/indexes/vectorstores/examples/myscale.ipynb Outdated Show resolved Hide resolved
docs/modules/indexes/vectorstores/examples/myscale.ipynb Outdated Show resolved Hide resolved
langchain/vectorstores/myscale.py Outdated Show resolved Hide resolved
@mpskex mpskex closed this Apr 20, 2023
@mpskex mpskex force-pushed the feature/vectorstore_myscale branch from b843bf7 to 2846cb4 Compare April 20, 2023 06:40
add unit tests

revised
@melovy
Copy link

melovy commented Apr 20, 2023

poetry.lock 是不是也应该加上 clickhouse-connect

@melovy
Copy link

melovy commented Apr 20, 2023

还有 pyproject.toml

@mpskex mpskex self-assigned this Apr 20, 2023
@mpskex mpskex requested review from melovy, lqhl and chtlp April 20, 2023 10:28
@mpskex
Copy link
Author

mpskex commented Apr 20, 2023

poetry.lock 是不是也应该加上 clickhouse-connect

poetry 需要用 poetry lock 自动生成

Copy link

@melovy melovy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mpskex mpskex removed the request for review from lqhl April 21, 2023 02:58
@mpskex mpskex merged commit 6f6f27e into master Apr 21, 2023
@mpskex mpskex deleted the feature/vectorstore_myscale branch April 21, 2023 03:16
mpskex pushed a commit that referenced this pull request Jun 9, 2023
without --no-sandbox param, load documents from url by selenium in
chrome occured error below:

```Traceback (most recent call last):
  File "/data//playgroud/try_langchain.py", line 343, in <module>
    langchain_doc_loader()
  File "/data//playgroud/try_langchain.py", line 67, in langchain_doc_loader
    documents = loader.load()
  File "/install/anaconda3-env/envs/python3.10/lib/python3.10/site-packages/langchain/document_loaders/url_selenium.py", line 102, in load
    driver = self._get_driver()
  File "/install/anaconda3-env/envs/python3.10/lib/python3.10/site-packages/langchain/document_loaders/url_selenium.py", line 76, in _get_driver
    return Chrome(options=chrome_options)
  File "/install/anaconda3-env/envs/python3.10/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 80, in __init__
    super().__init__(
  File "/install/anaconda3-env/envs/python3.10/lib/python3.10/site-packages/selenium/webdriver/chromium/webdriver.py", line 104, in __init__
    super().__init__(
  File "/install/anaconda3-env/envs/python3.10/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 286, in __init__
    self.start_session(capabilities, browser_profile)
  File "/install/anaconda3-env/envs/python3.10/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 378, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "/install/anaconda3-env/envs/python3.10/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
    self.error_handler.check_response(response)
  File "/install/anaconda3-env/envs/python3.10/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
  (unknown error: DevToolsActivePort file doesn't exist)
  (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Stacktrace:
#0 0x55cf8da1bfe3 <unknown>
#1 0x55cf8d75ad36 <unknown>
#2 0x55cf8d783b20 <unknown>
#3 0x55cf8d77fa9b <unknown>
#4 0x55cf8d7c1af7 <unknown>
#5 0x55cf8d7c111f <unknown>
#6 0x55cf8d7b8693 <unknown>
langchain-ai#7 0x55cf8d78b03a <unknown>
langchain-ai#8 0x55cf8d78c17e <unknown>
langchain-ai#9 0x55cf8d9dddbd <unknown>
langchain-ai#10 0x55cf8d9e1c6c <unknown>
langchain-ai#11 0x55cf8d9eb4b0 <unknown>
langchain-ai#12 0x55cf8d9e2d63 <unknown>
langchain-ai#13 0x55cf8d9b5c35 <unknown>
langchain-ai#14 0x55cf8da06138 <unknown>
langchain-ai#15 0x55cf8da062c7 <unknown>
langchain-ai#16 0x55cf8da14093 <unknown>
langchain-ai#17 0x7f3da31a72de start_thread
```

add option `chrome_options.add_argument("--no-sandbox")` for chrome.
mpskex added a commit that referenced this pull request Jun 14, 2023
mpskex pushed a commit that referenced this pull request Oct 16, 2023
Initial commit of rl_chain code
chtlp pushed a commit that referenced this pull request Mar 10, 2024
…introduction (langchain-ai#16568)

- **Description:** Adding Baichuan Text Embedding Model and Baichuan Inc
introduction.

Baichuan Text Embedding ranks #1 in C-MTEB leaderboard:
https://huggingface.co/spaces/mteb/leaderboard

Co-authored-by: BaiChuanHelper <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants