Skip to content

Commit 42bdc7e

Browse files
committed
Fix frontend and add docs updated
1 parent eae8079 commit 42bdc7e

File tree

8 files changed

+20
-6
lines changed

8 files changed

+20
-6
lines changed

admin_app/src/app/content/page.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,13 @@ const CardsUtilityStrip: React.FC<CardsUtilityStripProps> = ({
588588
setRefreshKey={setRefreshKey}
589589
editAccess={editAccess}
590590
validation_mode={true}
591+
related_contents={nextUnvalidatedCard?.related_contents || []}
592+
onRelatedContentClick={(content) => {
593+
setSnackMessage({
594+
message: "Related contents cannot be viewed in validation mode",
595+
color: "warning",
596+
});
597+
}}
591598
/>
592599
</>
593600
)}

core_backend/app/auth/dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ async def authenticate_key(
116116
credentials
117117
The bearer token.
118118
119-
Returns
119+
Returns˜
120120
-------
121121
WorkspaceDB
122122
The workspace object.

docs/blog/.authors.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ authors:
2727
name: Tony
2828
description: Data Scientist
2929
avatar: https://raw.githubusercontent.com/IDinsight/ask-a-question/main/docs/blog/author-avatars/tony.png
30+
Poornima:
31+
name: Poornima
32+
description: Data Scientist
33+
avatar: https://raw.githubusercontent.com/IDinsight/ask-a-question/main/docs/blog/author-avatars/poornima.png

docs/blog/author-avatars/poornima.png

115 KB
Loading

docs/blog/posts/docmuncher.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
2+
authors:
3+
- Poornima
24
category:
35
- Admin App
46
- API
@@ -20,4 +22,5 @@ The backend then converts the document into bite-sized chunks that get turned in
2022
This is the first version that we have for ingesting documents, but we're planning to build clustering for semantically similar cards and paraphrasing them so they're more readable.
2123

2224
## Doc references
23-
- [DocMuncher](../../components/docmuncherce/index.md)
25+
26+
- [DocMuncher](../../components/docmuncher/index.md)

docs/blog/posts/multi-turn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ authors:
44
category:
55
- Admin App
66
- Chat
7-
date: 2025-04-15
7+
date: 2025-02-03
88
---
99

1010
# Introducing Multi-turn Chat

docs/blog/posts/workspaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ authors:
44
category:
55
- Admin App
66
- Workspaces
7-
date: 2025-04-15
7+
date: 2025-02-27
88
---
99

1010
# Introducing Workspaces

docs/components/docmuncher/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ This content is then searchable using the `/search` endpoints.
88
There are specifically two endpoints: the `POST` endpoint accepts document uploads (.pdf or .zip) and creates FastAPI background tasks for each document uploaded. The `GET` endpoints return the status of the created jobs.
99

1010
## Process flow for document ingestion
11+
1112
```mermaid
1213
sequenceDiagram
1314
autonumber
1415
Admin App->>Backend: Document upload
15-
Backend->>MistralAI: Convert document test to Markdown
16+
Backend->>MistralAI: Convert document text to Markdown
1617
MistralAI->>LangChain: Chunk Markdown text by headers
1718
LangChain->>Backend: <Markdown chunks>
1819
Backend->>Backend: Post-process chunks for continuity, formatting
1920
Backend->>Admin App: <Final content cards + tags>
2021
```
2122

22-
2323
## Upcoming
2424

2525
- [ ] Semantiic clustering: cluster cards with similar content

0 commit comments

Comments
 (0)