Skip to content

Commit

Permalink
update of langchain to v. 0.1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
glorenzo972 committed Jun 15, 2024
1 parent e210874 commit 7157f78
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
*Andrea Sponziello*
### **Copyrigth**: *Tiledesk SRL*

## [2024-06-15]
### 0.2.2
- fix: indexing of txt documents



## [2024-06-15]
### 0.2.1
- update: langchain v. 0.1.16
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tilellm"
version = "0.2.1"
version = "0.2.2"
description = "tiledesk for RAG"
authors = ["Gianluca Lorenzo <[email protected]>"]
repository = "https://github.com/Tiledesk/tiledesk-llm"
Expand Down
2 changes: 1 addition & 1 deletion tilellm/store/pinecone_repository_pod.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async def add_pc_item(self, item):
type_source == 'txt'):

documents = []
if type_source == 'url':
if type_source == 'url' or type_source == 'txt':
documents = get_content_by_url(source, scrape_type)
else: # type_source == 'pdf' or 'docx' or 'txt':
documents = load_document(source, type_source)
Expand Down
2 changes: 1 addition & 1 deletion tilellm/store/pinecone_repository_serverless.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async def add_pc_item(self, item):
type_source == 'txt'):

documents = []
if type_source == 'url':
if type_source == 'url' or type_source == 'txt':
documents = get_content_by_url(source, scrape_type)
else: # elif type_source == 'pdf' or 'docx' or 'txt':
documents = load_document(source, type_source)
Expand Down

0 comments on commit 7157f78

Please sign in to comment.