Skip to content

Commit

Permalink
Hard delete chat logic (#2414)
Browse files Browse the repository at this point in the history
  • Loading branch information
lferran authored Aug 27, 2024
1 parent 0afbeae commit ae6ad6b
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 873 deletions.
6 changes: 1 addition & 5 deletions charts/nucliadb_search/templates/search.vs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ spec:
regex: '^/api/v\d+/kb/[^/]+/find$'
method:
regex: "GET|POST|OPTIONS"
- uri:
regex: '^/api/v\d+/kb/[^/]+/chat$'
method:
regex: "POST|OPTIONS"
- uri:
regex: '^/api/v\d+/kb/[^/]+/ask$'
method:
Expand All @@ -43,7 +39,7 @@ spec:
method:
regex: "GET|POST|OPTIONS"
- uri:
regex: '^/api/v\d+/kb/[^/]+/(resource|slug)/[^/]+/(chat|find|search|ask)$'
regex: '^/api/v\d+/kb/[^/]+/(resource|slug)/[^/]+/(find|search|ask)$'
method:
regex: "GET|POST|OPTIONS"
- uri:
Expand Down
2 changes: 0 additions & 2 deletions nucliadb/src/nucliadb/search/api/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from . import ask # noqa
from . import chat # noqa
from . import feedback # noqa
from . import find # noqa
from . import knowledgebox # noqa
Expand All @@ -27,6 +26,5 @@
from . import suggest # noqa
from . import summarize # noqa
from .resource import ask as ask_resource # noqa
from .resource import chat as chat_resource # noqa
from .resource import search as search_resource # noqa
from .router import api # noqa
271 changes: 0 additions & 271 deletions nucliadb/src/nucliadb/search/api/v1/chat.py

This file was deleted.

Loading

0 comments on commit ae6ad6b

Please sign in to comment.