Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Telegram raw data vectorize #302

Closed
amindadgar opened this issue Oct 16, 2024 · 0 comments · Fixed by #303
Closed

feat: Telegram raw data vectorize #302

amindadgar opened this issue Oct 16, 2024 · 0 comments · Fixed by #303
Assignees

Comments

@amindadgar
Copy link
Member

We need to vectorize the telegram data in order for hivemind to be able to answer questions.

sequenceDiagram
    IngestionETL->>FetchTCChats: fetch_chat_ids()
    FetchTCChats-->>IngestionETL: ChatId[]
    IngestionETL->>ChatExistance: if chat platform doesn't exist, create a platform + modules + community
    ChatExistance-->>IngestionETL: CommunityId, chatId
    IngestionETL->>TelegramProcessor: start(chatId)
    TelegramProcessor->>TelegramExtractRawMemberActivities: extract()
    TelegramExtractRawMemberActivities->>TelegramExtractRawMembers: extract()
    TelegramExtractRawMembers-->>TelegramExtractRawMemberActivities: membersInfo[]
    TelegramExtractRawMemberActivities-->>TelegramProcessor: RawData[]
    TelegramProcessor->>TransformRawMemberActivities: transform()
    TransformRawMemberActivities-->>TelegramProcessor: llama_index.Document[]
    TelegramProcessor->>LoadDocuments: load(community_id, documents)
Loading

Ref link:
https://www.notion.so/rndadocs/Telegram-MVP-70e59f2b934c401cbe7bd94119dff6ea?pvs=4#974880be21dc46f890144feb01fcb982

@amindadgar amindadgar self-assigned this Oct 16, 2024
@amindadgar amindadgar linked a pull request Oct 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant