Skip to content

Commit

Permalink
v2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ashpreetbedi committed Jan 2, 2024
1 parent 21f8e2c commit e488d1e
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 154 deletions.
1 change: 0 additions & 1 deletion api/routes/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ class ApiEndpoints:
PING: str = "/ping"
HEALTH: str = "/health"
PDF_CONVERSATION: str = "/pdf/conversation"
WEBSITE_CONVERSATION: str = "/website/conversation"


endpoints = ApiEndpoints()
55 changes: 0 additions & 55 deletions llm/conversations/website_auto.py

This file was deleted.

56 changes: 0 additions & 56 deletions llm/conversations/website_rag.py

This file was deleted.

14 changes: 0 additions & 14 deletions llm/knowledge_base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from phi.knowledge.combined import CombinedKnowledgeBase
from phi.knowledge.pdf import PDFUrlKnowledgeBase, PDFKnowledgeBase
from phi.knowledge.website import WebsiteKnowledgeBase
from phi.vectordb.pgvector import PgVector

from db.session import db_url
Expand Down Expand Up @@ -40,16 +39,3 @@
),
num_documents=2,
)

website_knowledge_base = WebsiteKnowledgeBase(
urls=["https://www.phidata.com"],
# Number of links to follow from the seed URLs
max_links=15,
# Store this knowledge base in llm.website_documents
vector_db=PgVector(
collection="website_documents",
db_url=db_url,
schema="llm",
),
num_documents=3,
)
6 changes: 0 additions & 6 deletions llm/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,3 @@
db_url=db_url,
schema="llm",
)

website_conversation_storage = PgConversationStorage(
table_name="website_conversations",
db_url=db_url,
schema="llm",
)
10 changes: 0 additions & 10 deletions llm/test/website_auto.py

This file was deleted.

10 changes: 0 additions & 10 deletions llm/test/website_rag.py

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies = [
# Linting and Formatting
"ruff",
# Phidata
"phidata==2.1.2",
"phidata==2.1.3",
]

[build-system]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ numpy==1.26.2
openai==1.3.5
packaging==23.2
pgvector==0.2.3
phidata==2.1.2
phidata==2.1.3
pluggy==1.3.0
psycopg[binary]==3.1.13
psycopg-binary==3.1.13
Expand Down

0 comments on commit e488d1e

Please sign in to comment.