LiaoKong
8f8455b24d
fix a link name format to the dependents document
2023-08-29 21:55:05 +08:00
olgavrou
256849e02a
Merge pull request #8 from VowpalWabbit/update_w_score
...
update score to take entire response object to make it easier for user
2023-08-29 09:18:52 -04:00
olgavrou
d46ad01ee0
Merge pull request #7 from VowpalWabbit/scorer_activate_deactivate
...
activate and deactivate scorer
2023-08-29 09:12:11 -04:00
olgavrou
5fb781dfde
Merge pull request #6 from VowpalWabbit/cb_defaults
...
cb defaults and some fixes
2023-08-29 08:47:28 -04:00
olgavrou
48aaa27bf7
update score to take entire response object to make it easier for user
2023-08-29 08:46:55 -04:00
olgavrou
c4ccaebbbb
activate and deactivate scorer
2023-08-29 08:37:59 -04:00
olgavrou
7eaaad51de
cb defaults and some fixes
2023-08-29 07:42:45 -04:00
olgavrou
42bdb003ee
Merge pull request #5 from VowpalWabbit/nosockettests
...
unit tests to use mock encoder
2023-08-29 07:28:03 -04:00
olgavrou
f8b5c2977a
restore ci workflow
2023-08-29 07:17:40 -04:00
olgavrou
5727148f2b
make sure test don't try to download sentence transformer models
2023-08-29 07:09:58 -04:00
olgavrou
72eab3b37e
test
2023-08-29 06:35:27 -04:00
olgavrou
4b930f58e9
test
2023-08-29 06:28:07 -04:00
olgavrou
0a2724d8c7
test
2023-08-29 06:27:56 -04:00
olgavrou
5de212d907
Merge branch 'langchain-ai:master' into master
2023-08-29 05:58:22 -04:00
olgavrou
f7fb083aba
Merge pull request #3 from VowpalWabbit/fix_linting
...
Fix mypy errors
2023-08-29 05:58:03 -04:00
olgavrou
4e6e03ef50
fix mypy complaint
2023-08-29 05:51:52 -04:00
olgavrou
d50c0f139d
re order imports
2023-08-29 05:46:56 -04:00
olgavrou
758225dc17
include type
2023-08-29 05:44:09 -04:00
olgavrou
44485c2b26
make input arg type more explicit
2023-08-29 05:42:45 -04:00
olgavrou
8d10a52525
fix linting complaints
2023-08-29 05:36:45 -04:00
olgavrou
b3c0728de2
fix mypy errors in tests
2023-08-29 05:28:43 -04:00
olgavrou
0b8691c6e5
fix all mypy errors and some renaming and refactoring
2023-08-29 05:19:19 -04:00
olgavrou
a11ad11d06
fix all mypy errors
2023-08-29 03:59:01 -04:00
adilkhan
bbae8cb88f
Added runtime argument
2023-08-29 12:12:49 +06:00
Ofer Mendelevitch
4454204455
reformat black
2023-08-28 23:04:57 -07:00
Ofer Mendelevitch
318a21e267
fixed typo in spelling
2023-08-28 23:01:11 -07:00
hughcrt
e71f4760db
Change multiline comment width
2023-08-29 07:55:10 +02:00
Ofer Mendelevitch
a5450be32e
fixed lint
2023-08-28 22:31:39 -07:00
Ofer Mendelevitch
8b8d2a6535
fixed similarity_search_with_score to really use a score
...
updated unit test with a test for score threshold
Updated demo notebook
2023-08-28 22:26:55 -07:00
Ofer Mendelevitch
1b6947e56c
Merge branch 'langchain-ai:master' into master
2023-08-28 21:42:47 -07:00
hughcrt
7979cef06a
Replace |
by Union
2023-08-29 06:22:50 +02:00
Nikhil Suresh
23ef836b48
matches colon and any number of white spaces after colon
2023-08-29 04:18:33 +00:00
Ikko Eltociear Ashimine
766bbd6c6b
Fix typo in code_understanding.ipynb
...
seperate -> separate
2023-08-29 12:57:19 +09:00
Nikhil Suresh
64eb5a6082
removed unnecessary white space in regex that breaks qa with sources chain
2023-08-29 03:54:38 +00:00
Nikhil Suresh
8a4670e127
updated formatting changes
2023-08-29 03:54:38 +00:00
Nikhil Suresh
b1f649bca5
fixed issue with white space and added unit tests
2023-08-29 03:54:38 +00:00
Nikhil Suresh
6d3485e798
fixed regex to match sources for all cases, also includes source
2023-08-29 03:54:25 +00:00
tongtie
82a3c2a557
docs: Fix the syntax error, replace "dotenv.load_env()" with "dotenv.load_dotenv()".
2023-08-29 11:52:50 +08:00
Mazhar (Taha) Mumbaiwala
e80834d783
docs: Fix spelling mistakes in Etherscan.ipynb ( #9845 )
2023-08-28 19:30:00 -07:00
Philippe PRADOS
7fdb7439e0
Update google drive notebooks ( #9851 )
...
Update google drive doc loader and retriever notebooks. Show how to use with langchain-googledrive package.
---------
Co-authored-by: Bagatur <baskaryan@gmail.com>
2023-08-28 19:29:35 -07:00
Xiaobing Mi
5d47833ae1
Fix typo in web_scraping.ipynb ( #9835 )
2023-08-28 19:26:23 -07:00
Leonid Ganeline
b1bffea9c7
docs: fix for title of llm_caching
nb ( #9891 )
...
Fixed title for the `extras/integrations/llms/llm_caching.ipynb`.
Existing title breaks the sorted order of items in the navbar.
Updated some formatting.
2023-08-28 18:34:04 -07:00
Leonid Ganeline
e01b00aa54
docs: ainetwork
update ( #9871 )
...
* Added links to the AI Network
* Made title consistent to other tool kits
* Added `integrations/providers/` integration card page
* **No changes** in the example code!
2023-08-28 18:16:22 -07:00
Predrag Gruevski
47499c6db4
Avoid type: ignore
suppression by adding mypy type hint. ( #9881 )
...
Mypy was not able to determine a good type for `type_to_loader_dict`,
since the values in the dict are functions whose return types are
related to each other in a complex way. One can see this by adding a
line like `reveal_type(type_to_loader_dict)` and running mypy, which
will get mypy to show what type it has inferred for that value.
Adding an explicit type hint to help out mypy avoids the need for a mypy
suppression and allows the code to type-check cleanly.
2023-08-28 17:53:33 -07:00
maks-operlejn-ds
f327535eda
Add conftest file to langchain experimental ( #9886 )
...
In order to use `requires` marker in langchain-experimental, there's a
need for *conftest.py* file inside. Everything is identical to the main
langchain module.
Co-authored-by: maks-operlejn-ds <maks.operlejn@gmail.com>
2023-08-28 17:52:16 -07:00
Leonid Ganeline
cf122b6269
docs: Infino
example fix ( #9888 )
...
- Fixed a broken link in the `integrations/providers/infino.mdx`
- Fixed a title in the `integration/collbacks/infino.ipynb` example
- Updated text format in this example.
2023-08-28 17:42:11 -07:00
Piyush Jain
fe1b9ee6b8
Updated notebook for comprehend moderation ( #9875 )
...
### Description
Updated the notebook for comprehend moderation.
cc @baskaryan
2023-08-28 16:01:43 -07:00
William FH
907c57e324
Add collect_runs callback ( #9885 )
2023-08-28 15:30:41 -07:00
William FH
3103f07e03
Use existing required args obj if specified ( #9883 )
...
We always overwrote the required args but we infer them by default.
Doing it only the old way makes it so the llm guesses even if an arg is
optional (e.g., for uuids)
2023-08-28 14:40:22 -07:00
William FH
b14d74dd4d
iMessage loader ( #9832 )
...
Add an iMessage chat loader
2023-08-28 13:43:59 -07:00