url
stringlengths 63
64
| repository_url
stringclasses 1
value | labels_url
stringlengths 77
78
| comments_url
stringlengths 72
73
| events_url
stringlengths 70
71
| html_url
stringlengths 51
54
| id
int64 1.73B
2.09B
| node_id
stringlengths 18
19
| number
int64 5.23k
16.2k
| title
stringlengths 1
385
| user
dict | labels
list | state
stringclasses 2
values | locked
bool 2
classes | assignee
dict | assignees
list | milestone
null | comments
int64 0
56
| created_at
timestamp[s] | updated_at
timestamp[s] | closed_at
timestamp[s] | author_association
stringclasses 3
values | active_lock_reason
null | body
stringlengths 1
55.4k
โ | reactions
dict | timeline_url
stringlengths 72
73
| performed_via_github_app
null | state_reason
stringclasses 3
values | draft
bool 2
classes | pull_request
dict |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/langchain-ai/langchain/issues/7840
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7840/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7840/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7840/events
|
https://github.com/langchain-ai/langchain/pull/7840
| 1,807,975,581 |
PR_kwDOIPDwls5VrpjG
| 7,840 |
Add filter for metadata, text filter for page_content in AwaDB
|
{
"login": "ljeagle",
"id": 15918167,
"node_id": "MDQ6VXNlcjE1OTE4MTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/15918167?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ljeagle",
"html_url": "https://github.com/ljeagle",
"followers_url": "https://api.github.com/users/ljeagle/followers",
"following_url": "https://api.github.com/users/ljeagle/following{/other_user}",
"gists_url": "https://api.github.com/users/ljeagle/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ljeagle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ljeagle/subscriptions",
"organizations_url": "https://api.github.com/users/ljeagle/orgs",
"repos_url": "https://api.github.com/users/ljeagle/repos",
"events_url": "https://api.github.com/users/ljeagle/events{/privacy}",
"received_events_url": "https://api.github.com/users/ljeagle/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-17T14:58:10 | 2023-07-17T23:11:51 | 2023-07-17T23:11:43 |
CONTRIBUTOR
| null |
1.add the filter for metadata
2.add text filter in page_content
3.fix the bug of similarity_search_by_vector with scores
Improvement and fix bug for the AwaDB
Please review @rlancemartin, @eyurtsev, Thanks!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7840/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7840/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7840",
"html_url": "https://github.com/langchain-ai/langchain/pull/7840",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7840.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7840.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7839
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7839/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7839/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7839/events
|
https://github.com/langchain-ai/langchain/issues/7839
| 1,807,967,519 |
I_kwDOIPDwls5rw2Uf
| 7,839 |
Self Query Retriever with Google Flan T5 models issue
|
{
"login": "RanElgedawy",
"id": 95228400,
"node_id": "U_kgDOBa0R8A",
"avatar_url": "https://avatars.githubusercontent.com/u/95228400?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RanElgedawy",
"html_url": "https://github.com/RanElgedawy",
"followers_url": "https://api.github.com/users/RanElgedawy/followers",
"following_url": "https://api.github.com/users/RanElgedawy/following{/other_user}",
"gists_url": "https://api.github.com/users/RanElgedawy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/RanElgedawy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RanElgedawy/subscriptions",
"organizations_url": "https://api.github.com/users/RanElgedawy/orgs",
"repos_url": "https://api.github.com/users/RanElgedawy/repos",
"events_url": "https://api.github.com/users/RanElgedawy/events{/privacy}",
"received_events_url": "https://api.github.com/users/RanElgedawy/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-17T14:54:36 | 2023-11-03T18:01:40 | 2023-10-23T16:06:16 |
NONE
| null |
### System Info
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Traceback (most recent call last) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/site-packages/langchain/output_parsers/json.py:32 โ
โ in parse_and_check_json_markdown โ
โ โ
โ 29 โ
โ 30 def parse_and_check_json_markdown(text: str, expected_keys: List[str]) -> dict: โ
โ 31 โ try: โ
โ โฑ 32 โ โ json_obj = parse_json_markdown(text) โ
โ 33 โ except json.JSONDecodeError as e: โ
โ 34 โ โ raise OutputParserException(f"Got invalid JSON object. Error: {e}") โ
โ 35 โ for key in expected_keys: โ
โ โ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/site-packages/langchain/output_parsers/json.py:25 โ
โ in parse_json_markdown โ
โ โ
โ 22 โ json_str = json_str.strip() โ
โ 23 โ โ
โ 24 โ # Parse the JSON string into a Python dictionary โ
โ โฑ 25 โ parsed = json.loads(json_str) โ
โ 26 โ โ
โ 27 โ return parsed โ
โ 28 โ
โ โ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/json/__init__.py:346 in loads โ
โ โ
โ 343 โ if (cls is None and object_hook is None and โ
โ 344 โ โ โ parse_int is None and parse_float is None and โ
โ 345 โ โ โ parse_constant is None and object_pairs_hook is None and not kw): โ
โ โฑ 346 โ โ return _default_decoder.decode(s) โ
โ 347 โ if cls is None: โ
โ 348 โ โ cls = JSONDecoder โ
โ 349 โ if object_hook is not None: โ
โ โ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/json/decoder.py:337 in decode โ
โ โ
โ 334 โ โ containing a JSON document). โ
โ 335 โ โ โ
โ 336 โ โ """ โ
โ โฑ 337 โ โ obj, end = self.raw_decode(s, idx=_w(s, 0).end()) โ
โ 338 โ โ end = _w(s, end).end() โ
โ 339 โ โ if end != len(s): โ
โ 340 โ โ โ raise JSONDecodeError("Extra data", s, end) โ
โ โ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/json/decoder.py:355 in raw_decode โ
โ โ
โ 352 โ โ try: โ
โ 353 โ โ โ obj, end = self.scan_once(s, idx) โ
โ 354 โ โ except StopIteration as err: โ
โ โฑ 355 โ โ โ raise JSONDecodeError("Expecting value", s, err.value) from None โ
โ 356 โ โ return obj, end โ
โ 357 โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Traceback (most recent call last) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/site-packages/langchain/chains/query_constructor/b โ
โ ase.py:37 in parse โ
โ โ
โ 34 โ โ try: โ
โ 35 โ โ โ expected_keys = ["query", "filter"] โ
โ 36 โ โ โ allowed_keys = ["query", "filter", "limit"] โ
โ โฑ 37 โ โ โ parsed = parse_and_check_json_markdown(text, expected_keys) โ
โ 38 โ โ โ if len(parsed["query"]) == 0: โ
โ 39 โ โ โ โ parsed["query"] = " " โ
โ 40 โ โ โ if parsed["filter"] == "NO_FILTER" or not parsed["filter"]: โ
โ โ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/site-packages/langchain/output_parsers/json.py:34 โ
โ in parse_and_check_json_markdown โ
โ โ
โ 31 โ try: โ
โ 32 โ โ json_obj = parse_json_markdown(text) โ
โ 33 โ except json.JSONDecodeError as e: โ
โ โฑ 34 โ โ raise OutputParserException(f"Got invalid JSON object. Error: {e}") โ
โ 35 โ for key in expected_keys: โ
โ 36 โ โ if key not in json_obj: โ
โ 37 โ โ โ raise OutputParserException( โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
OutputParserException: Got invalid JSON object. Error: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Traceback (most recent call last) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/site-packages/IPython/core/magics/execution.py:132 โ
โ 5 in time โ
โ โ
โ 1322 โ โ else: โ
โ 1323 โ โ โ st = clock2() โ
โ 1324 โ โ โ try: โ
โ โฑ 1325 โ โ โ โ exec(code, glob, local_ns) โ
โ 1326 โ โ โ โ out=None โ
โ 1327 โ โ โ โ # multi-line %%time case โ
โ 1328 โ โ โ โ if expr_val is not None: โ
โ in <module>:1 โ
โ โ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/site-packages/langchain/chains/base.py:149 in โ
โ __call__ โ
โ โ
โ 146 โ โ โ ) โ
โ 147 โ โ except (KeyboardInterrupt, Exception) as e: โ
โ 148 โ โ โ run_manager.on_chain_error(e) โ
โ โฑ 149 โ โ โ raise e โ
โ 150 โ โ run_manager.on_chain_end(outputs) โ
โ 151 โ โ final_outputs: Dict[str, Any] = self.prep_outputs( โ
โ 152 โ โ โ inputs, outputs, return_only_outputs โ
โ โ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/site-packages/langchain/chains/base.py:143 in โ
โ __call__ โ
โ โ
โ 140 โ โ ) โ
โ 141 โ โ try: โ
โ 142 โ โ โ outputs = ( โ
โ โฑ 143 โ โ โ โ self._call(inputs, run_manager=run_manager) โ
โ 144 โ โ โ โ if new_arg_supported โ
โ 145 โ โ โ โ else self._call(inputs) โ
โ 146 โ โ โ ) โ
โ โ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/site-packages/langchain/chains/conversational_retr โ
โ ieval/base.py:110 in _call โ
โ โ
โ 107 โ โ โ ) โ
โ 108 โ โ else: โ
โ 109 โ โ โ new_question = question โ
โ โฑ 110 โ โ docs = self._get_docs(new_question, inputs) โ
โ 111 โ โ new_inputs = inputs.copy() โ
โ 112 โ โ new_inputs["question"] = new_question โ
โ 113 โ โ new_inputs["chat_history"] = chat_history_str โ
โ โ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/site-packages/langchain/chains/conversational_retr โ
โ ieval/base.py:191 in _get_docs โ
โ โ
โ 188 โ โ return docs[:num_docs] โ
โ 189 โ โ
โ 190 โ def _get_docs(self, question: str, inputs: Dict[str, Any]) -> List[Document]: โ
โ โฑ 191 โ โ docs = self.retriever.get_relevant_documents(question) โ
โ 192 โ โ return self._reduce_tokens_below_limit(docs) โ
โ 193 โ โ
โ 194 โ async def _aget_docs(self, question: str, inputs: Dict[str, Any]) -> List[Document]: โ
โ โ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/site-packages/langchain/retrievers/self_query/base โ
โ .py:96 in get_relevant_documents โ
โ โ
โ 93 โ โ inputs = self.llm_chain.prep_inputs({"query": query}) โ
โ 94 โ โ structured_query = cast( โ
โ 95 โ โ โ StructuredQuery, โ
โ โฑ 96 โ โ โ self.llm_chain.predict_and_parse(callbacks=callbacks, **inputs), โ
โ 97 โ โ ) โ
โ 98 โ โ if self.verbose: โ
โ 99 โ โ โ print(structured_query) โ
โ โ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/site-packages/langchain/chains/llm.py:281 in โ
โ predict_and_parse โ
โ โ
โ 278 โ โ ) โ
โ 279 โ โ result = self.predict(callbacks=callbacks, **kwargs) โ
โ 280 โ โ if self.prompt.output_parser is not None: โ
โ โฑ 281 โ โ โ return self.prompt.output_parser.parse(result) โ
โ 282 โ โ else: โ
โ 283 โ โ โ return result โ
โ 284 โ
โ โ
โ /home/cloud/anaconda3/envs/mir/lib/python3.10/site-packages/langchain/chains/query_constructor/b โ
โ ase.py:50 in parse โ
โ โ
โ 47 โ โ โ โ **{k: v for k, v in parsed.items() if k in allowed_keys} โ
โ 48 โ โ โ ) โ
โ 49 โ โ except Exception as e: โ
โ โฑ 50 โ โ โ raise OutputParserException( โ
โ 51 โ โ โ โ f"Parsing text\n{text}\n raised following error:\n{e}" โ
โ 52 โ โ โ ) โ
โ 53 โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
OutputParserException: Parsing text
json "query": "patient medical notes", "ID": "11542052" "old": ""
raised following error:
Got invalid JSON object. Error: Expecting value: line 1 column 1 (char 0)
### Who can help?
@hwchase17
@ag
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [X] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
model_id = 'google/flan-t5-xl'
tokenizer = AutoTokenizer.from_pretrained(model_id)
pipe = pipeline(
model=model_id,
tokenizer=tokenizer,
max_length=2048,
temperature=0.1,
top_p=0.95,
repetition_penalty=1.
)
llm = HuggingFacePipeline(pipeline=pipe)
document_content_description = "Patient medical notes"
metadata_field_info = [
AttributeInfo(
name="ID",
description="The unique identifier 'ID' of the patient",
type="string",
),
AttributeInfo(
name="source",
description="source of the document",
type="string",
),
]
retriever = SelfQueryRetriever.from_llm(
llm,
db,
document_content_description,
metadata_field_info,
verbose = True
)
memory=ConversationBufferMemory(memory_key="chat_history",output_key='answer')
chain = ConversationalRetrievalChain.from_llm(
llm = llm,
retriever=retriever,
memory=memory,
get_chat_history=lambda h :h)
### Expected behavior
Expected behavior should be something as attached

|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7839/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7839/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7838
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7838/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7838/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7838/events
|
https://github.com/langchain-ai/langchain/pull/7838
| 1,807,964,185 |
PR_kwDOIPDwls5Vrm_o
| 7,838 |
fix
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-17T14:52:50 | 2023-07-17T14:53:13 | 2023-07-17T14:53:12 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7838/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7838/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7838",
"html_url": "https://github.com/langchain-ai/langchain/pull/7838",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7838.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7838.patch",
"merged_at": "2023-07-17T14:53:12"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7837
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7837/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7837/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7837/events
|
https://github.com/langchain-ai/langchain/pull/7837
| 1,807,961,220 |
PR_kwDOIPDwls5VrmWU
| 7,837 |
Add CLI command to create a new project
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 5 | 2023-07-17T14:51:12 | 2023-10-04T19:43:43 | 2023-10-04T19:43:42 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7837/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7837/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7837",
"html_url": "https://github.com/langchain-ai/langchain/pull/7837",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7837.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7837.patch",
"merged_at": "2023-10-04T19:43:42"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7836
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7836/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7836/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7836/events
|
https://github.com/langchain-ai/langchain/pull/7836
| 1,807,921,686 |
PR_kwDOIPDwls5Vrdyh
| 7,836 |
bump 235
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5010622926,
"node_id": "LA_kwDOIPDwls8AAAABKqgJzg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/release",
"name": "release",
"color": "07D4BE",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-17T14:31:23 | 2023-07-17T16:37:22 | 2023-07-17T16:37:21 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7836/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7836/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7836",
"html_url": "https://github.com/langchain-ai/langchain/pull/7836",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7836.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7836.patch",
"merged_at": "2023-07-17T16:37:21"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7835
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7835/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7835/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7835/events
|
https://github.com/langchain-ai/langchain/issues/7835
| 1,807,916,214 |
I_kwDOIPDwls5rwpy2
| 7,835 |
BaseRetriever: Latest langchain update is breaking the implementation of extended classes
|
{
"login": "brunopistone",
"id": 10196125,
"node_id": "MDQ6VXNlcjEwMTk2MTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/10196125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brunopistone",
"html_url": "https://github.com/brunopistone",
"followers_url": "https://api.github.com/users/brunopistone/followers",
"following_url": "https://api.github.com/users/brunopistone/following{/other_user}",
"gists_url": "https://api.github.com/users/brunopistone/gists{/gist_id}",
"starred_url": "https://api.github.com/users/brunopistone/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brunopistone/subscriptions",
"organizations_url": "https://api.github.com/users/brunopistone/orgs",
"repos_url": "https://api.github.com/users/brunopistone/repos",
"events_url": "https://api.github.com/users/brunopistone/events{/privacy}",
"received_events_url": "https://api.github.com/users/brunopistone/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 7 | 2023-07-17T14:28:52 | 2023-11-24T16:07:44 | 2023-11-24T16:07:44 |
NONE
| null |
### System Info
MacOS: Ventura 13.4
langchain: 0.0.234
### Who can help?
@eyurtsev
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. Extend the class BaseRetriever like the following:
ยดยดยด
class DocumentRetrieverExtended(BaseRetriever):
def __init__(self, retriever, vector_field, text_field, k=3, return_source_documents=False, score_threshold=None, **kwargs):
self.k = k
self.vector_field = vector_field
self.text_field = text_field
self.return_source_documents = return_source_documents
self.retriever = retriever
self.filter = filter
self.score_threshold = score_threshold
self.kwargs = kwargs
ยดยดยด
2. Provide DocumentRetrieverExtended as retriever object to ConversationalRetrievalChainExtended.from_llm()
3. You will receive the following exception:
```
File "pydantic/main.py", line 357, in pydantic.main.BaseModel.__setattr__
ValueError: "DocumentRetrieverExtended" object has no field "k"
```
### Expected behavior
Until version 0.0.189 it was working properly. Please consider to fix the bug or update the langchain documentation for providing the new way of implementing it (Honestly I was expecting that new releases should not break what was working previously)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7835/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7835/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7834
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7834/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7834/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7834/events
|
https://github.com/langchain-ai/langchain/issues/7834
| 1,807,906,358 |
I_kwDOIPDwls5rwnY2
| 7,834 |
ConversationalRetrievalChain: Add parameter for not invoking self.question_generator.run()
|
{
"login": "brunopistone",
"id": 10196125,
"node_id": "MDQ6VXNlcjEwMTk2MTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/10196125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brunopistone",
"html_url": "https://github.com/brunopistone",
"followers_url": "https://api.github.com/users/brunopistone/followers",
"following_url": "https://api.github.com/users/brunopistone/following{/other_user}",
"gists_url": "https://api.github.com/users/brunopistone/gists{/gist_id}",
"starred_url": "https://api.github.com/users/brunopistone/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brunopistone/subscriptions",
"organizations_url": "https://api.github.com/users/brunopistone/orgs",
"repos_url": "https://api.github.com/users/brunopistone/repos",
"events_url": "https://api.github.com/users/brunopistone/events{/privacy}",
"received_events_url": "https://api.github.com/users/brunopistone/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-17T14:23:37 | 2023-10-23T16:06:22 | 2023-10-23T16:06:22 |
NONE
| null |
### Feature request
ConversationalRetrievalChain is implementing in the **_call()** method the following behavior:
```
if chat_history_str:
callbacks = _run_manager.get_child()
new_question = self.question_generator.run(
question=question, chat_history=chat_history_str, callbacks=callbacks
)
else:
new_question = question
```
Please add the possibility to avoid this step, like the following:
```
qa = ConversationalRetrievalChainExtended.from_llm(
llm=self.llm,
retriever=self.retriever,
combine_docs_chain_kwargs={"prompt": PROMPT},
return_source_documents=True,
verbose=True,
memory=self.memory,
generate_question=False
)
```
In order to avoid the generation of a new question
### Motivation
The current behavior is not generic and applicable to all the LLMs. Some Foundation Models require a specific format for the template (e.g.) and this is causing exceptions on generating the question (e.g. multiple times Anthropic is generating empty results). Moreover, most of the people is already formatting the template for having the desired behavior. Please include this feature ASAP
### Your contribution
I've already extended the class. Please let me know if you need the code (is a small change you should apply, strange it is not the standard behavior)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7834/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7834/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7833
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7833/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7833/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7833/events
|
https://github.com/langchain-ai/langchain/issues/7833
| 1,807,743,134 |
I_kwDOIPDwls5rv_ie
| 7,833 |
raise AttributeError(name) from None AttributeError: OPENAI_FUNCTIONS
|
{
"login": "iamsmthing",
"id": 90586668,
"node_id": "MDQ6VXNlcjkwNTg2NjY4",
"avatar_url": "https://avatars.githubusercontent.com/u/90586668?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iamsmthing",
"html_url": "https://github.com/iamsmthing",
"followers_url": "https://api.github.com/users/iamsmthing/followers",
"following_url": "https://api.github.com/users/iamsmthing/following{/other_user}",
"gists_url": "https://api.github.com/users/iamsmthing/gists{/gist_id}",
"starred_url": "https://api.github.com/users/iamsmthing/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/iamsmthing/subscriptions",
"organizations_url": "https://api.github.com/users/iamsmthing/orgs",
"repos_url": "https://api.github.com/users/iamsmthing/repos",
"events_url": "https://api.github.com/users/iamsmthing/events{/privacy}",
"received_events_url": "https://api.github.com/users/iamsmthing/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 5 | 2023-07-17T13:04:07 | 2023-07-24T22:40:56 | 2023-07-18T05:34:13 |
NONE
| null |
### System Info

### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [X] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
The above code snippet is not working when i'm trying to give LLM an input via streamlit or flask. Error occurs when we are trying to use:``` agent_type=AgentType.OPENAI_FUNCTIONS,```. It's Raising the error like as Below:
```
raise AttributeError(name) from None
AttributeError: OPENAI_FUNCTIONS
```
### Expected behavior
I expect that when we give input from either post request via FLASK or via streamlit input box, it should accept the input and should pass on this input to agent to run it and give the result accordingly,.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7833/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7833/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7832
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7832/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7832/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7832/events
|
https://github.com/langchain-ai/langchain/pull/7832
| 1,807,733,119 |
PR_kwDOIPDwls5Vq0cs
| 7,832 |
Add client params to aleph alpha (llm and embedding)
|
{
"login": "tugot17",
"id": 27293258,
"node_id": "MDQ6VXNlcjI3MjkzMjU4",
"avatar_url": "https://avatars.githubusercontent.com/u/27293258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tugot17",
"html_url": "https://github.com/tugot17",
"followers_url": "https://api.github.com/users/tugot17/followers",
"following_url": "https://api.github.com/users/tugot17/following{/other_user}",
"gists_url": "https://api.github.com/users/tugot17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tugot17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tugot17/subscriptions",
"organizations_url": "https://api.github.com/users/tugot17/orgs",
"repos_url": "https://api.github.com/users/tugot17/repos",
"events_url": "https://api.github.com/users/tugot17/events{/privacy}",
"received_events_url": "https://api.github.com/users/tugot17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-17T12:58:50 | 2023-08-04T03:17:39 | 2023-08-04T03:17:38 |
CONTRIBUTOR
| null |
To make it easier to use aleph alpha models via Langchain, we added the client params to the constructor. This is especially useful for our on-premise users who need to specify the host address.
Also, we updated the default versions of the params so they are consistent with our [API](https://docs.aleph-alpha.com/api/semantic-embed/)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7832/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7832/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7832",
"html_url": "https://github.com/langchain-ai/langchain/pull/7832",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7832.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7832.patch",
"merged_at": "2023-08-04T03:17:38"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7830
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7830/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7830/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7830/events
|
https://github.com/langchain-ai/langchain/pull/7830
| 1,807,692,296 |
PR_kwDOIPDwls5VqrYQ
| 7,830 |
WIP: Weaviate MMR search to support fetch_k greater than amount of docs
|
{
"login": "yannickulmrich",
"id": 137299871,
"node_id": "U_kgDOCC8Hnw",
"avatar_url": "https://avatars.githubusercontent.com/u/137299871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yannickulmrich",
"html_url": "https://github.com/yannickulmrich",
"followers_url": "https://api.github.com/users/yannickulmrich/followers",
"following_url": "https://api.github.com/users/yannickulmrich/following{/other_user}",
"gists_url": "https://api.github.com/users/yannickulmrich/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yannickulmrich/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yannickulmrich/subscriptions",
"organizations_url": "https://api.github.com/users/yannickulmrich/orgs",
"repos_url": "https://api.github.com/users/yannickulmrich/repos",
"events_url": "https://api.github.com/users/yannickulmrich/events{/privacy}",
"received_events_url": "https://api.github.com/users/yannickulmrich/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 5 | 2023-07-17T12:39:31 | 2023-11-15T23:36:58 | 2023-11-15T23:36:57 |
NONE
| null |
- Description: Currently, when searching the weaviate vector db with a fetch_k parameter greater than the amount of docs, an error is thrown,
- Issue: #7829
- Dependencies: -,
- Tag maintainer: -,
- Twitter handle: -
Maintainer(s):
- VectorStores rlancemartin, eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7830/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7830/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7830",
"html_url": "https://github.com/langchain-ai/langchain/pull/7830",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7830.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7830.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7829
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7829/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7829/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7829/events
|
https://github.com/langchain-ai/langchain/issues/7829
| 1,807,668,123 |
I_kwDOIPDwls5rvtOb
| 7,829 |
Weaviate MMR Search fails with too high fetch_k parameter
|
{
"login": "yannickulmrich",
"id": 137299871,
"node_id": "U_kgDOCC8Hnw",
"avatar_url": "https://avatars.githubusercontent.com/u/137299871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yannickulmrich",
"html_url": "https://github.com/yannickulmrich",
"followers_url": "https://api.github.com/users/yannickulmrich/followers",
"following_url": "https://api.github.com/users/yannickulmrich/following{/other_user}",
"gists_url": "https://api.github.com/users/yannickulmrich/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yannickulmrich/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yannickulmrich/subscriptions",
"organizations_url": "https://api.github.com/users/yannickulmrich/orgs",
"repos_url": "https://api.github.com/users/yannickulmrich/repos",
"events_url": "https://api.github.com/users/yannickulmrich/events{/privacy}",
"received_events_url": "https://api.github.com/users/yannickulmrich/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-17T12:26:21 | 2023-10-23T16:06:27 | 2023-10-23T16:06:26 |
NONE
| null |
### System Info
Using requirements:
* langchain==0.0.234
* weaviate-client==3.22.1
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
The error occurs, when there are less documents stored in weaviate than trying to use with the fetch_k parameter. Otherwise, this will lead to the following error:
> File "...\Lib\site-packages\langchain\vectorstores\weaviate.py", line 273, in max_marginal_relevance_search
return self.max_marginal_relevance_search_by_vector(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...\Lib\site-packages\langchain\vectorstores\weaviate.py", line 324, in max_marginal_relevance_search_by_vector
docs.append(Document(page_content=text, metadata=meta))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...\Lib\site-packages\langchain\load\serializable.py", line 74, in __init__
super().__init__(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "pydantic\main.py", line 341, in pydantic.main.BaseModel.__init__pydantic.error_wrappers.ValidationError: 1 validation error for Document page_content
none is not an allowed value (type=type_error.none.not_allowed)
Example code for reproduction:
See integration test in fork: https://github.com/yannickulmrich/langchain-issue-7829/commit/a3fea1d08a7e55894ee18099bd5f5751aecf9159
### Expected behavior
I expect the vectorstore to not fail, when the fetch_k parameter is higher, than the amount of Documents in the vector db.
Especially since the default value of the fetch_k parameter is set to 20, this can lead to a lot of unwanted errors, when trying to use the vector db for the first time with few documents to test the behaviour.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7829/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7829/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7828
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7828/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7828/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7828/events
|
https://github.com/langchain-ai/langchain/issues/7828
| 1,807,476,168 |
I_kwDOIPDwls5ru-XI
| 7,828 |
Rephrased question causing issues
|
{
"login": "mahsirat-atiye",
"id": 45205996,
"node_id": "MDQ6VXNlcjQ1MjA1OTk2",
"avatar_url": "https://avatars.githubusercontent.com/u/45205996?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mahsirat-atiye",
"html_url": "https://github.com/mahsirat-atiye",
"followers_url": "https://api.github.com/users/mahsirat-atiye/followers",
"following_url": "https://api.github.com/users/mahsirat-atiye/following{/other_user}",
"gists_url": "https://api.github.com/users/mahsirat-atiye/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mahsirat-atiye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mahsirat-atiye/subscriptions",
"organizations_url": "https://api.github.com/users/mahsirat-atiye/orgs",
"repos_url": "https://api.github.com/users/mahsirat-atiye/repos",
"events_url": "https://api.github.com/users/mahsirat-atiye/events{/privacy}",
"received_events_url": "https://api.github.com/users/mahsirat-atiye/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-17T10:37:53 | 2023-10-23T16:06:31 | 2023-10-23T16:06:31 |
NONE
| null |
### System Info
I have a use case where I ask an AI agent to check if an article adheres to certain guidelines in documents. However, the recent changes in the BaseConversationalRetrievalChain _call function are causing issues. The process of requesting information from OpenAI can be divided into two steps.
In Step 1, the request, chat history, and system prompt are sent, and the question is rephrased. This step aims to prevent the retrieval of irrelevant documents and ask a more accurate question.
In Step 2, the rephrased question, along with the rephrased chat history and documents, is sent to OpenAI to receive an answer. The problem arises after the upgrade, as the library now sends the rephrased question instead of the original question.
In the process of rephrasing the question, the article is removed from the body of the question. As a result, the AI bot is no longer able to respond effectively.
A possible fix, is sending original question in Step2, it would be nice to be able to decide on it using function parameter.
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Document
Doc: Golden guidelines for article
Golden guidelines for articles are as following:
1. Keep the article content as short possible
2. Donโt add new content. It should be a refinement and improvement of what is already there to maintain accuracy
3. Use a clear and concise writing style: Keep sentences short and to the point.
4. Organise content using headings and subheadings: Divide the article into sections with relevant headings, making it easy for readers to find the information they need.
5. Make sure page titles and section headings are action-focused and not in question format
6. Use bullet points and numbered lists to show information in a clear and organised structure
7. Highlight important information using bold or italic text: Emphasise key points or specific instructions by using bold or italic formatting.
------
ask this question:
Review the following document and check if it is following golden guidelines, here is my doc
---------
What is an eTicket?
Instead of a paper ticket, your ticket will be emailed to you as a PDF attachment. If you miss the email, it will also be available for download from the trip itinerary page of your TravelPerk account.
This saves you time at the train station as you no longer have to print a ticket from a ticket machine.
How do I get an eTicket?
When searching for a train in the UK:
Select your preferred time and click on See tickets.
Scroll down to Ticket delivery method.
Select Get an eTicket.
Click on Add to trip.
You will receive the PDF ticket with your TravelPerk confirmation email. You will also be able to download it from your account under Trips -> select a specific trip.
How do I use my eTicket?
Itโs really easy! Simply open the PDF ticket on your phone and scan the barcode when you travel.
If there is no scanner at the station, just show the eTicket to a staff member at the barrier.
rephrased question:
Review provided article
final response: As an AI, I can't review the article titled "What is an eTicket?" because you haven't provided the content of the article. Please provide the article content
### Expected behavior
expected answer would be sth like this:
The article is well-structured and follows the Golden guidelines for articles. Here are some points to note:
1. Relevance: The article is very relevant to its intended audience, which seems to be those using eTickets for train travel in the UK.
2. Clarity: The article is clear and easy to understand. The language is simple and the sentences are concise.
3. Depth: The article provides a good level of detail on its subject. It answers many potential questions a reader might have about eTickets and provides step-by-step instructions on how to get and use them.
4. Accuracy: The information in the article appears to be accurate, although without further context or sources, it's hard to verify.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7828/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7828/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7827
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7827/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7827/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7827/events
|
https://github.com/langchain-ai/langchain/issues/7827
| 1,807,441,167 |
I_kwDOIPDwls5ru10P
| 7,827 |
Chroma and Milvus be larger than 10
|
{
"login": "wenshu400",
"id": 71975231,
"node_id": "MDQ6VXNlcjcxOTc1MjMx",
"avatar_url": "https://avatars.githubusercontent.com/u/71975231?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wenshu400",
"html_url": "https://github.com/wenshu400",
"followers_url": "https://api.github.com/users/wenshu400/followers",
"following_url": "https://api.github.com/users/wenshu400/following{/other_user}",
"gists_url": "https://api.github.com/users/wenshu400/gists{/gist_id}",
"starred_url": "https://api.github.com/users/wenshu400/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wenshu400/subscriptions",
"organizations_url": "https://api.github.com/users/wenshu400/orgs",
"repos_url": "https://api.github.com/users/wenshu400/repos",
"events_url": "https://api.github.com/users/wenshu400/events{/privacy}",
"received_events_url": "https://api.github.com/users/wenshu400/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-17T10:15:14 | 2023-10-23T16:06:37 | 2023-10-23T16:06:36 |
NONE
| null |
### System Info
vector_store = Milvus.from_documents(
text,
embedding=das_embedding,
connection_args={"host": MILVUS_HOST, "port": MILVUS_PORT}
)
ValueError: status_code: 400
code: InvalidParameter
message: batch size is invalid, it should not be larger than 10.: payload.input.contents
text[:10]ๆปก่ถณ๏ผๅ
ถไปไธ่ก
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
from langchain.vectorstores import Milvus
vector_store = Milvus.from_documents(
text,
embedding=das_embedding,
connection_args={"host": MILVUS_HOST, "port": MILVUS_PORT}
)
### Expected behavior
ValueError: status_code: 400
code: InvalidParameter
message: batch size is invalid, it should not be larger than 10.: payload.input.contents
่ฟไธช้ๅถๆงๆกไปถ10ๆกๆไนๆน
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7827/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7827/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7826
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7826/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7826/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7826/events
|
https://github.com/langchain-ai/langchain/pull/7826
| 1,807,402,188 |
PR_kwDOIPDwls5VprkD
| 7,826 |
docs: Improve ApifyDatasetLoader docstring
|
{
"login": "jirimoravcik",
"id": 951187,
"node_id": "MDQ6VXNlcjk1MTE4Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/951187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jirimoravcik",
"html_url": "https://github.com/jirimoravcik",
"followers_url": "https://api.github.com/users/jirimoravcik/followers",
"following_url": "https://api.github.com/users/jirimoravcik/following{/other_user}",
"gists_url": "https://api.github.com/users/jirimoravcik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jirimoravcik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jirimoravcik/subscriptions",
"organizations_url": "https://api.github.com/users/jirimoravcik/orgs",
"repos_url": "https://api.github.com/users/jirimoravcik/repos",
"events_url": "https://api.github.com/users/jirimoravcik/events{/privacy}",
"received_events_url": "https://api.github.com/users/jirimoravcik/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-17T09:51:13 | 2023-07-20T15:36:31 | 2023-07-20T15:36:31 |
CONTRIBUTOR
| null |
I noticed the `ApifyDatasetLoader` is lacking a code example in the docstring. I'm adding it along with a link to Apify's docs about langchain integration to improve developer experience.
PS: I'd be happy to update the search in https://integrations.langchain.com/ to also consider the description, not just the title. But AFAIK the source code for the page is not public, right?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7826/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7826/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7826",
"html_url": "https://github.com/langchain-ai/langchain/pull/7826",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7826.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7826.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7825
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7825/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7825/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7825/events
|
https://github.com/langchain-ai/langchain/issues/7825
| 1,807,226,559 |
I_kwDOIPDwls5ruBa_
| 7,825 |
Cannot set up dev container because of Poetry solving dependencies forever
|
{
"login": "juliensalinas",
"id": 22055188,
"node_id": "MDQ6VXNlcjIyMDU1MTg4",
"avatar_url": "https://avatars.githubusercontent.com/u/22055188?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/juliensalinas",
"html_url": "https://github.com/juliensalinas",
"followers_url": "https://api.github.com/users/juliensalinas/followers",
"following_url": "https://api.github.com/users/juliensalinas/following{/other_user}",
"gists_url": "https://api.github.com/users/juliensalinas/gists{/gist_id}",
"starred_url": "https://api.github.com/users/juliensalinas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/juliensalinas/subscriptions",
"organizations_url": "https://api.github.com/users/juliensalinas/orgs",
"repos_url": "https://api.github.com/users/juliensalinas/repos",
"events_url": "https://api.github.com/users/juliensalinas/events{/privacy}",
"received_events_url": "https://api.github.com/users/juliensalinas/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 13 | 2023-07-17T08:08:53 | 2023-11-29T02:52:29 | null |
CONTRIBUTOR
| null |
### System Info
OS: Ubuntu 22.04
Docker version: Docker version 20.10.21, build 20.10.21-0ubuntu1~22.04.3
VSCode: 1.69.0
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Steps to reproduce the behavior:
1. Go to this documentation page: https://github.com/hwchase17/langchain/tree/master/.devcontainer
2. Click the "Dev Containers Open" button
3. The dev image build is stuck at the last step (Poetry dependencies installation).
When making the Poetry more verbose, it appears that it loops forever on dependencies, like this:
```
8: derived: pytz-deprecation-shim
8: fact: pytz-deprecation-shim (0.1.0.post0) depends on tzdata (*)
8: fact: pytz-deprecation-shim (0.1.0.post0) depends on backports.zoneinfo (*)
8: selecting pytz-deprecation-shim (0.1.0.post0)
8: fact: tensorflow-hub (0.14.0) depends on numpy (>=1.12.0)
8: fact: tensorflow-hub (0.14.0) depends on protobuf (>=3.19.6)
8: selecting tensorflow-hub (0.14.0)
8: selecting termcolor (2.3.0)
8: fact: watchfiles (0.19.0) depends on anyio (>=3.0.0)
8: selecting watchfiles (0.19.0)
8: selecting pathspec (0.11.1)
8: fact: grpcio-reflection (1.47.5) depends on protobuf (>=3.12.0)
8: fact: grpcio-reflection (1.47.5) depends on grpcio (>=1.47.5)
8: selecting grpcio-reflection (1.47.5)
8: selecting iniconfig (2.0.0)
8: fact: pycares (4.3.0) depends on cffi (>=1.5.0)
8: selecting pycares (4.3.0)
8: derived: cffi (>=1.5.0)
8: selecting colored (1.4.4)
8: fact: azure-core (1.28.0) depends on requests (>=2.18.4)
8: fact: azure-core (1.28.0) depends on six (>=1.11.0)
8: fact: azure-core (1.28.0) depends on typing-extensions (>=4.3.0)
```
I even tried to wait for 5 hours, but it was not enough (my internet connection works correctly).
### Expected behavior
The dev container environment should be up and ready in a couple of minutes.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7825/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7825/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7824
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7824/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7824/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7824/events
|
https://github.com/langchain-ai/langchain/issues/7824
| 1,807,216,493 |
I_kwDOIPDwls5rt-9t
| 7,824 |
How to use multiple tags in metadata filtering
|
{
"login": "javedafroz",
"id": 1540406,
"node_id": "MDQ6VXNlcjE1NDA0MDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1540406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/javedafroz",
"html_url": "https://github.com/javedafroz",
"followers_url": "https://api.github.com/users/javedafroz/followers",
"following_url": "https://api.github.com/users/javedafroz/following{/other_user}",
"gists_url": "https://api.github.com/users/javedafroz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/javedafroz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/javedafroz/subscriptions",
"organizations_url": "https://api.github.com/users/javedafroz/orgs",
"repos_url": "https://api.github.com/users/javedafroz/repos",
"events_url": "https://api.github.com/users/javedafroz/events{/privacy}",
"received_events_url": "https://api.github.com/users/javedafroz/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
}
] |
open
| false | null |
[] | null | 6 | 2023-07-17T08:03:05 | 2023-10-10T12:33:48 | null |
NONE
| null |
### Issue you'd like to raise.
I am using below chain. I want to use multiple categories in the filters. My logic is to bring the results from category=c1 OR category=c2 OR category=c3. How can we modify below code the achieve the objective
`chain = ConversationalRetrievalChain.from_llm(OpenAI(temperature=0), retriever= vectorstore.as_retriever(search_kwargs={'filter': {'category':category}}), memory=memory, return_source_documents = True) `
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7824/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7824/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7823
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7823/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7823/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7823/events
|
https://github.com/langchain-ai/langchain/issues/7823
| 1,807,105,415 |
I_kwDOIPDwls5rtj2H
| 7,823 |
DOC: SupabaseVectorStore.from_documents read operation timed out.
|
{
"login": "shangdev",
"id": 15621520,
"node_id": "MDQ6VXNlcjE1NjIxNTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/15621520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shangdev",
"html_url": "https://github.com/shangdev",
"followers_url": "https://api.github.com/users/shangdev/followers",
"following_url": "https://api.github.com/users/shangdev/following{/other_user}",
"gists_url": "https://api.github.com/users/shangdev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shangdev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shangdev/subscriptions",
"organizations_url": "https://api.github.com/users/shangdev/orgs",
"repos_url": "https://api.github.com/users/shangdev/repos",
"events_url": "https://api.github.com/users/shangdev/events{/privacy}",
"received_events_url": "https://api.github.com/users/shangdev/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-17T06:49:38 | 2023-07-24T22:51:06 | 2023-07-18T05:27:54 |
NONE
| null |
### Issue with current documentation:
```
# We're using the default `documents` table here. You can modify this by passing in a `table_name` argument to the `from_documents` method.
vector_store = SupabaseVectorStore.from_documents(docs, embeddings, client=supabase)
```
### Idea or request for content:
throw error: httpx.ReadTimeout: The read operation timed out
Is it because the documents are too large? Is there a way to change the timeout?
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7823/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7823/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7816
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7816/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7816/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7816/events
|
https://github.com/langchain-ai/langchain/issues/7816
| 1,806,955,881 |
I_kwDOIPDwls5rs_Vp
| 7,816 |
DOC: Azure Cognitive Search Vector Store
|
{
"login": "DSgUY",
"id": 34726269,
"node_id": "MDQ6VXNlcjM0NzI2MjY5",
"avatar_url": "https://avatars.githubusercontent.com/u/34726269?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DSgUY",
"html_url": "https://github.com/DSgUY",
"followers_url": "https://api.github.com/users/DSgUY/followers",
"following_url": "https://api.github.com/users/DSgUY/following{/other_user}",
"gists_url": "https://api.github.com/users/DSgUY/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DSgUY/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DSgUY/subscriptions",
"organizations_url": "https://api.github.com/users/DSgUY/orgs",
"repos_url": "https://api.github.com/users/DSgUY/repos",
"events_url": "https://api.github.com/users/DSgUY/events{/privacy}",
"received_events_url": "https://api.github.com/users/DSgUY/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-17T04:51:13 | 2023-10-23T16:06:41 | 2023-10-23T16:06:41 |
NONE
| null |
### Issue with current documentation:
https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/azuresearch
### Idea or request for content:
Can anyone explain more about how to create the index?
If your run the example you get:
`ResourceNotFoundError: () The index 'langchain-vector-demo' for service 'cognitivesearchitest' was not found.
`
I split docs and add title to metadata, so now, my documents are **_page_content_** and **_metadata_**(source, title, start_index)
Do I need to manually create the 'cognitivesearchitest' index with what fields? Only with id and then the index is updated when inserting the docs?
Regards.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7816/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7816/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7815
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7815/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7815/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7815/events
|
https://github.com/langchain-ai/langchain/pull/7815
| 1,806,940,259 |
PR_kwDOIPDwls5VoFt7
| 7,815 |
Add option to embed documents without tokenizing using OpenAI interface
|
{
"login": "sudeepag",
"id": 11940172,
"node_id": "MDQ6VXNlcjExOTQwMTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/11940172?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sudeepag",
"html_url": "https://github.com/sudeepag",
"followers_url": "https://api.github.com/users/sudeepag/followers",
"following_url": "https://api.github.com/users/sudeepag/following{/other_user}",
"gists_url": "https://api.github.com/users/sudeepag/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sudeepag/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sudeepag/subscriptions",
"organizations_url": "https://api.github.com/users/sudeepag/orgs",
"repos_url": "https://api.github.com/users/sudeepag/repos",
"events_url": "https://api.github.com/users/sudeepag/events{/privacy}",
"received_events_url": "https://api.github.com/users/sudeepag/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
open
| false | null |
[] | null | 13 | 2023-07-17T04:38:19 | 2023-09-19T02:21:45 | null |
NONE
| null |
This PR updates `embedding_ctx_length` to be optional. If this value is nil, we will perform a batched call to `embed_with_retry` without tokenizing the text. If it is not nil, we will call `_get_len_safe_embeddings` as per usual. This allows us to use the OpenAI interface for embedding documents without having to rely on the OpenAI model tokenizers.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7815/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7815/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7815",
"html_url": "https://github.com/langchain-ai/langchain/pull/7815",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7815.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7815.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7814
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7814/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7814/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7814/events
|
https://github.com/langchain-ai/langchain/pull/7814
| 1,806,921,094 |
PR_kwDOIPDwls5VoBfK
| 7,814 |
minor langsmith notebook fixes
|
{
"login": "agola11",
"id": 9536492,
"node_id": "MDQ6VXNlcjk1MzY0OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/9536492?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agola11",
"html_url": "https://github.com/agola11",
"followers_url": "https://api.github.com/users/agola11/followers",
"following_url": "https://api.github.com/users/agola11/following{/other_user}",
"gists_url": "https://api.github.com/users/agola11/gists{/gist_id}",
"starred_url": "https://api.github.com/users/agola11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/agola11/subscriptions",
"organizations_url": "https://api.github.com/users/agola11/orgs",
"repos_url": "https://api.github.com/users/agola11/repos",
"events_url": "https://api.github.com/users/agola11/events{/privacy}",
"received_events_url": "https://api.github.com/users/agola11/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-17T04:17:56 | 2023-07-17T04:27:04 | 2023-07-17T04:27:03 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7814/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7814/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7814",
"html_url": "https://github.com/langchain-ai/langchain/pull/7814",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7814.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7814.patch",
"merged_at": "2023-07-17T04:27:03"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7813
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7813/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7813/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7813/events
|
https://github.com/langchain-ai/langchain/issues/7813
| 1,806,896,033 |
I_kwDOIPDwls5rswuh
| 7,813 |
Azure Cognitive Search
|
{
"login": "miggytrinidad",
"id": 11906579,
"node_id": "MDQ6VXNlcjExOTA2NTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/11906579?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miggytrinidad",
"html_url": "https://github.com/miggytrinidad",
"followers_url": "https://api.github.com/users/miggytrinidad/followers",
"following_url": "https://api.github.com/users/miggytrinidad/following{/other_user}",
"gists_url": "https://api.github.com/users/miggytrinidad/gists{/gist_id}",
"starred_url": "https://api.github.com/users/miggytrinidad/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miggytrinidad/subscriptions",
"organizations_url": "https://api.github.com/users/miggytrinidad/orgs",
"repos_url": "https://api.github.com/users/miggytrinidad/repos",
"events_url": "https://api.github.com/users/miggytrinidad/events{/privacy}",
"received_events_url": "https://api.github.com/users/miggytrinidad/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 8 | 2023-07-17T03:50:56 | 2023-11-28T20:28:26 | 2023-07-27T14:33:52 |
NONE
| null |
### System Info
...
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I am trying to use vector search as shown below:
`os.environ["AZURESEARCH_FIELDS_CONTENT_VECTOR"] = "section_summary_vector"
os.environ["AZURESEARCH_FIELDS_CONTENT"] = "section_of_summary"
docs = vector_store.similarity_search(
query="What did the president say about Ketanji Brown Jackson",
k=3,
engine = "gpt35turbo",
search_type="similarity"
)
print(docs[0].page_content)`
I am getting an error saying:
HttpResponseError: () Unknown field 'content_vector' in vector field list.
Parameter name: vectorFields
Code:
Message: Unknown field 'content_vector' in vector field list.
Parameter name: vectorFields
It seems that the custom vector field and is not being used by the function.
### Expected behavior
Be able to customize the vector field to use in doing vector similarity search.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7813/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7813/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7812
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7812/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7812/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7812/events
|
https://github.com/langchain-ai/langchain/pull/7812
| 1,806,893,153 |
PR_kwDOIPDwls5Vn7Q7
| 7,812 |
Export Tracer from callbacks
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-17T03:47:29 | 2023-07-17T03:58:15 | 2023-07-17T03:58:14 |
COLLABORATOR
| null |
Improve discoverability
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7812/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7812/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7812",
"html_url": "https://github.com/langchain-ai/langchain/pull/7812",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7812.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7812.patch",
"merged_at": "2023-07-17T03:58:14"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7811
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7811/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7811/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7811/events
|
https://github.com/langchain-ai/langchain/pull/7811
| 1,806,876,086 |
PR_kwDOIPDwls5Vn3jK
| 7,811 |
add filter to sklearn vector store functions
|
{
"login": "shibuiwilliam",
"id": 23517545,
"node_id": "MDQ6VXNlcjIzNTE3NTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/23517545?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shibuiwilliam",
"html_url": "https://github.com/shibuiwilliam",
"followers_url": "https://api.github.com/users/shibuiwilliam/followers",
"following_url": "https://api.github.com/users/shibuiwilliam/following{/other_user}",
"gists_url": "https://api.github.com/users/shibuiwilliam/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shibuiwilliam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shibuiwilliam/subscriptions",
"organizations_url": "https://api.github.com/users/shibuiwilliam/orgs",
"repos_url": "https://api.github.com/users/shibuiwilliam/repos",
"events_url": "https://api.github.com/users/shibuiwilliam/events{/privacy}",
"received_events_url": "https://api.github.com/users/shibuiwilliam/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-17T03:22:52 | 2023-07-22T02:22:44 | 2023-07-22T02:22:44 |
CONTRIBUTOR
| null |
# What
- This is to add filter option to sklearn vectore store functions
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: Add filter to sklearn vectore store functions.
- Issue: None
- Dependencies: None
- Tag maintainer: @baskaryan
- Twitter handle: @MlopsJ
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7811/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7811/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7811",
"html_url": "https://github.com/langchain-ai/langchain/pull/7811",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7811.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7811.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7810
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7810/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7810/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7810/events
|
https://github.com/langchain-ai/langchain/pull/7810
| 1,806,863,541 |
PR_kwDOIPDwls5Vn01q
| 7,810 |
docs(zilliz): connection_args add token description for serverless clโฆ
|
{
"login": "satorioh",
"id": 9688163,
"node_id": "MDQ6VXNlcjk2ODgxNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9688163?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/satorioh",
"html_url": "https://github.com/satorioh",
"followers_url": "https://api.github.com/users/satorioh/followers",
"following_url": "https://api.github.com/users/satorioh/following{/other_user}",
"gists_url": "https://api.github.com/users/satorioh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/satorioh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/satorioh/subscriptions",
"organizations_url": "https://api.github.com/users/satorioh/orgs",
"repos_url": "https://api.github.com/users/satorioh/repos",
"events_url": "https://api.github.com/users/satorioh/events{/privacy}",
"received_events_url": "https://api.github.com/users/satorioh/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-17T03:02:48 | 2023-07-18T16:31:40 | 2023-07-18T16:31:39 |
CONTRIBUTOR
| null |
Description:
Currently, Zilliz only support dedicated clusters using a pair of username and password for connection. Regarding serverless clusters, they can connect to them by using API keys( [ see official note detail](https://docs.zilliz.com/docs/manage-cluster-credentials)), so I add API key(token) description in Zilliz docs to make it more obvious and convenient for this group of users to better utilize Zilliz. No changes done to code.
Maintainer:
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7810/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7810/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7810",
"html_url": "https://github.com/langchain-ai/langchain/pull/7810",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7810.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7810.patch",
"merged_at": "2023-07-18T16:31:39"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7809
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7809/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7809/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7809/events
|
https://github.com/langchain-ai/langchain/pull/7809
| 1,806,856,440 |
PR_kwDOIPDwls5VnzTJ
| 7,809 |
Add/test faiss
|
{
"login": "shibuiwilliam",
"id": 23517545,
"node_id": "MDQ6VXNlcjIzNTE3NTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/23517545?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shibuiwilliam",
"html_url": "https://github.com/shibuiwilliam",
"followers_url": "https://api.github.com/users/shibuiwilliam/followers",
"following_url": "https://api.github.com/users/shibuiwilliam/following{/other_user}",
"gists_url": "https://api.github.com/users/shibuiwilliam/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shibuiwilliam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shibuiwilliam/subscriptions",
"organizations_url": "https://api.github.com/users/shibuiwilliam/orgs",
"repos_url": "https://api.github.com/users/shibuiwilliam/repos",
"events_url": "https://api.github.com/users/shibuiwilliam/events{/privacy}",
"received_events_url": "https://api.github.com/users/shibuiwilliam/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-17T02:51:10 | 2023-07-18T15:30:37 | 2023-07-18T15:30:37 |
CONTRIBUTOR
| null |
# What
- Add missing test cases to faiss vectore stores
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: add missing tests to faiss vectore stores
- Issue: None
- Dependencies: None
- Tag maintainer: @baskaryan
- Twitter handle: @MlopsJ
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7809/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7809/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7809",
"html_url": "https://github.com/langchain-ai/langchain/pull/7809",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7809.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7809.patch",
"merged_at": "2023-07-18T15:30:37"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7808
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7808/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7808/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7808/events
|
https://github.com/langchain-ai/langchain/pull/7808
| 1,806,779,820 |
PR_kwDOIPDwls5Vnir9
| 7,808 |
Fix chat example output mapper
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-17T00:40:05 | 2023-07-17T00:47:06 | 2023-07-17T00:47:05 |
COLLABORATOR
| null |
Was only serializing when no key was provided
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7808/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7808/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7808",
"html_url": "https://github.com/langchain-ai/langchain/pull/7808",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7808.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7808.patch",
"merged_at": "2023-07-17T00:47:05"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7807
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7807/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7807/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7807/events
|
https://github.com/langchain-ai/langchain/pull/7807
| 1,806,764,753 |
PR_kwDOIPDwls5Vnfhb
| 7,807 |
Share client in evaluation callback
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-17T00:04:47 | 2023-07-17T00:47:39 | 2023-07-17T00:47:38 |
COLLABORATOR
| null |
Guarantee the evaluator traces go to same endpoint
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7807/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7807/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7807",
"html_url": "https://github.com/langchain-ai/langchain/pull/7807",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7807.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7807.patch",
"merged_at": "2023-07-17T00:47:38"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7806
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7806/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7806/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7806/events
|
https://github.com/langchain-ai/langchain/pull/7806
| 1,806,758,886 |
PR_kwDOIPDwls5VneXD
| 7,806 |
add serializer methods
|
{
"login": "balnarendrasapa",
"id": 61614290,
"node_id": "MDQ6VXNlcjYxNjE0Mjkw",
"avatar_url": "https://avatars.githubusercontent.com/u/61614290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/balnarendrasapa",
"html_url": "https://github.com/balnarendrasapa",
"followers_url": "https://api.github.com/users/balnarendrasapa/followers",
"following_url": "https://api.github.com/users/balnarendrasapa/following{/other_user}",
"gists_url": "https://api.github.com/users/balnarendrasapa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/balnarendrasapa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/balnarendrasapa/subscriptions",
"organizations_url": "https://api.github.com/users/balnarendrasapa/orgs",
"repos_url": "https://api.github.com/users/balnarendrasapa/repos",
"events_url": "https://api.github.com/users/balnarendrasapa/events{/privacy}",
"received_events_url": "https://api.github.com/users/balnarendrasapa/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T23:43:05 | 2023-07-18T22:43:12 | 2023-07-18T22:42:45 |
CONTRIBUTOR
| null |
Added serialize and deserialize methods in faiss vectorstore. there was a method called save_local method but instead of saving the file to local disk, I wanted it in the format so that i can save in the SQL database in Blob field. I used this method while i was working on something.
i wanted to add tests and add to documentation but make is not working ..... see #6182
@rlancemartin @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7806/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7806/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7806",
"html_url": "https://github.com/langchain-ai/langchain/pull/7806",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7806.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7806.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7805
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7805/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7805/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7805/events
|
https://github.com/langchain-ai/langchain/pull/7805
| 1,806,754,909 |
PR_kwDOIPDwls5Vndmd
| 7,805 |
specify comparators
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T23:27:37 | 2023-07-17T14:30:50 | 2023-07-17T14:30:48 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7805/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7805/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7805",
"html_url": "https://github.com/langchain-ai/langchain/pull/7805",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7805.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7805.patch",
"merged_at": "2023-07-17T14:30:48"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7804
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7804/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7804/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7804/events
|
https://github.com/langchain-ai/langchain/issues/7804
| 1,806,754,191 |
I_kwDOIPDwls5rsOGP
| 7,804 |
vectorstores Chroma client_settings anonymized_telemetry=False dont work
|
{
"login": "cabbonadio",
"id": 114038391,
"node_id": "U_kgDOBswWdw",
"avatar_url": "https://avatars.githubusercontent.com/u/114038391?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cabbonadio",
"html_url": "https://github.com/cabbonadio",
"followers_url": "https://api.github.com/users/cabbonadio/followers",
"following_url": "https://api.github.com/users/cabbonadio/following{/other_user}",
"gists_url": "https://api.github.com/users/cabbonadio/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cabbonadio/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cabbonadio/subscriptions",
"organizations_url": "https://api.github.com/users/cabbonadio/orgs",
"repos_url": "https://api.github.com/users/cabbonadio/repos",
"events_url": "https://api.github.com/users/cabbonadio/events{/privacy}",
"received_events_url": "https://api.github.com/users/cabbonadio/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 4 | 2023-07-16T23:24:48 | 2023-11-03T07:31:03 | null |
NONE
| null |
### System Info
0.0.234 MacOS Big Sur
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Create a vectorstore with some documents
Try this code to retrieve the documents
`
from chromadb.config import Settings
from langchain.embeddings import OpenAIEmbeddings
from langchain.vectorstores import Chroma
embeddings = OpenAIEmbeddings()
vectorstore = Chroma(
collection_name="langchain_store",
embedding_function=embeddings,
client_settings=Settings(anonymized_telemetry=False),
persist_directory="./dist/vectordb",
)
retriever = vectorstore.as_retriever(search_kwargs={"k": 3})
docs = retriever.get_relevant_documents("quantos litros de oleo vai no motor?")
print(docs)`
The result is [] no documents
Now if I change the client_settings parameter to
client_settings=Settings(anonymized_telemetry=False, chroma_db_impl="duckdb+parquet", persist_directory="./dist/vectordb"),
I get the results correct
### Expected behavior
Should be able to set
client_settings=Settings(anonymized_telemetry=False) # to disable telemetry
and receive the results back from the vectorstore
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7804/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7804/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7803
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7803/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7803/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7803/events
|
https://github.com/langchain-ai/langchain/issues/7803
| 1,806,752,958 |
I_kwDOIPDwls5rsNy-
| 7,803 |
Confluence loader usage of id causes a conflict with Weaviate
|
{
"login": "elabbarw",
"id": 70503629,
"node_id": "MDQ6VXNlcjcwNTAzNjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/70503629?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elabbarw",
"html_url": "https://github.com/elabbarw",
"followers_url": "https://api.github.com/users/elabbarw/followers",
"following_url": "https://api.github.com/users/elabbarw/following{/other_user}",
"gists_url": "https://api.github.com/users/elabbarw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/elabbarw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/elabbarw/subscriptions",
"organizations_url": "https://api.github.com/users/elabbarw/orgs",
"repos_url": "https://api.github.com/users/elabbarw/repos",
"events_url": "https://api.github.com/users/elabbarw/events{/privacy}",
"received_events_url": "https://api.github.com/users/elabbarw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 5 | 2023-07-16T23:19:43 | 2023-10-21T16:40:00 | 2023-10-21T16:39:51 |
NONE
| null |
### System Info
Langchain Version 0.0.233
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [X] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Embed from the confluence loader documents direct to weaviate.from_documents and you will get errors related to the id. (e.g.: {'error': [{'message': "'id' is a reserved property name, no such prop with name 'id' found in class 'LangChain_96f9046045fd4623acec34b0ee6acebb' in the schema. Check your schema files for which properties in this class are available"}]}_
**** Code to reproduce ****
from langchain.document_loaders import ConfluenceLoader
loader = ConfluenceLoader(url="https://yoursite.atlassian.com/wiki", token="12345")
documents = loader.load(
space_key="SPACE", include_attachments=True, limit=50, max_pages=50
)
text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
docs = text_splitter.split_documents(documents)
embeddings = OpenAIEmbeddings()
db = Weaviate.from_documents(docs, embeddings, weaviate_url=WEAVIATE_URL, by_text=False)
I can fix it by creating a new list with documents that have pageid instead of id in metadata:
new_documents = []
for doc in documents:
metadata = doc.metadata.copy()
metadata['pageid'] = metadata.pop('id')
new_doc = Document(page_content=doc.page_content, metadata=metadata)
new_documents.append(new_doc)
and then continue with :
db = Weaviate.from_documents(docs, embeddings, weaviate_url=WEAVIATE_URL, by_text=False)
### Expected behavior
Documents to get embedded without the error of: {'error': [{'message': "'id' is a reserved property name, no such prop with name 'id' found in class 'LangChain_96f9046045fd4623acec34b0ee6acebb' in the schema. Check your schema files for which properties in this class are available"}]}
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7803/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7803/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7801
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7801/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7801/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7801/events
|
https://github.com/langchain-ai/langchain/pull/7801
| 1,806,714,481 |
PR_kwDOIPDwls5VnVrS
| 7,801 |
Bm25 retriever without specific vector store dependency
|
{
"login": "larry-fuy",
"id": 1881605,
"node_id": "MDQ6VXNlcjE4ODE2MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1881605?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/larry-fuy",
"html_url": "https://github.com/larry-fuy",
"followers_url": "https://api.github.com/users/larry-fuy/followers",
"following_url": "https://api.github.com/users/larry-fuy/following{/other_user}",
"gists_url": "https://api.github.com/users/larry-fuy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/larry-fuy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/larry-fuy/subscriptions",
"organizations_url": "https://api.github.com/users/larry-fuy/orgs",
"repos_url": "https://api.github.com/users/larry-fuy/repos",
"events_url": "https://api.github.com/users/larry-fuy/events{/privacy}",
"received_events_url": "https://api.github.com/users/larry-fuy/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false |
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
] | null | 4 | 2023-07-16T20:45:10 | 2023-07-25T01:14:18 | 2023-07-25T01:14:18 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
### Description
This PR aims to enhance the flexibility of retrievers by creating a new BM25 retriever that doesn't depend on a vector store backend. The current [ElasticSearchBM25Retriever](https://github.com/hwchase17/langchain/blob/c58d35765daa063b87733e006a4d65e2e1f388d3/langchain/retrievers/elastic_search_bm25.py) is limited to ElasticSearch, but this new retriever can be used with more flexibility. The BM25 implementation used in this retriever is based on [Gensim](https://github.com/RaRe-Technologies/gensim/blob/3ae286ee7970ab5ffebfcb2ea383e1bf4b5f0b8b/gensim/models/bm25model.py), which is widely used in many applications. With this new retriever, users can now utilize BM25 retrieval without being tied to a specific backend.
### Dependencies
[Gensim](https://github.com/RaRe-Technologies/gensim)
@rlancemartin, @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7801/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7801/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7801",
"html_url": "https://github.com/langchain-ai/langchain/pull/7801",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7801.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7801.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7800
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7800/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7800/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7800/events
|
https://github.com/langchain-ai/langchain/pull/7800
| 1,806,708,947 |
PR_kwDOIPDwls5VnUnA
| 7,800 |
Nc/protocol
|
{
"login": "nfcampos",
"id": 56902,
"node_id": "MDQ6VXNlcjU2OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/56902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nfcampos",
"html_url": "https://github.com/nfcampos",
"followers_url": "https://api.github.com/users/nfcampos/followers",
"following_url": "https://api.github.com/users/nfcampos/following{/other_user}",
"gists_url": "https://api.github.com/users/nfcampos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nfcampos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nfcampos/subscriptions",
"organizations_url": "https://api.github.com/users/nfcampos/orgs",
"repos_url": "https://api.github.com/users/nfcampos/repos",
"events_url": "https://api.github.com/users/nfcampos/events{/privacy}",
"received_events_url": "https://api.github.com/users/nfcampos/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T20:23:26 | 2023-07-26T19:16:48 | 2023-07-26T19:16:47 |
COLLABORATOR
| null |
Objects implementing Runnable: BasePromptTemplate, LLM, ChatModel, Chain, Retriever, OutputParser
- [x] Implement Runnable in base Retriever
- [x] Raise TypeError in operator methods for unsupported things
- [x] Implement dict which calls values in parallel and outputs dict with results
- [x] Merge in `+` for prompts
- [x] Confirm precedence order for operators, ideal would be `+` `|`, https://docs.python.org/3/reference/expressions.html#operator-precedence
- [x] Add support for openai functions, ie. Chat Models must return messages
- [x] Implement BaseMessageChunk return type for BaseChatModel, a subclass of BaseMessage which implements __add__ to return BaseMessageChunk, concatenating all str args
- [x] Update implementation of stream/astream for llm and chat models to use new `_stream`, `_astream` optional methods, with default implementation in base class `raise NotImplementedError` use https://stackoverflow.com/a/59762827 to see if it is implemented in base class
- [x] Delete the IteratorCallbackHandler (leave the async one because people using)
- [x] Make BaseLLMOutputParser implement Runnable, accepting either str or BaseMessage
For a future PR:
- [ ] Implement Runnable in BaseTool
- [ ] Export some openai function utils?
- [ ] Add `functions` and `function_call` args to chatopenai
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7800/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7800/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7800",
"html_url": "https://github.com/langchain-ai/langchain/pull/7800",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7800.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7800.patch",
"merged_at": "2023-07-26T19:16:47"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7799
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7799/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7799/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7799/events
|
https://github.com/langchain-ai/langchain/pull/7799
| 1,806,656,823 |
PR_kwDOIPDwls5VnKZ2
| 7,799 |
prompt ergonomics
|
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T17:19:15 | 2023-07-22T21:19:18 | 2023-07-22T21:19:17 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7799/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7799/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7799",
"html_url": "https://github.com/langchain-ai/langchain/pull/7799",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7799.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7799.patch",
"merged_at": "2023-07-22T21:19:17"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7798
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7798/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7798/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7798/events
|
https://github.com/langchain-ai/langchain/issues/7798
| 1,806,652,138 |
I_kwDOIPDwls5rr1Lq
| 7,798 |
pip install langchain[all] takes forever to resove dependencies
|
{
"login": "andrei-radulescu-banu",
"id": 44415560,
"node_id": "MDQ6VXNlcjQ0NDE1NTYw",
"avatar_url": "https://avatars.githubusercontent.com/u/44415560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrei-radulescu-banu",
"html_url": "https://github.com/andrei-radulescu-banu",
"followers_url": "https://api.github.com/users/andrei-radulescu-banu/followers",
"following_url": "https://api.github.com/users/andrei-radulescu-banu/following{/other_user}",
"gists_url": "https://api.github.com/users/andrei-radulescu-banu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrei-radulescu-banu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrei-radulescu-banu/subscriptions",
"organizations_url": "https://api.github.com/users/andrei-radulescu-banu/orgs",
"repos_url": "https://api.github.com/users/andrei-radulescu-banu/repos",
"events_url": "https://api.github.com/users/andrei-radulescu-banu/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrei-radulescu-banu/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 7 | 2023-07-16T17:04:10 | 2023-12-01T16:54:37 | null |
NONE
| null |
### System Info
This is on `Python 3.10.6`, on a clean virtual env, on `Ubuntu 22.04` server w/o any GPU installed.
On the other hand, `pip install langchain[llms]` installs without problem.
Here is the output of `pip install langchain[all]`, for langchain==0.0.234
[1.txt](https://github.com/hwchase17/langchain/files/12064621/1.txt)
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
Steps to reproduce
1. Create venv
2. Source activation script to enter venv
3. pip install langchain[all]
Langchain version tested is 0.0.234.
### Expected behavior
Install w/o having to try multiple versions of dependencies
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7798/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7798/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7797
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7797/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7797/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7797/events
|
https://github.com/langchain-ai/langchain/pull/7797
| 1,806,648,563 |
PR_kwDOIPDwls5VnIw0
| 7,797 |
add HuggingGPT
|
{
"login": "tricktreat",
"id": 25740077,
"node_id": "MDQ6VXNlcjI1NzQwMDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/25740077?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tricktreat",
"html_url": "https://github.com/tricktreat",
"followers_url": "https://api.github.com/users/tricktreat/followers",
"following_url": "https://api.github.com/users/tricktreat/following{/other_user}",
"gists_url": "https://api.github.com/users/tricktreat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tricktreat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tricktreat/subscriptions",
"organizations_url": "https://api.github.com/users/tricktreat/orgs",
"repos_url": "https://api.github.com/users/tricktreat/repos",
"events_url": "https://api.github.com/users/tricktreat/events{/privacy}",
"received_events_url": "https://api.github.com/users/tricktreat/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T16:53:08 | 2023-07-18T03:17:35 | 2023-07-18T03:17:35 |
CONTRIBUTOR
| null |
Add HuggingGPT Agent, see https://arxiv.org/abs/2303.17580.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7797/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7797/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7797",
"html_url": "https://github.com/langchain-ai/langchain/pull/7797",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7797.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7797.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7796
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7796/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7796/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7796/events
|
https://github.com/langchain-ai/langchain/pull/7796
| 1,806,644,448 |
PR_kwDOIPDwls5VnH9K
| 7,796 |
Add examples to docstrings
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T16:39:51 | 2023-07-16T19:05:57 | 2023-07-16T19:05:56 |
COLLABORATOR
| null |
and:
- remove dataset name from autogenerated project name
- print out project name to view
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7796/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7796/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7796",
"html_url": "https://github.com/langchain-ai/langchain/pull/7796",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7796.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7796.patch",
"merged_at": "2023-07-16T19:05:56"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7795
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7795/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7795/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7795/events
|
https://github.com/langchain-ai/langchain/pull/7795
| 1,806,639,552 |
PR_kwDOIPDwls5VnG_6
| 7,795 |
Add HuggingGPT Agent
|
{
"login": "tricktreat",
"id": 25740077,
"node_id": "MDQ6VXNlcjI1NzQwMDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/25740077?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tricktreat",
"html_url": "https://github.com/tricktreat",
"followers_url": "https://api.github.com/users/tricktreat/followers",
"following_url": "https://api.github.com/users/tricktreat/following{/other_user}",
"gists_url": "https://api.github.com/users/tricktreat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tricktreat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tricktreat/subscriptions",
"organizations_url": "https://api.github.com/users/tricktreat/orgs",
"repos_url": "https://api.github.com/users/tricktreat/repos",
"events_url": "https://api.github.com/users/tricktreat/events{/privacy}",
"received_events_url": "https://api.github.com/users/tricktreat/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T16:22:50 | 2023-07-16T16:34:07 | 2023-07-16T16:34:07 |
CONTRIBUTOR
| null |
Add HuggingGPT Agent, see https://arxiv.org/abs/2303.17580.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7795/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7795/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7795",
"html_url": "https://github.com/langchain-ai/langchain/pull/7795",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7795.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7795.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7794
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7794/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7794/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7794/events
|
https://github.com/langchain-ai/langchain/pull/7794
| 1,806,625,797 |
PR_kwDOIPDwls5VnEQT
| 7,794 |
Accept LLM via constructor
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T15:41:42 | 2023-07-16T15:46:38 | 2023-07-16T15:46:37 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7794/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7794/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7794",
"html_url": "https://github.com/langchain-ai/langchain/pull/7794",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7794.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7794.patch",
"merged_at": "2023-07-16T15:46:37"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7793
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7793/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7793/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7793/events
|
https://github.com/langchain-ai/langchain/pull/7793
| 1,806,612,057 |
PR_kwDOIPDwls5VnBpm
| 7,793 |
Update to Anthropic's claude-v2
|
{
"login": "mikelambert",
"id": 7953259,
"node_id": "MDQ6VXNlcjc5NTMyNTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7953259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mikelambert",
"html_url": "https://github.com/mikelambert",
"followers_url": "https://api.github.com/users/mikelambert/followers",
"following_url": "https://api.github.com/users/mikelambert/following{/other_user}",
"gists_url": "https://api.github.com/users/mikelambert/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mikelambert/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mikelambert/subscriptions",
"organizations_url": "https://api.github.com/users/mikelambert/orgs",
"repos_url": "https://api.github.com/users/mikelambert/repos",
"events_url": "https://api.github.com/users/mikelambert/events{/privacy}",
"received_events_url": "https://api.github.com/users/mikelambert/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 9 | 2023-07-16T14:57:35 | 2023-07-17T15:55:49 | 2023-07-17T15:55:49 |
CONTRIBUTOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7793/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7793/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7793",
"html_url": "https://github.com/langchain-ai/langchain/pull/7793",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7793.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7793.patch",
"merged_at": "2023-07-17T15:55:49"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7791
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7791/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7791/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7791/events
|
https://github.com/langchain-ai/langchain/issues/7791
| 1,806,596,774 |
I_kwDOIPDwls5rrnqm
| 7,791 |
MultiQueryRetriever.from_llm has abandon param type BaseLLM
|
{
"login": "joeylin",
"id": 2030833,
"node_id": "MDQ6VXNlcjIwMzA4MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2030833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joeylin",
"html_url": "https://github.com/joeylin",
"followers_url": "https://api.github.com/users/joeylin/followers",
"following_url": "https://api.github.com/users/joeylin/following{/other_user}",
"gists_url": "https://api.github.com/users/joeylin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/joeylin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joeylin/subscriptions",
"organizations_url": "https://api.github.com/users/joeylin/orgs",
"repos_url": "https://api.github.com/users/joeylin/repos",
"events_url": "https://api.github.com/users/joeylin/events{/privacy}",
"received_events_url": "https://api.github.com/users/joeylin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-16T14:11:08 | 2023-10-22T16:06:06 | 2023-10-22T16:06:05 |
NONE
| null |
### System Info
MAC OS M2
langchain: 0.0.234
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
MultiQueryRetriever.from_llm has abandon param type BaseLLM
```
@classmethod
def from_llm(
cls,
retriever: BaseRetriever,
llm: BaseLLM,
prompt: PromptTemplate = DEFAULT_QUERY_PROMPT,
parser_key: str = "lines",
) -> "MultiQueryRetriever":
```
when I use OpenAI, it prints warning:
```
UserWarning: You are trying to use a chat model. This way of initializing it is no longer supported. Instead, please use: `from langchain.chat_models import ChatOpenAI`
```
llm parameter type looks like it needs to be changed to BaseLanguageModel
### Expected behavior
llm parameter type looks like it needs to be changed to BaseLanguageModel
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7791/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7791/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7790
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7790/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7790/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7790/events
|
https://github.com/langchain-ai/langchain/issues/7790
| 1,806,579,479 |
I_kwDOIPDwls5rrjcX
| 7,790 |
HuggingFaceEndpoint returns truncated answer (could this be just a first chunk of a larger reply?)
|
{
"login": "sglebs",
"id": 1507221,
"node_id": "MDQ6VXNlcjE1MDcyMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1507221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sglebs",
"html_url": "https://github.com/sglebs",
"followers_url": "https://api.github.com/users/sglebs/followers",
"following_url": "https://api.github.com/users/sglebs/following{/other_user}",
"gists_url": "https://api.github.com/users/sglebs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sglebs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sglebs/subscriptions",
"organizations_url": "https://api.github.com/users/sglebs/orgs",
"repos_url": "https://api.github.com/users/sglebs/repos",
"events_url": "https://api.github.com/users/sglebs/events{/privacy}",
"received_events_url": "https://api.github.com/users/sglebs/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T13:18:48 | 2023-10-22T16:06:11 | 2023-10-22T16:06:10 |
NONE
| null |
### System Info
Python 3.9.6
langchain==0.0.229
MacOS on Apple M2 hardware
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [X] Callbacks/Tracing
- [ ] Async
### Reproduction
This may be related to https://github.com/hwchase17/langchain/issues/7785 , I am not sure. When I use HuggingFaceEndpoint in regular, non-streaming mode, I see that the reply comes truncated.
1. Deploy Falcon-7b https://huggingface.co/tiiuae/falcon-7b
2. Use RetrievalQA and HuggingFaceEndpoint as described in https://github.com/hwchase17/langchain/issues/7785
3. Use the prompt described in https://github.com/hwchase17/langchain/issues/7786 (not sure if you really need this to reproduce)
4. Call it using structured_result = my_qna({query_key: query})
5. The result will come back truncated. No streaming is performed, no token callbacks run, so you will get the json from the reply: structured_result["result"]
In my case, the question and answer in Portuguese:
```
O que รฉ a sรฉrie G?
A sรฉrie G da Scania traz uma cabina com uma estรฉtica moderna e um confort
```
The last word is truncated, and the whole rest of the explanation is missing.
### Expected behavior
A complete answer, full text. Or chunk-based callbacks via streaming, as I point out at https://github.com/hwchase17/langchain/issues/7785
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7790/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7790/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7789
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7789/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7789/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7789/events
|
https://github.com/langchain-ai/langchain/pull/7789
| 1,806,578,036 |
PR_kwDOIPDwls5Vm7KX
| 7,789 |
Add google place ID to google places tool response
|
{
"login": "borisnieuwenhuis",
"id": 314468,
"node_id": "MDQ6VXNlcjMxNDQ2OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/314468?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisnieuwenhuis",
"html_url": "https://github.com/borisnieuwenhuis",
"followers_url": "https://api.github.com/users/borisnieuwenhuis/followers",
"following_url": "https://api.github.com/users/borisnieuwenhuis/following{/other_user}",
"gists_url": "https://api.github.com/users/borisnieuwenhuis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/borisnieuwenhuis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/borisnieuwenhuis/subscriptions",
"organizations_url": "https://api.github.com/users/borisnieuwenhuis/orgs",
"repos_url": "https://api.github.com/users/borisnieuwenhuis/repos",
"events_url": "https://api.github.com/users/borisnieuwenhuis/events{/privacy}",
"received_events_url": "https://api.github.com/users/borisnieuwenhuis/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T13:14:07 | 2023-07-20T17:15:25 | 2023-07-20T16:04:32 |
CONTRIBUTOR
| null |
- Description: this change will add the google place ID of the found location to the response of the GooglePlacesTool
- Issue: Not applicable
- Dependencies: no dependencies
- Tag maintainer: @hinthornw
- Twitter handle: Not applicable
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7789/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7789/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7789",
"html_url": "https://github.com/langchain-ai/langchain/pull/7789",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7789.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7789.patch",
"merged_at": "2023-07-20T16:04:32"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7788
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7788/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7788/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7788/events
|
https://github.com/langchain-ai/langchain/issues/7788
| 1,806,570,994 |
I_kwDOIPDwls5rrhXy
| 7,788 |
Unable to Apply frequencyPenalty Parameter to ChatOpenAI Class
|
{
"login": "SeloSlav",
"id": 8828948,
"node_id": "MDQ6VXNlcjg4Mjg5NDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8828948?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeloSlav",
"html_url": "https://github.com/SeloSlav",
"followers_url": "https://api.github.com/users/SeloSlav/followers",
"following_url": "https://api.github.com/users/SeloSlav/following{/other_user}",
"gists_url": "https://api.github.com/users/SeloSlav/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeloSlav/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeloSlav/subscriptions",
"organizations_url": "https://api.github.com/users/SeloSlav/orgs",
"repos_url": "https://api.github.com/users/SeloSlav/repos",
"events_url": "https://api.github.com/users/SeloSlav/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeloSlav/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-16T12:52:03 | 2023-10-30T16:05:43 | 2023-10-30T16:05:42 |
NONE
| null |
### System Info
Issue:
I'm experiencing an issue while trying to apply the `frequencyPenalty` parameter to the `ChatOpenAI` class in my Flask server setup. I'm running a Flask server that handles a POST query and returns a streaming response from GPT using LlamaIndex.
When I attempt to apply the `frequencyPenalty` parameter to `ChatOpenAI` instance, the server throws a warning:
```python
WARNING! frequencyPenalty is not default parameter.
frequencyPenalty was transferred to model_kwargs.
Please confirm that frequencyPenalty is what you intended.
```
Upon reviewing the documentation, I didn't find a clear way to apply the `frequencyPenalty` to the `ChatOpenAI` class.
Here's a snippet of my current code where I'm experiencing this issue:
```python
# LLM that supports streaming
llm = ChatOpenAI(model_name="gpt-3.5-turbo-16k", streaming=True, frequencyPenalty=6)
llm_predictor = LLMPredictor(llm=llm)
```
I'm using `ChatOpenAI` to create an instance of the LLM that supports streaming. I intended to apply `frequencyPenalty` to this instance but encountered the above warning.
For further reference, the complete code of my Flask server setup is shared in the original post.
Any guidance on how to correctly apply the `frequencyPenalty` to `ChatOpenAI` would be greatly appreciated. Thanks in advance!
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
```
import openai
from flask import Flask, request, Response
from flask_cors import CORS
from dotenv import load_dotenv
import os
import pandas as pd
from llama_index import GPTVectorStoreIndex, SimpleDirectoryReader, ServiceContext, LLMPredictor, Document
from langchain.chat_models import ChatOpenAI
import logging
app = Flask(__name__)
CORS(app)
load_dotenv()
# Get the API key from the environment variable
api_key = os.getenv('OPENAI_API_KEY')
# Set the OpenAI API key directly
openai.api_key = api_key
# Loading documents from an Excel file
df = pd.read_excel('data/SupplierComplete.xlsx')
# Convert DataFrame rows into documents
documents = [
Document(text=' '.join(f'{name}: {value}' for name, value in zip(df.columns, map(str, row.values))))
for _, row in df.iterrows()
]
# LLM that supports streaming
llm = ChatOpenAI(model_name="gpt-3.5-turbo-16k", streaming=True, frequencyPenalty=6)
llm_predictor = LLMPredictor(llm=llm)
# Construct a simple vector index
index = GPTVectorStoreIndex.from_documents(documents, service_context=ServiceContext.from_defaults(llm_predictor=llm_predictor))
# Configure query engine to use streaming
query_engine = index.as_query_engine(streaming=True, similarity_top_k=2)
@app.route('/api/query', methods=['POST'])
def query():
try:
# Get the payload from the request
payload = request.json
# Log the received payload
logging.info(f"Received payload: {payload}")
# Update the LLMPredictor parameters based on the payload
llm_predictor.max_tokens = payload.get('max_tokens', 256)
llm_predictor.llm.temperature = payload.get('temperature', 0.9)
# Get the system message from the payload
system_message = [m['content'] for m in payload['messages'] if m['role'] == 'system'][0]
# Get the question from the messages in the payload
user_message = [m['content'] for m in payload['messages'] if m['role'] == 'user'][-1]
# Combine system message and user message
question = system_message + ' ' + user_message
# Now, query returns a StreamingResponse object
streaming_response = query_engine.query(question)
def response_stream():
for text in streaming_response.response_gen:
yield text + "\n"
return Response(response_stream(), mimetype="text/event-stream")
except Exception as e:
logging.error(f"Exception occurred: {e}")
return Response(f"Server error: {e}", status=500)
if __name__ == '__main__':
# Start the server, to run this script use "python llama_index_server.py" in terminal
# Configure logging level
logging.basicConfig(level=logging.DEBUG)
app.run(host='0.0.0.0', port=5000, debug=True)
```
### Expected behavior
I expect to be able to apply the frequencyPenalty parameter to the ChatOpenAI class without encountering any warning messages or errors. Ideally, the frequencyPenalty should influence the LLM's generation by tuning the model's likelihood to avoid frequently occurring responses. I'm expecting this to work seamlessly with other parameters and configurations I'm setting up for my ChatOpenAI instance.
If there is a specific way or an alternate parameter to achieve this functionality, I would expect the documentation to clearly illustrate this. Also, any warnings or error messages should provide actionable insights or steps for resolution.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7788/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7788/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7787
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7787/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7787/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7787/events
|
https://github.com/langchain-ai/langchain/issues/7787
| 1,806,568,070 |
I_kwDOIPDwls5rrgqG
| 7,787 |
In AmazonKendraRetriever, user should have access to a page_content formatter in order to format the Kendra ResultItem as desired
|
{
"login": "wnleao",
"id": 2644049,
"node_id": "MDQ6VXNlcjI2NDQwNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2644049?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wnleao",
"html_url": "https://github.com/wnleao",
"followers_url": "https://api.github.com/users/wnleao/followers",
"following_url": "https://api.github.com/users/wnleao/following{/other_user}",
"gists_url": "https://api.github.com/users/wnleao/gists{/gist_id}",
"starred_url": "https://api.github.com/users/wnleao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wnleao/subscriptions",
"organizations_url": "https://api.github.com/users/wnleao/orgs",
"repos_url": "https://api.github.com/users/wnleao/repos",
"events_url": "https://api.github.com/users/wnleao/events{/privacy}",
"received_events_url": "https://api.github.com/users/wnleao/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-16T12:42:17 | 2023-10-26T16:06:14 | 2023-10-26T16:06:13 |
CONTRIBUTOR
| null |
### Feature request
In AmazonKendraRetriever, user should have access to a page_content formatter in order to format a Kendra ResultItem as desired, e.g. by combining all sorts of possible document attributes with the title and excerpt of the item.
Currently, the [AmazonKendraRetriever](https://github.com/hwchase17/langchain/blob/master/langchain/retrievers/kendra.py#L30) does not expose a template or allow the user to overwrite how the value of the Document page_content is generated.
Let me know what you think. I am open to suggestions.
@3coins @baskaryan
### Motivation
The Amazon Kendra result item provides not only the title and excerpt but all sorts of customizable document attributes that could be combined to improve the result of the LLM completion.
For instance, according to the official [Amazon Kendra documentation](https://docs.aws.amazon.com/kendra/latest/APIReference/API_RetrieveResultItem.html):
> DocumentAttributes
> An array of document fields/attributes assigned to a document in the search results. For example, the document author (_author) or the source URI (_source_uri) of the document.
>
> Type: Array of [DocumentAttribute](https://docs.aws.amazon.com/kendra/latest/APIReference/API_DocumentAttribute.html) objects
>
> Required: No
Different use cases could leverage on the ability to change the Document page_content final value as close to the Kendra Retriever as possible.
### Your contribution
I would be glad to work on this feature. I have already started with a simple prototype and I could issue a PR proposing that change.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7787/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7787/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7786
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7786/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7786/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7786/events
|
https://github.com/langchain-ai/langchain/issues/7786
| 1,806,559,631 |
I_kwDOIPDwls5rremP
| 7,786 |
HuggingFaceEndpoint returns empty string in "text-generation" mode with prompt template
|
{
"login": "sglebs",
"id": 1507221,
"node_id": "MDQ6VXNlcjE1MDcyMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1507221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sglebs",
"html_url": "https://github.com/sglebs",
"followers_url": "https://api.github.com/users/sglebs/followers",
"following_url": "https://api.github.com/users/sglebs/following{/other_user}",
"gists_url": "https://api.github.com/users/sglebs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sglebs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sglebs/subscriptions",
"organizations_url": "https://api.github.com/users/sglebs/orgs",
"repos_url": "https://api.github.com/users/sglebs/repos",
"events_url": "https://api.github.com/users/sglebs/events{/privacy}",
"received_events_url": "https://api.github.com/users/sglebs/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T12:15:34 | 2023-10-22T16:06:21 | 2023-10-22T16:06:20 |
NONE
| null |
### System Info
Python 3.9.6
langchain==0.0.229
MacOS on Apple M2 hardware
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
I provisioned [cerebras/Cerebras-GPT-2.7B](https://huggingface.co/cerebras/Cerebras-GPT-2.7B) and noticed I was getting an empty string when asking a question with my prompt, in "text-generation" mode. Upon debugging I found the issue:
```
if self.task == "text-generation":
# Text generation return includes the starter text.
text = generated_text[0]["generated_text"][len(prompt) :]. # <==== HERE
elif self.task == "text2text-generation":
text = generated_text[0]["generated_text"]
elif self.task == "summarization":
text = generated_text[0]["summary_text"]
```
I had to patch it like this:
```
text = generated_text[0]["generated_text"]
```
That is so because generated_text[0]["generated_text"] is NOT returning with the prompt text. Therefore, [len(prompt) :] effectively discards the actual answer. Basically, from debugging I see that the logic I want is the same as is coded under "text2text-generation". But I am using "text-generation" and the answer *does not* come with the prompt text back. Any chance the logic for these 2 are swapped?
My prompt:
'''
You are a useful and cordial assistant. Your objective is to provide precise and
relevant information about Thinksurance. You must answer the questions formulated by the
human user with attention and only based on the context provided. You should never
invent facts. If you can't find the answer using the supplied context, just say that you
are unable to answer.
Context:
{context}
Question:
{question}
'''
### Expected behavior
As described above, the expected behaviour is to get the answer back, not an empty string, when a prompt is used and in "text-generation" mode.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7786/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7786/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7785
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7785/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7785/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7785/events
|
https://github.com/langchain-ai/langchain/issues/7785
| 1,806,556,360 |
I_kwDOIPDwls5rrdzI
| 7,785 |
streaming support for LLM, from HuggingFaceEndpoint
|
{
"login": "sglebs",
"id": 1507221,
"node_id": "MDQ6VXNlcjE1MDcyMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1507221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sglebs",
"html_url": "https://github.com/sglebs",
"followers_url": "https://api.github.com/users/sglebs/followers",
"following_url": "https://api.github.com/users/sglebs/following{/other_user}",
"gists_url": "https://api.github.com/users/sglebs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sglebs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sglebs/subscriptions",
"organizations_url": "https://api.github.com/users/sglebs/orgs",
"repos_url": "https://api.github.com/users/sglebs/repos",
"events_url": "https://api.github.com/users/sglebs/events{/privacy}",
"received_events_url": "https://api.github.com/users/sglebs/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 6 | 2023-07-16T12:04:36 | 2024-01-08T06:49:06 | 2023-12-01T16:09:02 |
NONE
| null |
### System Info
Python 3.9.6
langchain==0.0.229
MacOS on Apple M2 hardware
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [X] Callbacks/Tracing
- [ ] Async
### Reproduction
I use RetrievalQA.from_chain_type(llm=llm, ...) and with these LLMs streaming works:
- ChatOpenAI. (I can pass streaming=True)
- OpenAI. (I can pass streaming=True)
However, with HuggingFaceEndpoint the streaming just does not work. It does not even take streaming=bool.
### Expected behavior
I am able to switch LLM engines via config, and would like to have the streaming feature as the output is incrementally shown to the user, which is great for slow responses (much better usability - no need to wait for the entire time to compute the entire answer). Unfortunately this is not possible with HuggingFaceEndpoint.
https://github.com/hwchase17/langchain/issues/2918 talks about HuggingFaceHub , which is not really my case (HuggingFaceEndpoint)
Is there a simple way to make it work with RetrievalQA.from_chain_type(llm=llm,...) where the llm is created like
```
llm = HuggingFaceEndpoint(endpoint_url=my_endpoint,
task="text-generation",
streaming=True
callbacks = callbacks,
model_kwargs={"temperature": temperature, "max_length": 1024})
```
Thanks!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7785/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7785/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7784
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7784/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7784/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7784/events
|
https://github.com/langchain-ai/langchain/issues/7784
| 1,806,548,419 |
I_kwDOIPDwls5rrb3D
| 7,784 |
ReplitLM Model_addition_in_langchain
|
{
"login": "kaushal07wick",
"id": 57106063,
"node_id": "MDQ6VXNlcjU3MTA2MDYz",
"avatar_url": "https://avatars.githubusercontent.com/u/57106063?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaushal07wick",
"html_url": "https://github.com/kaushal07wick",
"followers_url": "https://api.github.com/users/kaushal07wick/followers",
"following_url": "https://api.github.com/users/kaushal07wick/following{/other_user}",
"gists_url": "https://api.github.com/users/kaushal07wick/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kaushal07wick/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kaushal07wick/subscriptions",
"organizations_url": "https://api.github.com/users/kaushal07wick/orgs",
"repos_url": "https://api.github.com/users/kaushal07wick/repos",
"events_url": "https://api.github.com/users/kaushal07wick/events{/privacy}",
"received_events_url": "https://api.github.com/users/kaushal07wick/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-16T11:36:07 | 2023-10-22T16:06:26 | 2023-10-22T16:06:25 |
NONE
| null |
### Feature request
I want to integrate the MPT style code LLM, ReplitLM from Replit into the langchain.
### Motivation
I want a code LLM in langchain, as ReplitLM has been continuously providing good results either fine tuned or not.
I was working on a project for analyzing complex code patterns and structures but generalized LLMs fails on this task, so I want to add code LLMs in langchain.
### Your contribution
I want just a little guidance on how to integrate any new LLM into the framework, and then i'll start working on the PR and submit it in ASAP.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7784/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7784/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7783
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7783/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7783/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7783/events
|
https://github.com/langchain-ai/langchain/pull/7783
| 1,806,548,231 |
PR_kwDOIPDwls5Vm1cg
| 7,783 |
fix #7782: check title and excerpt separately for page_content
|
{
"login": "wnleao",
"id": 2644049,
"node_id": "MDQ6VXNlcjI2NDQwNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2644049?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wnleao",
"html_url": "https://github.com/wnleao",
"followers_url": "https://api.github.com/users/wnleao/followers",
"following_url": "https://api.github.com/users/wnleao/following{/other_user}",
"gists_url": "https://api.github.com/users/wnleao/gists{/gist_id}",
"starred_url": "https://api.github.com/users/wnleao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wnleao/subscriptions",
"organizations_url": "https://api.github.com/users/wnleao/orgs",
"repos_url": "https://api.github.com/users/wnleao/repos",
"events_url": "https://api.github.com/users/wnleao/events{/privacy}",
"received_events_url": "https://api.github.com/users/wnleao/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-16T11:35:30 | 2023-07-19T01:46:23 | 2023-07-19T01:46:23 |
CONTRIBUTOR
| null |
- Description: check title and excerpt separately for page_content so that if title is empty but excerpt is present, the page_content will only contain the excerpt
- Issue: #7782
- Tag maintainer: @3coins @baskaryan
- Twitter handle: wilsonleao
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7783/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7783/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7783",
"html_url": "https://github.com/langchain-ai/langchain/pull/7783",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7783.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7783.patch",
"merged_at": "2023-07-19T01:46:23"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7782
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7782/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7782/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7782/events
|
https://github.com/langchain-ai/langchain/issues/7782
| 1,806,541,487 |
I_kwDOIPDwls5rraKv
| 7,782 |
In the AmazonKendraRetriever, the Document page_content is empty for ResultItem with Type ANSWER when using the Query API
|
{
"login": "wnleao",
"id": 2644049,
"node_id": "MDQ6VXNlcjI2NDQwNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2644049?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wnleao",
"html_url": "https://github.com/wnleao",
"followers_url": "https://api.github.com/users/wnleao/followers",
"following_url": "https://api.github.com/users/wnleao/following{/other_user}",
"gists_url": "https://api.github.com/users/wnleao/gists{/gist_id}",
"starred_url": "https://api.github.com/users/wnleao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wnleao/subscriptions",
"organizations_url": "https://api.github.com/users/wnleao/orgs",
"repos_url": "https://api.github.com/users/wnleao/repos",
"events_url": "https://api.github.com/users/wnleao/events{/privacy}",
"received_events_url": "https://api.github.com/users/wnleao/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T11:11:02 | 2023-07-19T01:46:28 | 2023-07-19T01:46:28 |
CONTRIBUTOR
| null |
### System Info
- LangChain version: 0.0.234
- Platform: Local and AWS ECS
- Python version: 3.9
### Who can help?
@3coins
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [X] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
1. Install latest version of Langchain
2. Follow instructions here: https://python.langchain.com/docs/modules/data_connection/retrievers/integrations/amazon_kendra_retriever
3. Ask for a specific quesiton that will fall back to using the Query API that returns a ResultItem with type ANSWER and inspect the content as following
I replaced the original values with "----------------".
```json
{
"Id": "----------------",
"Type": "ANSWER",
"Format": "TABLE",
"AdditionalAttributes": [
{
"Key": "AnswerText",
"ValueType": "TEXT_WITH_HIGHLIGHTS_VALUE",
"Value": {
"TextWithHighlightsValue": {
"Text": "----------------",
"Highlights": [
{
"BeginOffset": 70,
"EndOffset": 81,
"TopAnswer": false,
"Type": "STANDARD"
}
]
}
}
}
],
"DocumentId": "----------------",
"DocumentTitle": {
"Text": "",
"Highlights": []
},
"DocumentExcerpt": {
"Text": "----------------",
"Highlights": [
{
"BeginOffset": 0,
"EndOffset": 81,
"TopAnswer": false,
"Type": "STANDARD"
}
]
},
...
}
```
will result in:
```
Document(page_content='', metadata={'type': 'ANSWER', 'source': '----------------', 'title': '', 'excerpt': '----------------'})
```
### Expected behavior
The document page_content should contain at least the Amazon Kendra ResultItem excerpt. According to the [Amazon Kendra documentation](https://docs.aws.amazon.com/kendra/latest/APIReference/API_QueryResultItem.html), the DocumentTitle is not required, therefore we should not expect it in order to return the page_content as seen on the [AmazonKendraRetriever code](https://github.com/hwchase17/langchain/blob/master/langchain/retrievers/kendra.py#L41).
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7782/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7782/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7781
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7781/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7781/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7781/events
|
https://github.com/langchain-ai/langchain/pull/7781
| 1,806,534,100 |
PR_kwDOIPDwls5Vmyqg
| 7,781 |
Exposes Kendra result item DocumentAttributes in the document metadata
|
{
"login": "wnleao",
"id": 2644049,
"node_id": "MDQ6VXNlcjI2NDQwNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2644049?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wnleao",
"html_url": "https://github.com/wnleao",
"followers_url": "https://api.github.com/users/wnleao/followers",
"following_url": "https://api.github.com/users/wnleao/following{/other_user}",
"gists_url": "https://api.github.com/users/wnleao/gists{/gist_id}",
"starred_url": "https://api.github.com/users/wnleao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wnleao/subscriptions",
"organizations_url": "https://api.github.com/users/wnleao/orgs",
"repos_url": "https://api.github.com/users/wnleao/repos",
"events_url": "https://api.github.com/users/wnleao/events{/privacy}",
"received_events_url": "https://api.github.com/users/wnleao/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-16T10:44:25 | 2023-07-19T01:46:38 | 2023-07-19T01:46:38 |
CONTRIBUTOR
| null |
- Description: exposes the ResultItem DocumentAttributes as document metadata with key 'document_attributes' and refactors AmazonKendraRetriever by providing a ResultItem base class in order to avoid duplicate code;
- Tag maintainer: @3coins @hupe1980 @dev2049 @baskaryan
- Twitter handle: wilsonleao
### Why?
Some use cases depend on specific document attributes returned by the retriever in order to improve the quality of the overall completion and adjust what will be displayed to the user. For the sake of consistency, we need to expose the DocumentAttributes as document metadata so we are sure that we are using the values returned by the kendra request issued by langchain.
I would appreciate your review @3coins @hupe1980 @dev2049. Thank you in advance!
### References
- [Amazon Kendra DocumentAttribute](https://docs.aws.amazon.com/kendra/latest/APIReference/API_DocumentAttribute.html)
- [Amazon Kendra DocumentAttributeValue](https://docs.aws.amazon.com/kendra/latest/APIReference/API_DocumentAttributeValue.html)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7781/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7781/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7781",
"html_url": "https://github.com/langchain-ai/langchain/pull/7781",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7781.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7781.patch",
"merged_at": "2023-07-19T01:46:38"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7780
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7780/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7780/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7780/events
|
https://github.com/langchain-ai/langchain/issues/7780
| 1,806,498,956 |
I_kwDOIPDwls5rrPyM
| 7,780 |
Issue: Why is the KNNRetriever existed?
|
{
"login": "DayuanJiang",
"id": 34411969,
"node_id": "MDQ6VXNlcjM0NDExOTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/34411969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DayuanJiang",
"html_url": "https://github.com/DayuanJiang",
"followers_url": "https://api.github.com/users/DayuanJiang/followers",
"following_url": "https://api.github.com/users/DayuanJiang/following{/other_user}",
"gists_url": "https://api.github.com/users/DayuanJiang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DayuanJiang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DayuanJiang/subscriptions",
"organizations_url": "https://api.github.com/users/DayuanJiang/orgs",
"repos_url": "https://api.github.com/users/DayuanJiang/repos",
"events_url": "https://api.github.com/users/DayuanJiang/events{/privacy}",
"received_events_url": "https://api.github.com/users/DayuanJiang/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T08:38:23 | 2023-10-22T16:06:31 | 2023-10-22T16:06:30 |
CONTRIBUTOR
| null |
### Issue you'd like to raise.
The KNNRetriever calculates the cosine similarity of documents and retrieves the top 'n' documents. Its behavior is identical to `FAISS.similarity_search(query)`. What is the rationale behind creating a separate KNNRetriever?
### Suggestion:
Remove the KNNRetriever module.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7780/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7780/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7779
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7779/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7779/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7779/events
|
https://github.com/langchain-ai/langchain/pull/7779
| 1,806,490,692 |
PR_kwDOIPDwls5VmqNL
| 7,779 |
add bm25 module
|
{
"login": "DayuanJiang",
"id": 34411969,
"node_id": "MDQ6VXNlcjM0NDExOTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/34411969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DayuanJiang",
"html_url": "https://github.com/DayuanJiang",
"followers_url": "https://api.github.com/users/DayuanJiang/followers",
"following_url": "https://api.github.com/users/DayuanJiang/following{/other_user}",
"gists_url": "https://api.github.com/users/DayuanJiang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DayuanJiang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DayuanJiang/subscriptions",
"organizations_url": "https://api.github.com/users/DayuanJiang/orgs",
"repos_url": "https://api.github.com/users/DayuanJiang/repos",
"events_url": "https://api.github.com/users/DayuanJiang/events{/privacy}",
"received_events_url": "https://api.github.com/users/DayuanJiang/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T08:06:54 | 2023-07-17T23:15:01 | 2023-07-17T14:30:18 |
CONTRIBUTOR
| null |
- Description: Add a BM25 Retriever that do not need Elastic search
- Dependencies: rank_bm25(if it is not installed it will be install by using pip, just like TFIDFRetriever do)
- Tag maintainer: @rlancemartin, @eyurtsev
- Twitter handle: DayuanJian21687
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7779/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7779/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7779",
"html_url": "https://github.com/langchain-ai/langchain/pull/7779",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7779.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7779.patch",
"merged_at": "2023-07-17T14:30:18"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7778
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7778/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7778/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7778/events
|
https://github.com/langchain-ai/langchain/issues/7778
| 1,806,486,875 |
I_kwDOIPDwls5rrM1b
| 7,778 |
pydantic.error_wrappers.ValidationError: 1 validation error for GPT4All
|
{
"login": "CreepyGutties",
"id": 139224168,
"node_id": "U_kgDOCExkaA",
"avatar_url": "https://avatars.githubusercontent.com/u/139224168?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CreepyGutties",
"html_url": "https://github.com/CreepyGutties",
"followers_url": "https://api.github.com/users/CreepyGutties/followers",
"following_url": "https://api.github.com/users/CreepyGutties/following{/other_user}",
"gists_url": "https://api.github.com/users/CreepyGutties/gists{/gist_id}",
"starred_url": "https://api.github.com/users/CreepyGutties/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CreepyGutties/subscriptions",
"organizations_url": "https://api.github.com/users/CreepyGutties/orgs",
"repos_url": "https://api.github.com/users/CreepyGutties/repos",
"events_url": "https://api.github.com/users/CreepyGutties/events{/privacy}",
"received_events_url": "https://api.github.com/users/CreepyGutties/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 6 | 2023-07-16T07:53:03 | 2023-09-13T09:48:21 | 2023-07-18T04:50:38 |
NONE
| null |
### System Info
Python 3.8.10
gpt4all==1.0.5
langchain==0.0.234
pydantic==1.10.11
pydantic-core==2.3.0
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [X] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
**Code snippet:**
from langchain import PromptTemplate, LLMChain
from langchain.vectorstores import Chroma
from langchain.chains import ConversationalRetrievalChain
from langchain.memory import ConversationBufferMemory
from langchain.embeddings import HuggingFaceInstructEmbeddings
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
from langchain.llms import GPT4All
embedding_model_name = "hkunlp/instructor-large"
persist_directory = 'db'
callbacks = [StreamingStdOutCallbackHandler()]
model_path = "/home/imrohankar/gpttest/DocGPT/models/ggml-gpt4all-j-v1.3-groovy.bin"
llm = GPT4All(
model = model_path,
callbacks = callbacks,
verbose = False
)
**Error:**
Traceback (most recent call last):
File "/home/imrohankar/gpttest/DocGPT/conversation.py", line 15, in <module>
llm = GPT4All(
File "/home/imrohankar/gpttest/DocGPT/venv/lib/python3.8/site-packages/langchain/load/serializable.py", line 74, in __init__
super().__init__(**kwargs)
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for GPT4All
__root__
'type' object is not subscriptable (type=type_error)
**Note:** Tried downgrading pydantic, langchain versions but still the error. I am unable to understand why it gives type error while initializing GPT4All
### Expected behavior
I would expect it to find the model file at the model path
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7778/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7778/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7777
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7777/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7777/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7777/events
|
https://github.com/langchain-ai/langchain/pull/7777
| 1,806,470,357 |
PR_kwDOIPDwls5Vml9o
| 7,777 |
Add more HTTP methods supports for 'APIChain'
|
{
"login": "denggaoshan",
"id": 7964169,
"node_id": "MDQ6VXNlcjc5NjQxNjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7964169?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/denggaoshan",
"html_url": "https://github.com/denggaoshan",
"followers_url": "https://api.github.com/users/denggaoshan/followers",
"following_url": "https://api.github.com/users/denggaoshan/following{/other_user}",
"gists_url": "https://api.github.com/users/denggaoshan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/denggaoshan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/denggaoshan/subscriptions",
"organizations_url": "https://api.github.com/users/denggaoshan/orgs",
"repos_url": "https://api.github.com/users/denggaoshan/repos",
"events_url": "https://api.github.com/users/denggaoshan/events{/privacy}",
"received_events_url": "https://api.github.com/users/denggaoshan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false |
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
] | null | 4 | 2023-07-16T07:17:58 | 2023-11-07T03:43:47 | 2023-11-07T03:43:47 |
NONE
| null |
- Description: added more HTTP methods supports for APIChain, such as POST method
- Issue: Closes #2184
- Dependencies: noops
- Tag maintainer: @baskaryan, @hinthornw
- Twitter handle: noops
# Introduction
There are many (#2184) requirements for APIChain to support more HTTP requests, especially POST requests.
However, current APIChain only supports GET requests, because it simply appends the request parameters to the URL path.
In this pull request, I propose defining a standard RequestParams type for all http requests, to standardize the request parameters for api docs.
# Test
1. POST
I used the [Moderations](https://platform.openai.com/docs/api-reference/moderations/create) interface from OPEN_AI to test sending POST requests.
2. GET
I re-executed the currently existing GET request method (in TMDB Example), and the results remained consistent.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7777/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7777/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7777",
"html_url": "https://github.com/langchain-ai/langchain/pull/7777",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7777.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7777.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7774
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7774/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7774/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7774/events
|
https://github.com/langchain-ai/langchain/pull/7774
| 1,806,421,069 |
PR_kwDOIPDwls5VmcNg
| 7,774 |
Add LLM for ChatGLM(2)-6B API
|
{
"login": "mlot",
"id": 8475708,
"node_id": "MDQ6VXNlcjg0NzU3MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8475708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mlot",
"html_url": "https://github.com/mlot",
"followers_url": "https://api.github.com/users/mlot/followers",
"following_url": "https://api.github.com/users/mlot/following{/other_user}",
"gists_url": "https://api.github.com/users/mlot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mlot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mlot/subscriptions",
"organizations_url": "https://api.github.com/users/mlot/orgs",
"repos_url": "https://api.github.com/users/mlot/repos",
"events_url": "https://api.github.com/users/mlot/events{/privacy}",
"received_events_url": "https://api.github.com/users/mlot/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 6 | 2023-07-16T04:12:58 | 2023-07-25T07:16:50 | 2023-07-17T14:27:17 |
CONTRIBUTOR
| null |
Description:
Add LLM for ChatGLM-6B & ChatGLM2-6B API
Related Issue:
Will the langchain support ChatGLM? #4766
Add support for selfhost models like ChatGLM or transformer models #1780
Dependencies:
No extra library install required.
It wraps api call to a ChatGLM(2)-6B server(start with api.py), so api endpoint is required to run.
Tag maintainer: @mlot
Any comments on this PR would be appreciated.
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: Add LLM for ChatGLM-6B & ChatGLM2-6B API
- Issue: Will the langchain support ChatGLM? #4766
- Dependencies: No extra library dependencies required. User need to provide endpoint url of a ChatGLM(2)-6B api server.
- Tag maintainer: @limpo2000 in twitter
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7774/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7774/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7774",
"html_url": "https://github.com/langchain-ai/langchain/pull/7774",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7774.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7774.patch",
"merged_at": "2023-07-17T14:27:17"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7773
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7773/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7773/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7773/events
|
https://github.com/langchain-ai/langchain/pull/7773
| 1,806,418,818 |
PR_kwDOIPDwls5VmbyO
| 7,773 |
Try er/redis index retrieval retry00
|
{
"login": "TRY-ER",
"id": 75255871,
"node_id": "MDQ6VXNlcjc1MjU1ODcx",
"avatar_url": "https://avatars.githubusercontent.com/u/75255871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TRY-ER",
"html_url": "https://github.com/TRY-ER",
"followers_url": "https://api.github.com/users/TRY-ER/followers",
"following_url": "https://api.github.com/users/TRY-ER/following{/other_user}",
"gists_url": "https://api.github.com/users/TRY-ER/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TRY-ER/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TRY-ER/subscriptions",
"organizations_url": "https://api.github.com/users/TRY-ER/orgs",
"repos_url": "https://api.github.com/users/TRY-ER/repos",
"events_url": "https://api.github.com/users/TRY-ER/events{/privacy}",
"received_events_url": "https://api.github.com/users/TRY-ER/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 4 | 2023-07-16T04:01:02 | 2023-07-19T01:33:51 | 2023-07-18T17:49:50 |
CONTRIBUTOR
| null |
Replace this comment with:
- Description: Modified the code to return the document id from the redis document search as metadata.
- Issue: the issue # it fixes retrieval of id as metadata as string
- Tag maintainer: @rlancemartin, @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7773/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7773/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7773",
"html_url": "https://github.com/langchain-ai/langchain/pull/7773",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7773.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7773.patch",
"merged_at": "2023-07-18T17:49:50"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7772
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7772/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7772/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7772/events
|
https://github.com/langchain-ai/langchain/pull/7772
| 1,806,416,750 |
PR_kwDOIPDwls5VmbZV
| 7,772 |
implement GitHub toolkit and notebook example
|
{
"login": "Trevato",
"id": 16619882,
"node_id": "MDQ6VXNlcjE2NjE5ODgy",
"avatar_url": "https://avatars.githubusercontent.com/u/16619882?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Trevato",
"html_url": "https://github.com/Trevato",
"followers_url": "https://api.github.com/users/Trevato/followers",
"following_url": "https://api.github.com/users/Trevato/following{/other_user}",
"gists_url": "https://api.github.com/users/Trevato/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Trevato/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Trevato/subscriptions",
"organizations_url": "https://api.github.com/users/Trevato/orgs",
"repos_url": "https://api.github.com/users/Trevato/repos",
"events_url": "https://api.github.com/users/Trevato/events{/privacy}",
"received_events_url": "https://api.github.com/users/Trevato/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-16T03:48:57 | 2023-07-21T02:33:09 | 2023-07-21T02:33:09 |
CONTRIBUTOR
| null |
Hey @hinthornw,
It seems you're the guy for new toolkits.
### Description
This PR is my implementation of a CRUD toolkit for GitHub. It implements functions to create, read, update, and delete files on a GitHub repository. Also, it has 2 functions to get a list of issues and get more information on a specific issue (including comments etc.) allowing agents to interact with other collaborators.
### Dependencies
[PyGitHub](https://github.com/PyGithub/PyGithub)
### Testing
I have included a notebook which showcases an example of an agent completing an issue on a test repository which can be found in the toolkits docs.
My Twitter handle is @trevordobbertin if this is something that the team feels is cool enough for a shoutout.
Thanks!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7772/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7772/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7772",
"html_url": "https://github.com/langchain-ai/langchain/pull/7772",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7772.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7772.patch",
"merged_at": "2023-07-21T02:33:09"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7771
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7771/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7771/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7771/events
|
https://github.com/langchain-ai/langchain/pull/7771
| 1,806,410,744 |
PR_kwDOIPDwls5VmaPk
| 7,771 |
fix: pgvector search_type of similarity_score_threshold not working
|
{
"login": "wwwbbb8510",
"id": 3609064,
"node_id": "MDQ6VXNlcjM2MDkwNjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3609064?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wwwbbb8510",
"html_url": "https://github.com/wwwbbb8510",
"followers_url": "https://api.github.com/users/wwwbbb8510/followers",
"following_url": "https://api.github.com/users/wwwbbb8510/following{/other_user}",
"gists_url": "https://api.github.com/users/wwwbbb8510/gists{/gist_id}",
"starred_url": "https://api.github.com/users/wwwbbb8510/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wwwbbb8510/subscriptions",
"organizations_url": "https://api.github.com/users/wwwbbb8510/orgs",
"repos_url": "https://api.github.com/users/wwwbbb8510/repos",
"events_url": "https://api.github.com/users/wwwbbb8510/events{/privacy}",
"received_events_url": "https://api.github.com/users/wwwbbb8510/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-16T03:14:33 | 2023-07-22T03:08:37 | 2023-07-19T14:20:52 |
CONTRIBUTOR
| null |
- Description: VectorStoreRetriever->similarity_score_threshold with search_type of "similarity_score_threshold" not working with the following two minor issues,
- Issue: 1. In line 237 of `vectorstores/base.py`, "score_threshold" is passed to `_similarity_search_with_relevance_scores` as in the kwargs, while score_threshold is not a valid argument of this method. As a fix, before calling `_similarity_search_with_relevance_scores`, score_threshold is popped from kwargs. 2. In line 596 to 607 of `vectorstores/pgvector.py`, it's checking the distance_strategy against the string in Enum. However, self.distance_strategy will get the property of distance_strategy from line 316, where the callable function is passed. To solve this issue, self.distance_strategy is changed to self._distance_strategy to avoid calling the property method.,
- Dependencies: No,
- Tag maintainer: @rlancemartin, @eyurtsev,
- Twitter handle: No
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7771/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7771/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7771",
"html_url": "https://github.com/langchain-ai/langchain/pull/7771",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7771.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7771.patch",
"merged_at": "2023-07-19T14:20:52"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7770
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7770/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7770/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7770/events
|
https://github.com/langchain-ai/langchain/issues/7770
| 1,806,402,879 |
I_kwDOIPDwls5rq4U_
| 7,770 |
Capturing all content from Output Parser / OpenAI Function Calling
|
{
"login": "florence26",
"id": 32259316,
"node_id": "MDQ6VXNlcjMyMjU5MzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/32259316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/florence26",
"html_url": "https://github.com/florence26",
"followers_url": "https://api.github.com/users/florence26/followers",
"following_url": "https://api.github.com/users/florence26/following{/other_user}",
"gists_url": "https://api.github.com/users/florence26/gists{/gist_id}",
"starred_url": "https://api.github.com/users/florence26/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/florence26/subscriptions",
"organizations_url": "https://api.github.com/users/florence26/orgs",
"repos_url": "https://api.github.com/users/florence26/repos",
"events_url": "https://api.github.com/users/florence26/events{/privacy}",
"received_events_url": "https://api.github.com/users/florence26/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-16T02:27:58 | 2023-10-22T16:06:37 | 2023-10-22T16:06:36 |
NONE
| null |
### System Info
Langchain Version: 0.0.207
### Who can help?
Is there a way to get the whole output with Output Parser or OpenAI function calling?
I have a simple prompt where I get the LLM to output responses to a set of questions, and I would like to get a structured response that separates the question number and the response to the question generated by the LLM.
I have been testing it out with Structured Output Parsers but when I use it, the answers I get are often a shortened version of the original answer. This depends on the description I put in the answer_schema below. I've tried a variety of descriptions to capture as much of the original response as possible, but it is always lacking a lot of detail.
```
question_number_schema = ResponseSchema(name = "question_number",
description = "Question Number, e.g. 1, 2, 3", type = "number")
answer_schema = ResponseSchema(name = "answer",
description = "Detailed Response")
response_schemas = [question_number_schema, answer_schema]
```
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [X] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
For example, if my original output without the Structured Output Parser was:
```
'''
Question 3: Unsupervised fine-tuning involves updating a pre-existing language model using unstructured datasets such as research papers, articles, forums, or websites. This approach allows the language model to learn patterns and vocabularies within the data without the need for explicit human labeling.
Question 4: Supervised fine-tuning leverages labeled samples of data to train the language model. These labeled samples consist of input prompts paired with corresponding desired outputs, providing explicit guidance on the desired structure or behavior. This approach is used when specific outputs or classifications are required, such as text classification.
'''
```
I'm currently getting something like:
```
{"Question 3": "Unsupervised fine-tuning updates pre-existing language models using unstructured datasets.",
"Question 4": "Supervised fine-tuning trains language models with labeled samples."}
```
### Expected behavior
I'd like to get something like this:
```
{"Question 3": "Unsupervised fine-tuning involves updating a pre-existing language model using unstructured datasets such as research papers, articles, forums, or websites. This approach allows the language model to learn patterns and vocabularies within the data without the need for explicit human labeling.",
"Question 4": "Supervised fine-tuning leverages labeled samples of data to train the language model. These labeled samples consist of input prompts paired with corresponding desired outputs, providing explicit guidance on the desired structure or behavior. This approach is used when specific outputs or classifications are required, such as text classification."}
```
This isn't the exact example I'm using, but the idea is similar.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7770/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7770/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7769
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7769/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7769/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7769/events
|
https://github.com/langchain-ai/langchain/pull/7769
| 1,806,386,681 |
PR_kwDOIPDwls5VmV1H
| 7,769 |
add test for knn retriever
|
{
"login": "shibuiwilliam",
"id": 23517545,
"node_id": "MDQ6VXNlcjIzNTE3NTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/23517545?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shibuiwilliam",
"html_url": "https://github.com/shibuiwilliam",
"followers_url": "https://api.github.com/users/shibuiwilliam/followers",
"following_url": "https://api.github.com/users/shibuiwilliam/following{/other_user}",
"gists_url": "https://api.github.com/users/shibuiwilliam/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shibuiwilliam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shibuiwilliam/subscriptions",
"organizations_url": "https://api.github.com/users/shibuiwilliam/orgs",
"repos_url": "https://api.github.com/users/shibuiwilliam/repos",
"events_url": "https://api.github.com/users/shibuiwilliam/events{/privacy}",
"received_events_url": "https://api.github.com/users/shibuiwilliam/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T00:59:24 | 2023-07-18T16:52:12 | 2023-07-18T16:52:12 |
CONTRIBUTOR
| null |
# What
- This is to add test for knn retriever.
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: add test to knn retriever
- Issue: None
- Dependencies: None
- Tag maintainer: @baskaryan
- Twitter handle: @MlopsJ
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7769/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7769/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7769",
"html_url": "https://github.com/langchain-ai/langchain/pull/7769",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7769.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7769.patch",
"merged_at": "2023-07-18T16:52:12"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7768
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7768/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7768/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7768/events
|
https://github.com/langchain-ai/langchain/pull/7768
| 1,806,384,529 |
PR_kwDOIPDwls5VmVbj
| 7,768 |
Add test for svm retriever
|
{
"login": "shibuiwilliam",
"id": 23517545,
"node_id": "MDQ6VXNlcjIzNTE3NTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/23517545?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shibuiwilliam",
"html_url": "https://github.com/shibuiwilliam",
"followers_url": "https://api.github.com/users/shibuiwilliam/followers",
"following_url": "https://api.github.com/users/shibuiwilliam/following{/other_user}",
"gists_url": "https://api.github.com/users/shibuiwilliam/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shibuiwilliam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shibuiwilliam/subscriptions",
"organizations_url": "https://api.github.com/users/shibuiwilliam/orgs",
"repos_url": "https://api.github.com/users/shibuiwilliam/repos",
"events_url": "https://api.github.com/users/shibuiwilliam/events{/privacy}",
"received_events_url": "https://api.github.com/users/shibuiwilliam/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-16T00:47:28 | 2023-07-18T16:57:24 | 2023-07-18T16:57:24 |
CONTRIBUTOR
| null |
# What
- This is to add unit test for svm retriever.
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: add test for svm retriever
- Issue: None
- Dependencies: None
- Tag maintainer: @baskaryan
- Twitter handle: @MlopsJ
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7768/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7768/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7768",
"html_url": "https://github.com/langchain-ai/langchain/pull/7768",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7768.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7768.patch",
"merged_at": "2023-07-18T16:57:24"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7767
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7767/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7767/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7767/events
|
https://github.com/langchain-ai/langchain/pull/7767
| 1,806,364,565 |
PR_kwDOIPDwls5VmR6i
| 7,767 |
update LangSmith notebook
|
{
"login": "agola11",
"id": 9536492,
"node_id": "MDQ6VXNlcjk1MzY0OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/9536492?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agola11",
"html_url": "https://github.com/agola11",
"followers_url": "https://api.github.com/users/agola11/followers",
"following_url": "https://api.github.com/users/agola11/following{/other_user}",
"gists_url": "https://api.github.com/users/agola11/gists{/gist_id}",
"starred_url": "https://api.github.com/users/agola11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/agola11/subscriptions",
"organizations_url": "https://api.github.com/users/agola11/orgs",
"repos_url": "https://api.github.com/users/agola11/repos",
"events_url": "https://api.github.com/users/agola11/events{/privacy}",
"received_events_url": "https://api.github.com/users/agola11/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-15T23:09:07 | 2023-07-16T04:05:10 | 2023-07-16T04:05:09 |
COLLABORATOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7767/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7767/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7767",
"html_url": "https://github.com/langchain-ai/langchain/pull/7767",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7767.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7767.patch",
"merged_at": "2023-07-16T04:05:09"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7764
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7764/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7764/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7764/events
|
https://github.com/langchain-ai/langchain/pull/7764
| 1,806,326,748 |
PR_kwDOIPDwls5VmKjB
| 7,764 |
feat: moving azure OpenAI API version to the latest 2023-05-15
|
{
"login": "maciej-skorupka",
"id": 9993219,
"node_id": "MDQ6VXNlcjk5OTMyMTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9993219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maciej-skorupka",
"html_url": "https://github.com/maciej-skorupka",
"followers_url": "https://api.github.com/users/maciej-skorupka/followers",
"following_url": "https://api.github.com/users/maciej-skorupka/following{/other_user}",
"gists_url": "https://api.github.com/users/maciej-skorupka/gists{/gist_id}",
"starred_url": "https://api.github.com/users/maciej-skorupka/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/maciej-skorupka/subscriptions",
"organizations_url": "https://api.github.com/users/maciej-skorupka/orgs",
"repos_url": "https://api.github.com/users/maciej-skorupka/repos",
"events_url": "https://api.github.com/users/maciej-skorupka/events{/privacy}",
"received_events_url": "https://api.github.com/users/maciej-skorupka/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-15T20:50:38 | 2023-07-18T16:50:16 | 2023-07-18T16:50:16 |
CONTRIBUTOR
| null |
Moving to the latest non-preview Azure OpenAI API version=2023-05-15. The previous 2023-03-15-preview doesn't have support, SLA etc. For instance, OpenAI SDK has moved to this version https://github.com/openai/openai-python/releases/tag/v0.27.7
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7764/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7764/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7764",
"html_url": "https://github.com/langchain-ai/langchain/pull/7764",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7764.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7764.patch",
"merged_at": "2023-07-18T16:50:16"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7763
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7763/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7763/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7763/events
|
https://github.com/langchain-ai/langchain/issues/7763
| 1,806,311,364 |
I_kwDOIPDwls5rqh_E
| 7,763 |
Google Palm 2 as underlying LLM for Agent
|
{
"login": "mhb11",
"id": 12384553,
"node_id": "MDQ6VXNlcjEyMzg0NTUz",
"avatar_url": "https://avatars.githubusercontent.com/u/12384553?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mhb11",
"html_url": "https://github.com/mhb11",
"followers_url": "https://api.github.com/users/mhb11/followers",
"following_url": "https://api.github.com/users/mhb11/following{/other_user}",
"gists_url": "https://api.github.com/users/mhb11/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mhb11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mhb11/subscriptions",
"organizations_url": "https://api.github.com/users/mhb11/orgs",
"repos_url": "https://api.github.com/users/mhb11/repos",
"events_url": "https://api.github.com/users/mhb11/events{/privacy}",
"received_events_url": "https://api.github.com/users/mhb11/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700848,
"node_id": "LA_kwDOIPDwls8AAAABUpidsA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:question",
"name": "auto:question",
"color": "BFD4F2",
"default": false,
"description": "A specific question about the codebase, product, project, or how to use a feature"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
},
{
"id": 5774514459,
"node_id": "LA_kwDOIPDwls8AAAABWDAZGw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/stale",
"name": "stale",
"color": "dadada",
"default": false,
"description": "Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed"
}
] |
open
| false | null |
[] | null | 3 | 2023-07-15T20:08:33 | 2023-12-25T16:01:37 | null |
NONE
| null |
### Feature request
I want to be able to use Google Palm (bison) as the underlying LLM for agents. Currently I'm using chatGPT, but I also want to experiment how Google Palm performs with tool-picking. I have API access to I can experiment with it.
### Motivation
I propose Google's Palm because I've anecdotally seen examples where it performed well in summarization and decision-making tasks. That makes me think it would be a very compelling candidate for
### Your contribution
Will I need to over-ride some class within langchain? If you can give me step-by-step instructions, I might be able to help and submit a PR. Thanks!
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7763/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7763/timeline
| null | null | null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7761
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7761/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7761/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7761/events
|
https://github.com/langchain-ai/langchain/pull/7761
| 1,806,279,899 |
PR_kwDOIPDwls5VmA_p
| 7,761 |
[nit] Apply default value for ChatOpenAI client
|
{
"login": "jcampbell",
"id": 332575,
"node_id": "MDQ6VXNlcjMzMjU3NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/332575?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jcampbell",
"html_url": "https://github.com/jcampbell",
"followers_url": "https://api.github.com/users/jcampbell/followers",
"following_url": "https://api.github.com/users/jcampbell/following{/other_user}",
"gists_url": "https://api.github.com/users/jcampbell/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jcampbell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jcampbell/subscriptions",
"organizations_url": "https://api.github.com/users/jcampbell/orgs",
"repos_url": "https://api.github.com/users/jcampbell/repos",
"events_url": "https://api.github.com/users/jcampbell/events{/privacy}",
"received_events_url": "https://api.github.com/users/jcampbell/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-15T19:06:01 | 2023-07-19T14:45:16 | 2023-07-19T14:37:12 |
CONTRIBUTOR
| null |
This is a small convenience PR to give a default to the `client` attribute of ChatOpenAI, avoiding a warning from type checkers about it being missing when initializing the class. The attribute appears to be set during validation already using a default value.
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7761/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7761/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7761",
"html_url": "https://github.com/langchain-ai/langchain/pull/7761",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7761.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7761.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7759
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7759/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7759/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7759/events
|
https://github.com/langchain-ai/langchain/pull/7759
| 1,806,237,798 |
PR_kwDOIPDwls5Vl4k5
| 7,759 |
Update langsmith version
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-15T17:28:09 | 2023-07-15T19:01:42 | 2023-07-15T19:01:41 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7759/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7759/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7759",
"html_url": "https://github.com/langchain-ai/langchain/pull/7759",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7759.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7759.patch",
"merged_at": "2023-07-15T19:01:41"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7758
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7758/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7758/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7758/events
|
https://github.com/langchain-ai/langchain/pull/7758
| 1,806,210,813 |
PR_kwDOIPDwls5VlzWU
| 7,758 |
Fixed sparql SELECT and UPDATE query function
|
{
"login": "aditya-29",
"id": 42727919,
"node_id": "MDQ6VXNlcjQyNzI3OTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/42727919?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aditya-29",
"html_url": "https://github.com/aditya-29",
"followers_url": "https://api.github.com/users/aditya-29/followers",
"following_url": "https://api.github.com/users/aditya-29/following{/other_user}",
"gists_url": "https://api.github.com/users/aditya-29/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aditya-29/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aditya-29/subscriptions",
"organizations_url": "https://api.github.com/users/aditya-29/orgs",
"repos_url": "https://api.github.com/users/aditya-29/repos",
"events_url": "https://api.github.com/users/aditya-29/events{/privacy}",
"received_events_url": "https://api.github.com/users/aditya-29/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 10 | 2023-07-15T16:33:26 | 2023-09-05T18:46:49 | 2023-07-25T01:29:30 |
CONTRIBUTOR
| null |
- Description: Changed "SELECT" and "UPDTAE" intent check from "=" to "in",
- Issue: Based on my own testing, most of the LLM (StarCoder, NeoGPT3, etc..) doesn't return a single word response ("SELECT" / "UPDATE") through this modification, we can accomplish the same output without curated prompt engineering.
- Dependencies: None
- Tag maintainer: @baskaryan
- Twitter handle: @aditya_0290
Thank you for maintaining this library, Keep up the good efforts.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7758/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7758/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7758",
"html_url": "https://github.com/langchain-ai/langchain/pull/7758",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7758.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7758.patch",
"merged_at": "2023-07-25T01:29:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7757
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7757/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7757/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7757/events
|
https://github.com/langchain-ai/langchain/pull/7757
| 1,806,209,467 |
PR_kwDOIPDwls5VlzCp
| 7,757 |
remove unused import in voice assistant doc
|
{
"login": "munkhorgil",
"id": 978987,
"node_id": "MDQ6VXNlcjk3ODk4Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/978987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/munkhorgil",
"html_url": "https://github.com/munkhorgil",
"followers_url": "https://api.github.com/users/munkhorgil/followers",
"following_url": "https://api.github.com/users/munkhorgil/following{/other_user}",
"gists_url": "https://api.github.com/users/munkhorgil/gists{/gist_id}",
"starred_url": "https://api.github.com/users/munkhorgil/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/munkhorgil/subscriptions",
"organizations_url": "https://api.github.com/users/munkhorgil/orgs",
"repos_url": "https://api.github.com/users/munkhorgil/repos",
"events_url": "https://api.github.com/users/munkhorgil/events{/privacy}",
"received_events_url": "https://api.github.com/users/munkhorgil/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-15T16:31:26 | 2023-07-18T17:00:14 | 2023-07-18T16:51:29 |
CONTRIBUTOR
| null |
Description: Removed unused import in voice_assistant doc.
Tag maintainer: @baskaryan
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7757/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7757/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7757",
"html_url": "https://github.com/langchain-ai/langchain/pull/7757",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7757.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7757.patch",
"merged_at": "2023-07-18T16:51:29"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7756
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7756/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7756/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7756/events
|
https://github.com/langchain-ai/langchain/pull/7756
| 1,806,198,837 |
PR_kwDOIPDwls5Vlwx4
| 7,756 |
Async recursive url loader
|
{
"login": "proximal-phalanx",
"id": 108248080,
"node_id": "U_kgDOBnO8EA",
"avatar_url": "https://avatars.githubusercontent.com/u/108248080?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/proximal-phalanx",
"html_url": "https://github.com/proximal-phalanx",
"followers_url": "https://api.github.com/users/proximal-phalanx/followers",
"following_url": "https://api.github.com/users/proximal-phalanx/following{/other_user}",
"gists_url": "https://api.github.com/users/proximal-phalanx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/proximal-phalanx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/proximal-phalanx/subscriptions",
"organizations_url": "https://api.github.com/users/proximal-phalanx/orgs",
"repos_url": "https://api.github.com/users/proximal-phalanx/repos",
"events_url": "https://api.github.com/users/proximal-phalanx/events{/privacy}",
"received_events_url": "https://api.github.com/users/proximal-phalanx/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false |
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
] | null | 17 | 2023-07-15T16:07:38 | 2023-07-31T04:51:51 | 2023-07-28T05:26:53 |
CONTRIBUTOR
| null |
Description: This PR implements a new document loader, async_recursive_url_loader, based on the recursive_loader. It not only made the original loader async but also added a few features, such as limiting the depth of the access, and customizable extractors(from the raw webpage to the text of the Document object), so that users can use other tools to extract the webpage. This PR also includes the document and test for the new loader.
Issue: N/A
Dependencies: asyncio, aiohttp
Tag maintainer: @rlancemartin, @eyurtsev
Twitter handle: @ Zend_Nihility
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7756/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7756/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7756",
"html_url": "https://github.com/langchain-ai/langchain/pull/7756",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7756.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7756.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7755
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7755/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7755/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7755/events
|
https://github.com/langchain-ai/langchain/pull/7755
| 1,806,197,789 |
PR_kwDOIPDwls5Vlwk9
| 7,755 |
Fix ntbk link in docs
|
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-15T16:06:52 | 2023-07-15T16:11:19 | 2023-07-15T16:11:19 |
COLLABORATOR
| null |
Minor fix to running to [docs](https://python.langchain.com/docs/use_cases/question_answering/local_retrieval_qa).
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7755/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7755/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7755",
"html_url": "https://github.com/langchain-ai/langchain/pull/7755",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7755.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7755.patch",
"merged_at": "2023-07-15T16:11:19"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7754
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7754/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7754/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7754/events
|
https://github.com/langchain-ai/langchain/pull/7754
| 1,806,142,581 |
PR_kwDOIPDwls5Vlkn_
| 7,754 |
bump 234
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5010622926,
"node_id": "LA_kwDOIPDwls8AAAABKqgJzg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/release",
"name": "release",
"color": "07D4BE",
"default": false,
"description": ""
},
{
"id": 5680700883,
"node_id": "LA_kwDOIPDwls8AAAABUpid0w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:nit",
"name": "auto:nit",
"color": "FEF2C0",
"default": false,
"description": "Small modifications/deletions, fixes, deps or improvements to existing code or docs"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-15T14:41:54 | 2023-07-15T14:49:52 | 2023-07-15T14:49:51 |
COLLABORATOR
| null | null |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7754/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7754/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7754",
"html_url": "https://github.com/langchain-ai/langchain/pull/7754",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7754.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7754.patch",
"merged_at": "2023-07-15T14:49:51"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7753
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7753/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7753/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7753/events
|
https://github.com/langchain-ai/langchain/pull/7753
| 1,806,132,669 |
PR_kwDOIPDwls5Vliuj
| 7,753 |
Notebook update: sales agent with tools
|
{
"login": "filip-michalsky",
"id": 31483888,
"node_id": "MDQ6VXNlcjMxNDgzODg4",
"avatar_url": "https://avatars.githubusercontent.com/u/31483888?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/filip-michalsky",
"html_url": "https://github.com/filip-michalsky",
"followers_url": "https://api.github.com/users/filip-michalsky/followers",
"following_url": "https://api.github.com/users/filip-michalsky/following{/other_user}",
"gists_url": "https://api.github.com/users/filip-michalsky/gists{/gist_id}",
"starred_url": "https://api.github.com/users/filip-michalsky/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/filip-michalsky/subscriptions",
"organizations_url": "https://api.github.com/users/filip-michalsky/orgs",
"repos_url": "https://api.github.com/users/filip-michalsky/repos",
"events_url": "https://api.github.com/users/filip-michalsky/events{/privacy}",
"received_events_url": "https://api.github.com/users/filip-michalsky/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-15T14:34:34 | 2023-07-18T16:53:12 | 2023-07-18T16:53:12 |
CONTRIBUTOR
| null |
- Description: This is an update to a previously published notebook.
Sales Agent now has access to tools, and this notebook shows how to use a Product Knowledge base
to reduce hallucinations and act as a better sales person!
- Issue: N/A
- Dependencies: `chromadb openai tiktoken`
- Tag maintainer: @baskaryan @hinthornw
- Twitter handle: @FilipMichalsky
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7753/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7753/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7753",
"html_url": "https://github.com/langchain-ai/langchain/pull/7753",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7753.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7753.patch",
"merged_at": "2023-07-18T16:53:12"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7752
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7752/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7752/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7752/events
|
https://github.com/langchain-ai/langchain/pull/7752
| 1,806,131,413 |
PR_kwDOIPDwls5Vlid2
| 7,752 |
OpenAIEmbeddings
|
{
"login": "hanit-com",
"id": 37485638,
"node_id": "MDQ6VXNlcjM3NDg1NjM4",
"avatar_url": "https://avatars.githubusercontent.com/u/37485638?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hanit-com",
"html_url": "https://github.com/hanit-com",
"followers_url": "https://api.github.com/users/hanit-com/followers",
"following_url": "https://api.github.com/users/hanit-com/following{/other_user}",
"gists_url": "https://api.github.com/users/hanit-com/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hanit-com/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hanit-com/subscriptions",
"organizations_url": "https://api.github.com/users/hanit-com/orgs",
"repos_url": "https://api.github.com/users/hanit-com/repos",
"events_url": "https://api.github.com/users/hanit-com/events{/privacy}",
"received_events_url": "https://api.github.com/users/hanit-com/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-15T14:32:29 | 2023-07-20T14:17:03 | 2023-07-18T19:14:51 |
CONTRIBUTOR
| null |
(#7654)
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
@hwchase17, @baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7752/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7752/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7752",
"html_url": "https://github.com/langchain-ai/langchain/pull/7752",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7752.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7752.patch",
"merged_at": "2023-07-18T19:14:51"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7751
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7751/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7751/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7751/events
|
https://github.com/langchain-ai/langchain/pull/7751
| 1,806,010,315 |
PR_kwDOIPDwls5VlIhw
| 7,751 |
added support for Google Images search
|
{
"login": "sausheong",
"id": 5962,
"node_id": "MDQ6VXNlcjU5NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5962?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sausheong",
"html_url": "https://github.com/sausheong",
"followers_url": "https://api.github.com/users/sausheong/followers",
"following_url": "https://api.github.com/users/sausheong/following{/other_user}",
"gists_url": "https://api.github.com/users/sausheong/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sausheong/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sausheong/subscriptions",
"organizations_url": "https://api.github.com/users/sausheong/orgs",
"repos_url": "https://api.github.com/users/sausheong/repos",
"events_url": "https://api.github.com/users/sausheong/events{/privacy}",
"received_events_url": "https://api.github.com/users/sausheong/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-15T10:31:54 | 2023-07-15T14:04:18 | 2023-07-15T14:04:18 |
CONTRIBUTOR
| null |
- Description: Added Google Image Search support for SerpAPIWrapper
- Issue: NA
- Dependencies: None
- Tag maintainer: @hinthornw
- Twitter handle: @sausheong
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7751/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7751/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7751",
"html_url": "https://github.com/langchain-ai/langchain/pull/7751",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7751.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7751.patch",
"merged_at": "2023-07-15T14:04:18"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7750
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7750/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7750/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7750/events
|
https://github.com/langchain-ai/langchain/pull/7750
| 1,805,993,655 |
PR_kwDOIPDwls5VlFM2
| 7,750 |
Document loader/debug
|
{
"login": "rjarun8",
"id": 50106442,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjUwMTA2NDQy",
"avatar_url": "https://avatars.githubusercontent.com/u/50106442?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rjarun8",
"html_url": "https://github.com/rjarun8",
"followers_url": "https://api.github.com/users/rjarun8/followers",
"following_url": "https://api.github.com/users/rjarun8/following{/other_user}",
"gists_url": "https://api.github.com/users/rjarun8/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rjarun8/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rjarun8/subscriptions",
"organizations_url": "https://api.github.com/users/rjarun8/orgs",
"repos_url": "https://api.github.com/users/rjarun8/repos",
"events_url": "https://api.github.com/users/rjarun8/events{/privacy}",
"received_events_url": "https://api.github.com/users/rjarun8/received_events",
"type": "Organization",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-15T09:39:53 | 2023-07-15T14:18:28 | 2023-07-15T14:18:28 |
CONTRIBUTOR
| null |
Description: Added debugging output in DirectoryLoader to identify the file being processed.
Issue: [Need a trace or debug feature in Lanchain DirectoryLoader #7725](https://github.com/hwchase17/langchain/issues/7725)
Dependencies: No additional dependencies are required.
Tag maintainer: @rlancemartin, @eyurtsev
This PR enhances the DirectoryLoader with debugging output to help diagnose issues when loading documents. This new feature does not add any dependencies and has been tested on a local machine.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7750/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7750/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7750",
"html_url": "https://github.com/langchain-ai/langchain/pull/7750",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7750.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7750.patch",
"merged_at": "2023-07-15T14:18:28"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7749
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7749/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7749/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7749/events
|
https://github.com/langchain-ai/langchain/pull/7749
| 1,805,919,182 |
PR_kwDOIPDwls5Vk21R
| 7,749 |
upgrade chroma to 0.4.0
|
{
"login": "jeffchuber",
"id": 891664,
"node_id": "MDQ6VXNlcjg5MTY2NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/891664?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffchuber",
"html_url": "https://github.com/jeffchuber",
"followers_url": "https://api.github.com/users/jeffchuber/followers",
"following_url": "https://api.github.com/users/jeffchuber/following{/other_user}",
"gists_url": "https://api.github.com/users/jeffchuber/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jeffchuber/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jeffchuber/subscriptions",
"organizations_url": "https://api.github.com/users/jeffchuber/orgs",
"repos_url": "https://api.github.com/users/jeffchuber/repos",
"events_url": "https://api.github.com/users/jeffchuber/events{/privacy}",
"received_events_url": "https://api.github.com/users/jeffchuber/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-15T06:00:25 | 2023-07-19T00:20:55 | 2023-07-19T00:20:55 |
CONTRIBUTOR
| null |
** This should land Monday the 17th **
Chroma is upgrading from `0.3.29` to `0.4.0`. `0.4.0` is easier to build, more durable, faster, smaller, and more extensible. This comes with a few changes:
1. A simplified and improved client setup. Instead of having to remember weird settings, users can just do `EphemeralClient`, `PersistentClient` or `HttpClient` (the underlying direct `Client` implementation is also still accessible)
2. We migrated data stores away from `duckdb` and `clickhouse`. This changes the api for the `PersistentClient` that used to reference `chroma_db_impl="duckdb+parquet"`. Now we simply set `is_persistent=true`. `is_persistent` is set for you to `true` if you use `PersistentClient`.
3. Because we migrated away from `duckdb` and `clickhouse` - this also means that users need to migrate their data into the new layout and schema. Chroma is committed to providing extension notification and tooling around any schema and data migrations (for example - this PR!).
After upgrading to `0.4.0` - if users try to access their data that was stored in the previous regime, the system will throw an `Exception` and instruct them how to use the migration assistant to migrate their data. The migration assitant is a pip installable CLI: `pip install chroma_migrate`. And is runnable by calling `chroma_migrate`
-- TODO ADD here is a short video demonstrating how it works.
Please reference the readme at [chroma-core/chroma-migrate](https://github.com/chroma-core/chroma-migrate) to see a full write-up of our philosophy on migrations as well as more details about this particular migration.
Please direct any users facing issues upgrading to our Discord channel called [#get-help](https://discord.com/channels/1073293645303795742/1129200523111841883). We have also created a [email listserv](https://airtable.com/shrHaErIs1j9F97BE) to notify developers directly in the future about breaking changes.
TODO
- [x] Migrated any `duckdb+parquet` strings to the new format
- [ ] Notified users about the breaking change (this PR, other suggestions?)
- [x] Move pypi target away from feature-branch and to `0.4.0` after `0.4.0` is released.
- [x] We need to merge in a more flexible range for `fastapi` to the chroma branch - as is in-progress here https://github.com/chroma-core/chroma/pull/807
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7749/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7749/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7749",
"html_url": "https://github.com/langchain-ai/langchain/pull/7749",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7749.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7749.patch",
"merged_at": "2023-07-19T00:20:55"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7748
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7748/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7748/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7748/events
|
https://github.com/langchain-ai/langchain/pull/7748
| 1,805,918,837 |
PR_kwDOIPDwls5Vk2xN
| 7,748 |
Improved GPT4All model streaming tokens without adding callbacks
|
{
"login": "Anindyadeep",
"id": 58508471,
"node_id": "MDQ6VXNlcjU4NTA4NDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/58508471?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Anindyadeep",
"html_url": "https://github.com/Anindyadeep",
"followers_url": "https://api.github.com/users/Anindyadeep/followers",
"following_url": "https://api.github.com/users/Anindyadeep/following{/other_user}",
"gists_url": "https://api.github.com/users/Anindyadeep/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Anindyadeep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Anindyadeep/subscriptions",
"organizations_url": "https://api.github.com/users/Anindyadeep/orgs",
"repos_url": "https://api.github.com/users/Anindyadeep/repos",
"events_url": "https://api.github.com/users/Anindyadeep/events{/privacy}",
"received_events_url": "https://api.github.com/users/Anindyadeep/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 4 | 2023-07-15T05:59:38 | 2023-08-29T01:20:23 | 2023-08-29T01:20:23 |
NONE
| null |
- **Description:** Right now token streaming is enabled by adding callbacks. But there was no streaming of tokens occuring after adding callbacks.Latest version of gpt4all: version `1.0.3` addresses this issue and hence I tried to integrate that in the existing function.I have kept the code for supporting callbacks for streaming, however I think that can be removed in coming versions. Also added docs for the same.
- **Issue:** This commit fixes issue #7747.,
- Dependencies: No dependency change,
- Tag maintainer: @hwchase17 @agola11,
- Twitter handle: @AnindyadeepS
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7748/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7748/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7748",
"html_url": "https://github.com/langchain-ai/langchain/pull/7748",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7748.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7748.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7747
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7747/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7747/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7747/events
|
https://github.com/langchain-ai/langchain/issues/7747
| 1,805,914,594 |
I_kwDOIPDwls5rpBHi
| 7,747 |
Streaming does not work using streaming callbacks for gpt4all model
|
{
"login": "Anindyadeep",
"id": 58508471,
"node_id": "MDQ6VXNlcjU4NTA4NDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/58508471?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Anindyadeep",
"html_url": "https://github.com/Anindyadeep",
"followers_url": "https://api.github.com/users/Anindyadeep/followers",
"following_url": "https://api.github.com/users/Anindyadeep/following{/other_user}",
"gists_url": "https://api.github.com/users/Anindyadeep/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Anindyadeep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Anindyadeep/subscriptions",
"organizations_url": "https://api.github.com/users/Anindyadeep/orgs",
"repos_url": "https://api.github.com/users/Anindyadeep/repos",
"events_url": "https://api.github.com/users/Anindyadeep/events{/privacy}",
"received_events_url": "https://api.github.com/users/Anindyadeep/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
open
| false | null |
[] | null | 6 | 2023-07-15T05:47:15 | 2023-11-08T09:59:43 | null |
NONE
| null |
### System Info
**System Information**
System: `Linux`
OS: `Pop OS`
Langchain version: `0.0.232`
Python version: `3.9.17`
gpt4all version: used for both version `1.0.1` and version `1.0.3`.
### Who can help?
Models:
@hwchase17
Streaming Callbacks:
@agola11
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [X] Callbacks/Tracing
- [ ] Async
### Reproduction
```python3
import gpt4all as gpt
from langchain import PromptTemplate, LLMChain
from langchain.llms import GPT4All
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
template = """
Let's think step by step of the question: {question}
Based on all the thought the final answer becomes:
"""
prompt = PromptTemplate(template=template, input_variables=["question"])
local_path = (
"./model/ggml-gpt4all-j-v1.3-groovy.bin"
)
callbacks = [StreamingStdOutCallbackHandler()]
llm = GPT4All(
model=local_path,
backend="llama",
verbose=True, callbacks=callbacks
)
llm_chain = LLMChain(prompt=prompt, llm=llm, verbose=True)
question = "What NFL team won the Super Bowl in the year Justin Bieber was born?"
llm_chain.run(question)
```
### Expected behavior
I should tokens streaming and printing in the terminal one at a time, but everything I get all at once.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7747/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7747/timeline
| null |
reopened
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7746
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7746/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7746/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7746/events
|
https://github.com/langchain-ai/langchain/pull/7746
| 1,805,855,684 |
PR_kwDOIPDwls5VkqGi
| 7,746 |
feat: temp fixed Could not parse LLM output on agents folder
|
{
"login": "vortex-hue",
"id": 99623072,
"node_id": "U_kgDOBfAgoA",
"avatar_url": "https://avatars.githubusercontent.com/u/99623072?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vortex-hue",
"html_url": "https://github.com/vortex-hue",
"followers_url": "https://api.github.com/users/vortex-hue/followers",
"following_url": "https://api.github.com/users/vortex-hue/following{/other_user}",
"gists_url": "https://api.github.com/users/vortex-hue/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vortex-hue/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vortex-hue/subscriptions",
"organizations_url": "https://api.github.com/users/vortex-hue/orgs",
"repos_url": "https://api.github.com/users/vortex-hue/repos",
"events_url": "https://api.github.com/users/vortex-hue/events{/privacy}",
"received_events_url": "https://api.github.com/users/vortex-hue/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 4 | 2023-07-15T03:59:02 | 2023-07-25T03:45:19 | 2023-07-25T02:20:37 |
CONTRIBUTOR
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7746/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7746/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7746",
"html_url": "https://github.com/langchain-ai/langchain/pull/7746",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7746.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7746.patch",
"merged_at": "2023-07-25T02:20:37"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7745
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7745/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7745/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7745/events
|
https://github.com/langchain-ai/langchain/pull/7745
| 1,805,854,426 |
PR_kwDOIPDwls5Vkp2R
| 7,745 |
Added search parameters to qdrant max_marginal_relevance_search
|
{
"login": "whitead",
"id": 908389,
"node_id": "MDQ6VXNlcjkwODM4OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/908389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/whitead",
"html_url": "https://github.com/whitead",
"followers_url": "https://api.github.com/users/whitead/followers",
"following_url": "https://api.github.com/users/whitead/following{/other_user}",
"gists_url": "https://api.github.com/users/whitead/gists{/gist_id}",
"starred_url": "https://api.github.com/users/whitead/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/whitead/subscriptions",
"organizations_url": "https://api.github.com/users/whitead/orgs",
"repos_url": "https://api.github.com/users/whitead/repos",
"events_url": "https://api.github.com/users/whitead/events{/privacy}",
"received_events_url": "https://api.github.com/users/whitead/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541432778,
"node_id": "LA_kwDOIPDwls8AAAABSkuNyg",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20vector%20store",
"name": "area: vector store",
"color": "D4C5F9",
"default": false,
"description": "Related to vector store module"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 12 | 2023-07-15T03:54:22 | 2023-08-24T21:11:31 | 2023-08-24T21:11:30 |
CONTRIBUTOR
| null |
Adds the qdrant search filter/params to the `max_marginal_relevance_search` method, which is present on others. I did not add `offset` for pagination, because it's behavior would be ambiguous in this setting (since we fetch extra and down-select).
@rlancemartin, @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7745/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7745/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7745",
"html_url": "https://github.com/langchain-ai/langchain/pull/7745",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7745.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7745.patch",
"merged_at": "2023-08-24T21:11:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7744
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7744/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7744/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7744/events
|
https://github.com/langchain-ai/langchain/pull/7744
| 1,805,833,730 |
PR_kwDOIPDwls5Vklgm
| 7,744 |
docs: Mendable Search Improvements
|
{
"login": "nickscamara",
"id": 20311743,
"node_id": "MDQ6VXNlcjIwMzExNzQz",
"avatar_url": "https://avatars.githubusercontent.com/u/20311743?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nickscamara",
"html_url": "https://github.com/nickscamara",
"followers_url": "https://api.github.com/users/nickscamara/followers",
"following_url": "https://api.github.com/users/nickscamara/following{/other_user}",
"gists_url": "https://api.github.com/users/nickscamara/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nickscamara/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nickscamara/subscriptions",
"organizations_url": "https://api.github.com/users/nickscamara/orgs",
"repos_url": "https://api.github.com/users/nickscamara/repos",
"events_url": "https://api.github.com/users/nickscamara/events{/privacy}",
"received_events_url": "https://api.github.com/users/nickscamara/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-15T02:48:21 | 2023-07-15T14:19:21 | 2023-07-15T14:19:21 |
CONTRIBUTOR
| null |
- New pin-to-side (button). This functionality allows you to search the docs while asking the AI for questions
- Fixed the search bar in Firefox that won't detect a mouse click
- Fixes and improvements overall in the model's performance
Thank you!
@dev2049 @nfcampos
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7744/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7744/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7744",
"html_url": "https://github.com/langchain-ai/langchain/pull/7744",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7744.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7744.patch",
"merged_at": "2023-07-15T14:19:21"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7743
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7743/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7743/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7743/events
|
https://github.com/langchain-ai/langchain/pull/7743
| 1,805,833,503 |
PR_kwDOIPDwls5Vkldi
| 7,743 |
Add GPT4All embeddings
|
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5454193895,
"node_id": "LA_kwDOIPDwls8AAAABRRhk5w",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/lgtm",
"name": "lgtm",
"color": "0E8A16",
"default": false,
"description": ""
},
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false |
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "hwchase17",
"id": 11986836,
"node_id": "MDQ6VXNlcjExOTg2ODM2",
"avatar_url": "https://avatars.githubusercontent.com/u/11986836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwchase17",
"html_url": "https://github.com/hwchase17",
"followers_url": "https://api.github.com/users/hwchase17/followers",
"following_url": "https://api.github.com/users/hwchase17/following{/other_user}",
"gists_url": "https://api.github.com/users/hwchase17/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hwchase17/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hwchase17/subscriptions",
"organizations_url": "https://api.github.com/users/hwchase17/orgs",
"repos_url": "https://api.github.com/users/hwchase17/repos",
"events_url": "https://api.github.com/users/hwchase17/events{/privacy}",
"received_events_url": "https://api.github.com/users/hwchase17/received_events",
"type": "User",
"site_admin": false
},
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
] | null | 1 | 2023-07-15T02:47:35 | 2023-07-15T14:04:30 | 2023-07-15T14:04:30 |
COLLABORATOR
| null |
Support for [GPT4All embeddings](https://docs.gpt4all.io/gpt4all_python_embedding.html)
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7743/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7743/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7743",
"html_url": "https://github.com/langchain-ai/langchain/pull/7743",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7743.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7743.patch",
"merged_at": "2023-07-15T14:04:30"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7742
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7742/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7742/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7742/events
|
https://github.com/langchain-ai/langchain/issues/7742
| 1,805,766,414 |
I_kwDOIPDwls5roc8O
| 7,742 |
DOC: Arxiv API Tool code snippet very instable and produces very often an OutputParserException
|
{
"login": "jeromemassot",
"id": 20254310,
"node_id": "MDQ6VXNlcjIwMjU0MzEw",
"avatar_url": "https://avatars.githubusercontent.com/u/20254310?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeromemassot",
"html_url": "https://github.com/jeromemassot",
"followers_url": "https://api.github.com/users/jeromemassot/followers",
"following_url": "https://api.github.com/users/jeromemassot/following{/other_user}",
"gists_url": "https://api.github.com/users/jeromemassot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jeromemassot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jeromemassot/subscriptions",
"organizations_url": "https://api.github.com/users/jeromemassot/orgs",
"repos_url": "https://api.github.com/users/jeromemassot/repos",
"events_url": "https://api.github.com/users/jeromemassot/events{/privacy}",
"received_events_url": "https://api.github.com/users/jeromemassot/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-15T00:46:11 | 2023-10-21T16:06:35 | 2023-10-21T16:06:34 |
NONE
| null |
### Issue with current documentation:
```
pip install arxiv
from langchain.chat_models import ChatOpenAI
from langchain.agents import load_tools, initialize_agent, AgentType
```
```
llm = ChatOpenAI(temperature=0.0)
tools = load_tools(
["arxiv"],
)
```
```
agent_chain = initialize_agent(
tools,
llm,
agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
verbose=True,
)
agent_chain.run(
"What's the paper 1605.08386 about?",
)
```
very often causes an OutputParserError due to the failure of parsing the final thought.
`OutputParserException: Could not parse LLM output`
### Idea or request for content:
It seems that just changing the llm to :
`llm = OpenAI(temperature=0.0)`
helps a lot with the output success completion.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7742/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7742/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7741
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7741/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7741/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7741/events
|
https://github.com/langchain-ai/langchain/pull/7741
| 1,805,754,572 |
PR_kwDOIPDwls5VkUW8
| 7,741 |
fix: make error message clear when input_key arg is required
|
{
"login": "abhijeethp",
"id": 21107674,
"node_id": "MDQ6VXNlcjIxMTA3Njc0",
"avatar_url": "https://avatars.githubusercontent.com/u/21107674?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhijeethp",
"html_url": "https://github.com/abhijeethp",
"followers_url": "https://api.github.com/users/abhijeethp/followers",
"following_url": "https://api.github.com/users/abhijeethp/following{/other_user}",
"gists_url": "https://api.github.com/users/abhijeethp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/abhijeethp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abhijeethp/subscriptions",
"organizations_url": "https://api.github.com/users/abhijeethp/orgs",
"repos_url": "https://api.github.com/users/abhijeethp/repos",
"events_url": "https://api.github.com/users/abhijeethp/events{/privacy}",
"received_events_url": "https://api.github.com/users/abhijeethp/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899126096,
"node_id": "LA_kwDOIPDwls8AAAABJAK7UA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20memory",
"name": "area: memory",
"color": "BFDADC",
"default": false,
"description": "Related to memory module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-15T00:28:03 | 2023-10-14T00:21:21 | 2023-10-14T00:21:21 |
NONE
| null |
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: Makes it more clear that input_key argument is required when there are multiple input variables in a prompt,
- Issue: #2013,
- Tag maintainer: @hwchase17,
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
- Description: Makes it more clear that input_key argument is required with multiple input variables in a prompt,
- Issue: #2013,
- Tag maintainer: @hwchase17,
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7741/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7741/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7741",
"html_url": "https://github.com/langchain-ai/langchain/pull/7741",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7741.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7741.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7740
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7740/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7740/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7740/events
|
https://github.com/langchain-ai/langchain/pull/7740
| 1,805,749,674 |
PR_kwDOIPDwls5VkTRl
| 7,740 |
Simple Import fix in Tools Exception Docs
|
{
"login": "keenborder786",
"id": 45242107,
"node_id": "MDQ6VXNlcjQ1MjQyMTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/45242107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keenborder786",
"html_url": "https://github.com/keenborder786",
"followers_url": "https://api.github.com/users/keenborder786/followers",
"following_url": "https://api.github.com/users/keenborder786/following{/other_user}",
"gists_url": "https://api.github.com/users/keenborder786/gists{/gist_id}",
"starred_url": "https://api.github.com/users/keenborder786/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/keenborder786/subscriptions",
"organizations_url": "https://api.github.com/users/keenborder786/orgs",
"repos_url": "https://api.github.com/users/keenborder786/repos",
"events_url": "https://api.github.com/users/keenborder786/events{/privacy}",
"received_events_url": "https://api.github.com/users/keenborder786/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-15T00:18:54 | 2023-07-16T11:14:11 | 2023-07-15T14:25:34 |
CONTRIBUTOR
| null |
Issue: #7720
@hinthornw
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7740/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7740/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7740",
"html_url": "https://github.com/langchain-ai/langchain/pull/7740",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7740.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7740.patch",
"merged_at": "2023-07-15T14:25:34"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7739
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7739/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7739/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7739/events
|
https://github.com/langchain-ai/langchain/pull/7739
| 1,805,743,001 |
PR_kwDOIPDwls5VkR0c
| 7,739 |
Fireworks Client Library
|
{
"login": "rjanardhan3",
"id": 12781611,
"node_id": "MDQ6VXNlcjEyNzgxNjEx",
"avatar_url": "https://avatars.githubusercontent.com/u/12781611?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rjanardhan3",
"html_url": "https://github.com/rjanardhan3",
"followers_url": "https://api.github.com/users/rjanardhan3/followers",
"following_url": "https://api.github.com/users/rjanardhan3/following{/other_user}",
"gists_url": "https://api.github.com/users/rjanardhan3/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rjanardhan3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rjanardhan3/subscriptions",
"organizations_url": "https://api.github.com/users/rjanardhan3/orgs",
"repos_url": "https://api.github.com/users/rjanardhan3/repos",
"events_url": "https://api.github.com/users/rjanardhan3/events{/privacy}",
"received_events_url": "https://api.github.com/users/rjanardhan3/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700863,
"node_id": "LA_kwDOIPDwls8AAAABUpidvw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:enhancement",
"name": "auto:enhancement",
"color": "C2E0C6",
"default": false,
"description": "A large net-new component, integration, or chain. Use sparingly. The largest features"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-15T00:08:32 | 2023-07-15T00:09:22 | 2023-07-15T00:09:05 |
CONTRIBUTOR
| null |
WIP
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7739/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7739/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7739",
"html_url": "https://github.com/langchain-ai/langchain/pull/7739",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7739.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7739.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7738
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7738/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7738/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7738/events
|
https://github.com/langchain-ai/langchain/issues/7738
| 1,805,711,794 |
I_kwDOIPDwls5roPmy
| 7,738 |
Issue: Chain call methods are confusing (LLMChain vs SimpleSequentialChain)
|
{
"login": "bkchang",
"id": 27990728,
"node_id": "MDQ6VXNlcjI3OTkwNzI4",
"avatar_url": "https://avatars.githubusercontent.com/u/27990728?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bkchang",
"html_url": "https://github.com/bkchang",
"followers_url": "https://api.github.com/users/bkchang/followers",
"following_url": "https://api.github.com/users/bkchang/following{/other_user}",
"gists_url": "https://api.github.com/users/bkchang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bkchang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bkchang/subscriptions",
"organizations_url": "https://api.github.com/users/bkchang/orgs",
"repos_url": "https://api.github.com/users/bkchang/repos",
"events_url": "https://api.github.com/users/bkchang/events{/privacy}",
"received_events_url": "https://api.github.com/users/bkchang/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-14T23:21:30 | 2023-12-13T16:08:18 | 2023-12-13T16:08:17 |
NONE
| null |
### Issue you'd like to raise.
According to [here](https://python.langchain.com/docs/modules/chains/how_to/call_methods), all subclass inherited from the Chain class will have the `__call__()` and the `run()` methods to launch the chain. And according to the [LLMChain API](https://api.python.langchain.com/en/latest/chains/langchain.chains.llm.LLMChain.html?highlight=llmchain#langchain.chains.llm.LLMChain) and [SimpleSequentialChain API](https://api.python.langchain.com/en/latest/chains/langchain.chains.sequential.SimpleSequentialChain.html#langchain.chains.sequential.SimpleSequentialChain), both of them are inherited from the Chain class. However I found LLMChain and SimpleSequentialChain accept different kinds of input patterns when calling `__call__()` and the `run()`, which are highly confusing.
To demonstrate, consider the following setup, where we create an LLMChain that runs a prompt template that simply asks the LLM to repeat what is told, and attach the LLMChain to a SimpleSequentialChain:
```
from langchain.chains import LLMChain, SimpleSequentialChain
from langchain.prompts import StringPromptTemplate
from pydantic import BaseModel, validator
class CustomTemplate(StringPromptTemplate, BaseModel):
"""A custom prompt template that takes in the path to a json file as input, and formats the prompt template."""
@validator("input_variables")
def validate_input_variables(cls, v):
"""Validate that the input variables are correct."""
if len(v) == 0 or "CustomKwarg" not in v:
raise ValueError("CustomKwarg keyword argument must be provided .")
return v
def format(self, **kwargs) -> str:
return "Repeat the following: \"" + kwargs["CustomKwarg"] + "\""
llmchain = LLMChain(llm=llm,
prompt=CustomTemplate(input_variables=["CustomKwarg"]),
verbose=True)
simplesequentialchain = SimpleSequentialChain(chains=[llmchain])
```
where ``llm`` is a custom llm.
In the prompt template, we expect a keyword argument (kwarg) called `CustomKwarg` to be provided when we launch the chains. There are, however, several ways to provide `CustomKwarg`, e.g. directly providing the value for `CustomKwarg`, or providing a dictionary that maps a key "CustomKwarg" to the value of `CustomKwarg`. Also, sometimes we need to specify `input` or `inputs` as the keyword argument when we make the function call. These lead to many possible combination of syntaxes to launch the chains, and I found that the syntaxes accepted by the LLMChain and SimpleSequentialChain very different and inconsistent. Assuming we want to provide "XYZ!" as the value for CustomKwarg to the chain, see the summary of the launching results below.
|#|command | `c = llmchain` | `c = simplesequentialchain` |
|-|--------------------------------------------- | -----------| --------------------------|
|1|`c("XYZ!")`| O | O|
|2|`c({"CustomKwarg": "XYZ!"})`| O | `Missing some input keys: {'input'}` |
|3|`c({"input": "XYZ!"})`| `Missing some input keys: {'CustomKwarg'}` | O |
|4| `c({"inputs": "XYZ!"})`| `Missing some input keys: {'CustomKwarg'}`| `Missing some input keys: {'input'}` |
|5|`c(input={"CustomKwarg": "XYZ!"})`| `Chain.__call__() got an unexpected keyword argument 'input'` | `Chain.__call__() got an unexpected keyword argument 'input'` |
|6|`c(inputs={"CustomKwarg": "XYZ!"})`| O | `Missing some input keys: {'input'}` |
|7|`c.run("Hello there!")`| O | O |
|8|`c.run({"CustomKwarg": "XYZ!"})`| O | `Missing some input keys: {'input'}` |
|9|`c.run({"input": "XYZ!"})`| `Missing some input keys: {'CustomKwarg'}` | O |
|10|`c.run({"inputs": "Hello there!"})`| `Missing some input keys: {'CustomKwarg'}` | `Missing some input keys: {'input'}`|
|11|`c.run(input={"CustomKwarg": "XYZ!"})`| `Missing some input keys: {'CustomKwarg'}` | O |
|12|`c.run(inputs={"CustomKwarg": "XYZ!"})`| `Missing some input keys: {'CustomKwarg'}` | `Missing some input keys: {'input'}`|
The allowed syntax patterns are highly inconsistent among the two types of chains. For the same syntax, the two types of chains can even fail on different error messages, which is very confusing. Since both of the chains are subclasses of Chain, one would expect them to behave similarly, especially for those methods inherited from the Chain class (`__call__()` and `run()`).
Note: I am using **LangChain ver. 0.0.225**.
### Suggestion:
_No response_
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7738/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7738/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7737
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7737/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7737/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7737/events
|
https://github.com/langchain-ai/langchain/pull/7737
| 1,805,680,417 |
PR_kwDOIPDwls5VkD9K
| 7,737 |
fix: absolute URLs from links in `RecursiveUrlLoader`
|
{
"login": "gauthier-th",
"id": 37781713,
"node_id": "MDQ6VXNlcjM3NzgxNzEz",
"avatar_url": "https://avatars.githubusercontent.com/u/37781713?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gauthier-th",
"html_url": "https://github.com/gauthier-th",
"followers_url": "https://api.github.com/users/gauthier-th/followers",
"following_url": "https://api.github.com/users/gauthier-th/following{/other_user}",
"gists_url": "https://api.github.com/users/gauthier-th/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gauthier-th/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gauthier-th/subscriptions",
"organizations_url": "https://api.github.com/users/gauthier-th/orgs",
"repos_url": "https://api.github.com/users/gauthier-th/repos",
"events_url": "https://api.github.com/users/gauthier-th/events{/privacy}",
"received_events_url": "https://api.github.com/users/gauthier-th/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false |
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "rlancemartin",
"id": 122662504,
"node_id": "U_kgDOB0-uaA",
"avatar_url": "https://avatars.githubusercontent.com/u/122662504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlancemartin",
"html_url": "https://github.com/rlancemartin",
"followers_url": "https://api.github.com/users/rlancemartin/followers",
"following_url": "https://api.github.com/users/rlancemartin/following{/other_user}",
"gists_url": "https://api.github.com/users/rlancemartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlancemartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlancemartin/subscriptions",
"organizations_url": "https://api.github.com/users/rlancemartin/orgs",
"repos_url": "https://api.github.com/users/rlancemartin/repos",
"events_url": "https://api.github.com/users/rlancemartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlancemartin/received_events",
"type": "User",
"site_admin": false
}
] | null | 8 | 2023-07-14T22:43:37 | 2023-09-19T09:38:35 | 2023-09-19T09:38:07 |
NONE
| null |
## Description
This PR solves an absolute link problem in `RecursiveUrlLoader`. When the "href" of a link on the page contains an absolute URL, the link is ignored.
Example: `<a href="http://test.com/example"></a>` will be ignored when base_url is `http://test.com/`.
@rlancemartin @eyurtsev
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7737/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7737/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7737",
"html_url": "https://github.com/langchain-ai/langchain/pull/7737",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7737.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7737.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7736
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7736/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7736/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7736/events
|
https://github.com/langchain-ai/langchain/issues/7736
| 1,805,666,654 |
I_kwDOIPDwls5roEle
| 7,736 |
Vulnerabilities: CVE-2023-36258, CVE-2023-3454, CVE-2023-34541, CVE-2023-36188, CVE-2023-36189
|
{
"login": "aiakubovich",
"id": 136030897,
"node_id": "U_kgDOCBuqsQ",
"avatar_url": "https://avatars.githubusercontent.com/u/136030897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aiakubovich",
"html_url": "https://github.com/aiakubovich",
"followers_url": "https://api.github.com/users/aiakubovich/followers",
"following_url": "https://api.github.com/users/aiakubovich/following{/other_user}",
"gists_url": "https://api.github.com/users/aiakubovich/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aiakubovich/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aiakubovich/subscriptions",
"organizations_url": "https://api.github.com/users/aiakubovich/orgs",
"repos_url": "https://api.github.com/users/aiakubovich/repos",
"events_url": "https://api.github.com/users/aiakubovich/events{/privacy}",
"received_events_url": "https://api.github.com/users/aiakubovich/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-14T22:32:45 | 2023-10-21T16:06:40 | 2023-10-21T16:06:39 |
NONE
| null |
### System Info
Hi.
I wanted to deploy application with Langchain but I am unable to pass security scans because of the following vulnerabilities:
[CVE-2023-36258](https://nvd.nist.gov/vuln/detail/CVE-2023-36258)
[CVE-2023-34540](https://nvd.nist.gov/vuln/detail/CVE-2023-34540)
[CVE-2023-34541](https://nvd.nist.gov/vuln/detail/CVE-2023-34541)
[CVE-2023-36188](https://nvd.nist.gov/vuln/detail/CVE-2023-36188)
[CVE-2023-36189](https://nvd.nist.gov/vuln/detail/CVE-2023-36189)
I am unable to disable security scans. Are there any temporal fixes?
@hwchase17
@JamalRahman
### Who can help?
_No response_
### Information
- [ ] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
pip install langchain
### Expected behavior
be able to pass Aqua Scanner
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7736/reactions",
"total_count": 5,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 3
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7736/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7735
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7735/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7735/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7735/events
|
https://github.com/langchain-ai/langchain/pull/7735
| 1,805,609,223 |
PR_kwDOIPDwls5Vjzvf
| 7,735 |
Document loader/debug
|
{
"login": "rjarun8",
"id": 50106442,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjUwMTA2NDQy",
"avatar_url": "https://avatars.githubusercontent.com/u/50106442?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rjarun8",
"html_url": "https://github.com/rjarun8",
"followers_url": "https://api.github.com/users/rjarun8/followers",
"following_url": "https://api.github.com/users/rjarun8/following{/other_user}",
"gists_url": "https://api.github.com/users/rjarun8/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rjarun8/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rjarun8/subscriptions",
"organizations_url": "https://api.github.com/users/rjarun8/orgs",
"repos_url": "https://api.github.com/users/rjarun8/repos",
"events_url": "https://api.github.com/users/rjarun8/events{/privacy}",
"received_events_url": "https://api.github.com/users/rjarun8/received_events",
"type": "Organization",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-14T21:36:35 | 2023-07-14T22:32:30 | 2023-07-14T22:32:30 |
CONTRIBUTOR
| null |
- Description: Added debugging output in DirectoryLoader to identify the file being processed.
- Issue: https://github.com/hwchase17/langchain/issues/7725
- Dependencies: No additional dependencies are required.
- Tag maintainer: @rlancemartin, @eyurtsev
This PR enhances the DirectoryLoader with debugging output to help diagnose issues when loading documents. This new feature does not add any dependencies and has been tested on a local machine.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7735/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7735/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7735",
"html_url": "https://github.com/langchain-ai/langchain/pull/7735",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7735.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7735.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7734
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7734/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7734/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7734/events
|
https://github.com/langchain-ai/langchain/pull/7734
| 1,805,607,556 |
PR_kwDOIPDwls5VjzYS
| 7,734 |
Fix eval loader when overriding arguments
|
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-14T21:34:19 | 2023-07-15T15:30:33 | 2023-07-15T15:30:32 |
COLLABORATOR
| null |
- Update the negative criterion descriptions to prevent bad predictions
- Add support for normalizing the string distance
- Fix potential json deserializing into float issues in the example mapper
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7734/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7734/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7734",
"html_url": "https://github.com/langchain-ai/langchain/pull/7734",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7734.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7734.patch",
"merged_at": "2023-07-15T15:30:32"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7733
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7733/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7733/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7733/events
|
https://github.com/langchain-ai/langchain/issues/7733
| 1,805,591,388 |
I_kwDOIPDwls5rnyNc
| 7,733 |
WIKIPEDIA Language setting not applied in run method
|
{
"login": "fermaf",
"id": 22239649,
"node_id": "MDQ6VXNlcjIyMjM5NjQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/22239649?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fermaf",
"html_url": "https://github.com/fermaf",
"followers_url": "https://api.github.com/users/fermaf/followers",
"following_url": "https://api.github.com/users/fermaf/following{/other_user}",
"gists_url": "https://api.github.com/users/fermaf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fermaf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fermaf/subscriptions",
"organizations_url": "https://api.github.com/users/fermaf/orgs",
"repos_url": "https://api.github.com/users/fermaf/repos",
"events_url": "https://api.github.com/users/fermaf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fermaf/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 4899412369,
"node_id": "LA_kwDOIPDwls8AAAABJAcZkQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20agent",
"name": "area: agent",
"color": "BFD4F2",
"default": false,
"description": "Related to agents module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 4 | 2023-07-14T21:14:07 | 2023-07-21T23:43:33 | 2023-07-21T23:43:33 |
NONE
| null |
### System Info
```
langchain==0.0.228
langchain/utilities/wikipedia.py
```
The run method does not call the language change before execution, so it always runs with lang="en"
```
def run(self, query: str) -> str:
"""Run Wikipedia search and get page summaries."""
#define languaje
self.wiki_client.set_lang(self.lang) #<-- this line fixes the issue
page_titles = self.wiki_client.search(query[:WIKIPEDIA_MAX_QUERY_LENGTH])
summaries = []
for page_title in page_titles[: self.top_k_results]:
if wiki_page := self._fetch_page(page_title):
if summary := self._formatted_page_summary(page_title, wiki_page):
summaries.append(summary)
if not summaries:
return "No good Wikipedia Search Result was found"
return "\n\n".join(summaries)[: self.doc_content_chars_max]
```
```
### Who can help?
@nfcampos @leo-gan @hwc
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [X] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Reproduction
...
llm = ChatOpenAI(openai_api_key=openai_api_key,temperature=0)
tools = load_tools(["wikipedia"])
tools[0].api_wrapper.top_k_results=1
tools[0].api_wrapper.lang="es"
agent= initialize_agent(
tools,
llm,
agent=AgentType.CHAT_ZERO_SHOT_REACT_DESCRIPTION,
handle_parsing_errors=True,
verbose = True)
agent("Mi primer Issue en Github")
### Expected behavior
http://**es**.wikipedia.com....
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7733/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7733/timeline
| null |
completed
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7732
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7732/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7732/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7732/events
|
https://github.com/langchain-ai/langchain/pull/7732
| 1,805,574,631 |
PR_kwDOIPDwls5VjsFa
| 7,732 |
Update markdown links for tracing
|
{
"login": "kdcokenny",
"id": 99611484,
"node_id": "U_kgDOBe_zXA",
"avatar_url": "https://avatars.githubusercontent.com/u/99611484?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kdcokenny",
"html_url": "https://github.com/kdcokenny",
"followers_url": "https://api.github.com/users/kdcokenny/followers",
"following_url": "https://api.github.com/users/kdcokenny/following{/other_user}",
"gists_url": "https://api.github.com/users/kdcokenny/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kdcokenny/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kdcokenny/subscriptions",
"organizations_url": "https://api.github.com/users/kdcokenny/orgs",
"repos_url": "https://api.github.com/users/kdcokenny/repos",
"events_url": "https://api.github.com/users/kdcokenny/events{/privacy}",
"received_events_url": "https://api.github.com/users/kdcokenny/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false |
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"login": "hinthornw",
"id": 13333726,
"node_id": "MDQ6VXNlcjEzMzMzNzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13333726?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hinthornw",
"html_url": "https://github.com/hinthornw",
"followers_url": "https://api.github.com/users/hinthornw/followers",
"following_url": "https://api.github.com/users/hinthornw/following{/other_user}",
"gists_url": "https://api.github.com/users/hinthornw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hinthornw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hinthornw/subscriptions",
"organizations_url": "https://api.github.com/users/hinthornw/orgs",
"repos_url": "https://api.github.com/users/hinthornw/repos",
"events_url": "https://api.github.com/users/hinthornw/events{/privacy}",
"received_events_url": "https://api.github.com/users/hinthornw/received_events",
"type": "User",
"site_admin": false
}
] | null | 3 | 2023-07-14T21:01:15 | 2023-08-12T16:53:25 | 2023-08-10T23:18:46 |
CONTRIBUTOR
| null |
Updated all old `It is highly reccomended that you do any evaluation/benchmarking with tracing enabled. See [here](...)` link to -> https://python.langchain.com/docs/modules/callbacks/how_to/tracing
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7732/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7732/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7732",
"html_url": "https://github.com/langchain-ai/langchain/pull/7732",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7732.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7732.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7731
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7731/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7731/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7731/events
|
https://github.com/langchain-ai/langchain/issues/7731
| 1,805,568,405 |
I_kwDOIPDwls5rnsmV
| 7,731 |
SagemakerEndpoint model doesn't return full output..only when prompted with langchain
|
{
"login": "VivekLokesh",
"id": 5424158,
"node_id": "MDQ6VXNlcjU0MjQxNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5424158?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VivekLokesh",
"html_url": "https://github.com/VivekLokesh",
"followers_url": "https://api.github.com/users/VivekLokesh/followers",
"following_url": "https://api.github.com/users/VivekLokesh/following{/other_user}",
"gists_url": "https://api.github.com/users/VivekLokesh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/VivekLokesh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VivekLokesh/subscriptions",
"organizations_url": "https://api.github.com/users/VivekLokesh/orgs",
"repos_url": "https://api.github.com/users/VivekLokesh/repos",
"events_url": "https://api.github.com/users/VivekLokesh/events{/privacy}",
"received_events_url": "https://api.github.com/users/VivekLokesh/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541141061,
"node_id": "LA_kwDOIPDwls8AAAABSkcaRQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20embeddings",
"name": "area: embeddings",
"color": "C5DEF5",
"default": false,
"description": "Related to text embedding models module"
},
{
"id": 5680700839,
"node_id": "LA_kwDOIPDwls8AAAABUpidpw",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:bug",
"name": "auto:bug",
"color": "E99695",
"default": false,
"description": "Related to a bug, vulnerability, unexpected error with an existing feature"
}
] |
closed
| false | null |
[] | null | 8 | 2023-07-14T20:56:40 | 2023-10-31T16:06:15 | 2023-10-31T16:06:14 |
NONE
| null |
### System Info
infra - sagemaker
model - model deployed with `HuggingFaceModel(...).deploy()`
langchain version - v0.0.233
chain types used - RetrievalQA, load_qa_chain
I have a huggingface model deployed behind a sagemaker endpoint which produces outputs as expected when run prediction against it directly. However, when I initialize it with SagemakerEndpoint class from langchain, it only return two characters and sometimes an empty string. I scoured through the internet and langchain docs for the last couple days and my initialization and chain prompting aspects of the code seem to be in line with the docs guidelines and anecdotal recommendations laid out.
I think this either a lack integration support for huggingface models deployed with sagemaker or I'm missing something here that's not been written in the docs and examples. Please review and let me know either way.
### Below code will reproduce the behavior I'm experiencing.
```
from langchain import SagemakerEndpoint
from langchain.llms.sagemaker_endpoint import ContentHandlerBase, LLMContentHandler
endpoint = "xxxxxx-2023-07-14-05-34-901"
parameters = {
"do_sample": True,
"top_p": 0.95,
"temperature": 0.1,
"max_new_tokens": 256,
"num_return_sequences": 4,
}
class ContentHandler(LLMContentHandler):
content_type = "application/json"
accepts = "application/json"
def transform_input(self, prompt: str, model_kwargs: Dict) -> bytes:
input_str = json.dumps({"inputs": prompt, **model_kwargs})
return input_str.encode('utf-8')
def transform_output(self, output: bytes) -> str:
response_json = json.loads(output.read().decode("utf-8"))
return response_json[0]['generated_text']
content_handler = ContentHandler()
sm_llm=SagemakerEndpoint(
endpoint_name=endpoint,
region_name="us-west-2",
model_kwargs= parameters,
content_handler=content_handler,
)
vectordb = Chroma(persist_directory="db", embedding_function=embedding, collection_name="docs")
retriever = vectordb.as_retriever(search_kwargs={'k':3})
print("retriever: ", retriever)
qa_chain = RetrievalQA.from_chain_type(llm=sm_llm,
chain_type="stuff",
retriever=retriever,
return_source_documents=True)
```
#### Here's the output (or lack thereof) from prompting with langchain, in above code.
```
system_prompt = """<|SYSTEM|># Your are a helpful and harmless assistant for providing clear and succinct answers to questions."""
question = "What is your purpose?"
query = (system_prompt + "<|USER|>" + question + "<|ASSISTANT|>")
llm_response = qa_chain(query)
print(llm_response['result'])
---------------------------------------------------------------------------
Output:
Use the following pieces of context to answer the question at the end. If you don't know the answer, just say that you don't know, don't try to make up an answer.
<some doc context from vectordb goes here - removed due to info sensitivity>
Question: # <|SYSTEM|># Your are a helpful and harmless assistant for providing clear and succint answers to questions.
What is your purpose?
Helpful Answer:
```
As shown above, there's no output for 'Helpful Answer: '.
#### However when I prompt the model directly with a predictor like below, it returns the full output as expected.
### Model returns the full output with the below code which runs direct prediction against the endpoint.
```
import boto3
from sagemaker.huggingface import HuggingFacePredictor
from sagemaker.session import Session
sm_session = Session(boto_session=boto3.session.Session())
payload = {
"inputs": "What is your purpose?",
"parameters": {"max_new_tokens": 256, "do_sample": True}
}
local_llm = HuggingFacePredictor(endpoint, sm_session)
chat = local_llm.predict(data=payload)
result = chat[0]["generated_text"]
print(result)
```
#### Output for direct prediction from the code executed above.
```
What is your purpose?
You seem important. What is your value? What can you do that makes you unique? What is your unique value?
* You are important to the people who know you best.
* When you accomplish the things you want to do, you will become valuable to the people who matter to you.
* We value you because you are special
```
As it can be seen above, the model returns an output (not a great one) but the fact is it does when I'm prompted and not when wrapped with SagemakerEndpoint class and prompted with prompted with langchain.
### Who can help?
_No response_
### Information
- [X] The official example notebooks/scripts
- [ ] My own modified scripts
### Related Components
- [X] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [ ] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [X] Chains
- [ ] Callbacks/Tracing
- [ ] Async
### Expected behavior
SagemakerEndpoint Model returning the full output, similar to how it does when prompted directly with a predictor.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7731/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7731/timeline
| null |
not_planned
| null | null |
https://api.github.com/repos/langchain-ai/langchain/issues/7730
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7730/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7730/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7730/events
|
https://github.com/langchain-ai/langchain/pull/7730
| 1,805,530,013 |
PR_kwDOIPDwls5VjiEb
| 7,730 |
add missing import
|
{
"login": "Bearnardd",
"id": 43574448,
"node_id": "MDQ6VXNlcjQzNTc0NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/43574448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bearnardd",
"html_url": "https://github.com/Bearnardd",
"followers_url": "https://api.github.com/users/Bearnardd/followers",
"following_url": "https://api.github.com/users/Bearnardd/following{/other_user}",
"gists_url": "https://api.github.com/users/Bearnardd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Bearnardd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Bearnardd/subscriptions",
"organizations_url": "https://api.github.com/users/Bearnardd/orgs",
"repos_url": "https://api.github.com/users/Bearnardd/repos",
"events_url": "https://api.github.com/users/Bearnardd/events{/privacy}",
"received_events_url": "https://api.github.com/users/Bearnardd/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700918,
"node_id": "LA_kwDOIPDwls8AAAABUpid9g",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:documentation",
"name": "auto:documentation",
"color": "C5DEF5",
"default": false,
"description": "Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-14T20:29:56 | 2023-07-15T00:03:24 | 2023-07-15T00:03:24 |
CONTRIBUTOR
| null |
Just a nit documentation fix
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7730/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7730/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7730",
"html_url": "https://github.com/langchain-ai/langchain/pull/7730",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7730.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7730.patch",
"merged_at": "2023-07-15T00:03:24"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7728
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7728/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7728/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7728/events
|
https://github.com/langchain-ai/langchain/pull/7728
| 1,805,507,729 |
PR_kwDOIPDwls5VjdEC
| 7,728 |
add support for truncate arg for HuggingFaceTextGenInference class
|
{
"login": "Bearnardd",
"id": 43574448,
"node_id": "MDQ6VXNlcjQzNTc0NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/43574448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bearnardd",
"html_url": "https://github.com/Bearnardd",
"followers_url": "https://api.github.com/users/Bearnardd/followers",
"following_url": "https://api.github.com/users/Bearnardd/following{/other_user}",
"gists_url": "https://api.github.com/users/Bearnardd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Bearnardd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Bearnardd/subscriptions",
"organizations_url": "https://api.github.com/users/Bearnardd/orgs",
"repos_url": "https://api.github.com/users/Bearnardd/repos",
"events_url": "https://api.github.com/users/Bearnardd/events{/privacy}",
"received_events_url": "https://api.github.com/users/Bearnardd/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 3 | 2023-07-14T20:13:31 | 2023-07-14T20:26:40 | 2023-07-14T20:23:57 |
CONTRIBUTOR
| null |
Fixes https://github.com/hwchase17/langchain/issues/7650
* add support for `truncate` argument of `HugginFaceTextGenInference`
@baskaryan
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7728/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7728/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7728",
"html_url": "https://github.com/langchain-ai/langchain/pull/7728",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7728.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7728.patch",
"merged_at": "2023-07-14T20:23:57"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7727
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7727/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7727/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7727/events
|
https://github.com/langchain-ai/langchain/pull/7727
| 1,805,476,791 |
PR_kwDOIPDwls5VjV7z
| 7,727 |
rfc
|
{
"login": "baskaryan",
"id": 22008038,
"node_id": "MDQ6VXNlcjIyMDA4MDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/22008038?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskaryan",
"html_url": "https://github.com/baskaryan",
"followers_url": "https://api.github.com/users/baskaryan/followers",
"following_url": "https://api.github.com/users/baskaryan/following{/other_user}",
"gists_url": "https://api.github.com/users/baskaryan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baskaryan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baskaryan/subscriptions",
"organizations_url": "https://api.github.com/users/baskaryan/orgs",
"repos_url": "https://api.github.com/users/baskaryan/repos",
"events_url": "https://api.github.com/users/baskaryan/events{/privacy}",
"received_events_url": "https://api.github.com/users/baskaryan/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5680700892,
"node_id": "LA_kwDOIPDwls8AAAABUpid3A",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:refactor",
"name": "auto:refactor",
"color": "D4C5F9",
"default": false,
"description": "A large refactor of a feature(s) or restructuring of many files"
}
] |
closed
| false | null |
[] | null | 1 | 2023-07-14T19:57:42 | 2023-07-25T02:13:39 | 2023-07-25T02:13:39 |
COLLABORATOR
| null |
exploring pkg per chain. seeing what moving PALChain would look like. imagine most top level stuff moved down into another langchain dir. so repo struct something like. not langchain package would still import PalChain
langchain
  | - langchain (could rename src)
   | - ...
  | - pyproject.toml
  | - poetry.lock
  | tests
   | - ...
  | ...
langchain-pal
  | ...
langchain-core
  | ...
Makefile
...
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7727/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7727/timeline
| null | null | true |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7727",
"html_url": "https://github.com/langchain-ai/langchain/pull/7727",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7727.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7727.patch",
"merged_at": null
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7726
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7726/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7726/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7726/events
|
https://github.com/langchain-ai/langchain/pull/7726
| 1,805,380,651 |
PR_kwDOIPDwls5VjAaR
| 7,726 |
Add ability to load (deserialize) objects from other namespaces
|
{
"login": "alecf",
"id": 135340,
"node_id": "MDQ6VXNlcjEzNTM0MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/135340?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alecf",
"html_url": "https://github.com/alecf",
"followers_url": "https://api.github.com/users/alecf/followers",
"following_url": "https://api.github.com/users/alecf/following{/other_user}",
"gists_url": "https://api.github.com/users/alecf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/alecf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alecf/subscriptions",
"organizations_url": "https://api.github.com/users/alecf/orgs",
"repos_url": "https://api.github.com/users/alecf/repos",
"events_url": "https://api.github.com/users/alecf/events{/privacy}",
"received_events_url": "https://api.github.com/users/alecf/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 7 | 2023-07-14T18:55:24 | 2023-08-08T16:04:44 | 2023-07-26T15:59:29 |
CONTRIBUTOR
| null |
I have some Prompt subclasses in my project that I'd like to be able to deserialize in callbacks. Right now `loads()`/`load()` will bail when it encounters my object, but I know I can trust the objects because they're in my own projects.
<!-- Thank you for contributing to LangChain!
Replace this comment with:
- Description: a description of the change,
- Issue: the issue # it fixes (if applicable),
- Dependencies: any dependencies required for this change,
- Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
- Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!
If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on network access,
2. an example notebook showing its use.
Maintainer responsibilities:
- General / Misc / if you don't know who to tag: @baskaryan
- DataLoaders / VectorStores / Retrievers: @rlancemartin, @eyurtsev
- Models / Prompts: @hwchase17, @baskaryan
- Memory: @hwchase17
- Agents / Tools / Toolkits: @hinthornw
- Tracing / Callbacks: @agola11
- Async: @agola11
If no one reviews your PR within a few days, feel free to @-mention the same people again.
See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md
-->
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7726/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7726/timeline
| null | null | false |
{
"url": "https://api.github.com/repos/langchain-ai/langchain/pulls/7726",
"html_url": "https://github.com/langchain-ai/langchain/pull/7726",
"diff_url": "https://github.com/langchain-ai/langchain/pull/7726.diff",
"patch_url": "https://github.com/langchain-ai/langchain/pull/7726.patch",
"merged_at": "2023-07-26T15:59:29"
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7725
|
https://api.github.com/repos/langchain-ai/langchain
|
https://api.github.com/repos/langchain-ai/langchain/issues/7725/labels{/name}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7725/comments
|
https://api.github.com/repos/langchain-ai/langchain/issues/7725/events
|
https://github.com/langchain-ai/langchain/issues/7725
| 1,805,363,097 |
I_kwDOIPDwls5rm6eZ
| 7,725 |
Issue: Need a trace or debug feature in Lanchain DirectoryLoader
|
{
"login": "botchagalupe",
"id": 457288,
"node_id": "MDQ6VXNlcjQ1NzI4OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/457288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/botchagalupe",
"html_url": "https://github.com/botchagalupe",
"followers_url": "https://api.github.com/users/botchagalupe/followers",
"following_url": "https://api.github.com/users/botchagalupe/following{/other_user}",
"gists_url": "https://api.github.com/users/botchagalupe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/botchagalupe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/botchagalupe/subscriptions",
"organizations_url": "https://api.github.com/users/botchagalupe/orgs",
"repos_url": "https://api.github.com/users/botchagalupe/repos",
"events_url": "https://api.github.com/users/botchagalupe/events{/privacy}",
"received_events_url": "https://api.github.com/users/botchagalupe/received_events",
"type": "User",
"site_admin": false
}
|
[
{
"id": 5541144676,
"node_id": "LA_kwDOIPDwls8AAAABSkcoZA",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/area:%20doc%20loader",
"name": "area: doc loader",
"color": "D4C5F9",
"default": false,
"description": "Related to document loader module (not documentation)"
},
{
"id": 5680700873,
"node_id": "LA_kwDOIPDwls8AAAABUpidyQ",
"url": "https://api.github.com/repos/langchain-ai/langchain/labels/auto:improvement",
"name": "auto:improvement",
"color": "FBCA04",
"default": false,
"description": "Medium size change to existing code to handle new use-cases"
}
] |
closed
| false | null |
[] | null | 2 | 2023-07-14T18:45:13 | 2023-10-21T16:06:45 | 2023-10-21T16:06:44 |
NONE
| null |
### Issue you'd like to raise.
I've set "langchain.debug=True"; however, it does not work for the DirectoryLoader. I have a notebook that tried to load a dozen or more PDFs, and typically, at least one of the files fails (see attached). I looked at the code, and as far as I can tell, there is no trace or debug feature in (https://github.com/hwchase17/langchain/tree/master/langchain/document_loaders).
My issue is that the loader code is a black box. I can't tell which file is failing; therefore, I have to process each one individually to find out which one is failing. It would be beneficial if a trace/debugger could help me identify which file it's failing on.
TIA
<img width="912" alt="Screen Shot 2023-07-14 at 9 04 56 AM" src="https://github.com/hwchase17/langchain/assets/457288/fd5b7732-1040-4c73-91dc-abc41fb9cadd">
### Suggestion:
Please make a debug option for "https://github.com/hwchase17/langchain/tree/master/langchain/document_loaders" code.
|
{
"url": "https://api.github.com/repos/langchain-ai/langchain/issues/7725/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
}
|
https://api.github.com/repos/langchain-ai/langchain/issues/7725/timeline
| null |
not_planned
| null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.