Skip to content

Commit

Permalink
modify: source
Browse files Browse the repository at this point in the history
  • Loading branch information
glorenzo972 committed Sep 4, 2024
1 parent 34e2109 commit 9e77953
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
*Andrea Sponziello*
### **Copyrigth**: *Tiledesk SRL*

## [2024-09-04]
### 0.2.14
- modify: citations without quote
-
## [2024-09-04]
### 0.2.13
- modify: source on qa
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.13"
version = "0.2.14"
description = "tiledesk for RAG"
authors = ["Gianluca Lorenzo <[email protected]>"]
repository = "https://github.com/Tiledesk/tiledesk-llm"
Expand Down
10 changes: 5 additions & 5 deletions tilellm/models/item_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@ class Citation(BaseModel):
)
source_name: str = Field(
...,
description="The Article Source of a SPECIFIC source which justifies the answer.",
)
quote: str = Field(
...,
description="The VERBATIM quote from the specified source that justifies the answer.",
description="The Article Source (URL if available) of a SPECIFIC source which justifies the answer.",
)
#quote: str = Field(
# ...,
# description="The VERBATIM quote from the specified source that justifies the answer.",
#)

class QuotedAnswer(BaseModel):
"""Answer the user question based only on the given sources, and cite the sources used."""
Expand Down

0 comments on commit 9e77953

Please sign in to comment.