初始提交

This commit is contained in:
2026-11-04 19:58:07 +08:00
commit 53b7d22429
829 changed files with 469986 additions and 0 deletions

View File

@@ -0,0 +1,363 @@
<odoo>
<data noupdate="True">
<!-- Plaintext Transcript Demo -->
<record id="ai_demo_call_history_plaintext" model="discuss.call.history">
<field name="channel_id" ref="mail.demo_call_channel"/>
<field name="start_dt" eval="(datetime.now() - relativedelta(days=2)).strftime('%Y-%m-%d %H:%M:%S')"/>
<field name="end_dt" eval="(datetime.now() - relativedelta(days=2, minutes=-10)).strftime('%Y-%m-%d %H:%M:%S')"/>
</record>
<record id="ai_demo_mail_call_artifact_plaintext" model="mail.call.artifact">
<field name="discuss_call_history_id" ref="ai_demo_call_history_plaintext"/>
<field name="transcription_state">done</field>
<field name="start_ms">0</field>
<field name="end_ms">600000</field>
<field name="transcript">This is a simple plaintext transcript of a call. It does not have timestamps. Yet should still be presented to the user (as a fallback) It just contains the text of the conversation. Hello! Hi there. How are you? I am good, thanks.</field>
</record>
<!-- Audio Transcript Demo -->
<record id="ai_demo_call_history_audio_transcript" model="discuss.call.history">
<field name="channel_id" ref="mail.demo_call_channel"/>
<field name="start_dt" eval="(datetime.now() - relativedelta(days=3)).strftime('%Y-%m-%d %H:%M:%S')"/>
<field name="end_dt" eval="(datetime.now() - relativedelta(days=3, minutes=-1)).strftime('%Y-%m-%d %H:%M:%S')"/>
</record>
<record id="ai_demo_mail_call_artifact_audio_transcript" model="mail.call.artifact">
<field name="discuss_call_history_id" ref="ai_demo_call_history_audio_transcript"/>
<field name="transcription_state">done</field>
<field name="start_ms">0</field>
<field name="end_ms">60000</field>
<field name="transcript">WEBVTT
00:00:03.000 --> 00:00:04.200
This is the beginning of the audio call.
00:00:04.200 --> 00:00:05.400
Yes, I can hear you clearly. Great, let's start.
00:00:05.400 --> 00:00:06.600
Great. Let's discuss the project, starting now.
00:00:06.600 --> 00:00:07.800
Sure, go ahead. Great. Let's discuss the project.
00:00:07.800 --> 00:00:09.000
Cool. Quick agenda: timeline, scope, and who owns what.
00:00:09.000 --> 00:00:10.200
End of month is tight. We can hit it if we cut two non-essentials.
00:00:10.200 --> 00:00:11.400
Which parts do you consider non-essential for the first release?
00:00:08.400 --> 00:00:09.600
The fancy dashboard and the auto-export. Core workflow first.
00:00:09.600 --> 00:00:10.800
Okay. Then MVP is: create, assign, track, and basic reporting.
00:00:10.800 --> 00:00:12.000
Exactly. And auth plus permissions—otherwise it's chaos.
00:00:12.000 --> 00:00:13.200
Agreed. Any blockers on your side right now? Mostly dependencies.
00:00:13.200 --> 00:00:14.400
We need API access confirmed from IT. Mostly dependencies.
00:00:14.400 --> 00:00:15.600
I'll ping them today. If they stall, we'll mock the endpoints.
00:00:15.600 --> 00:00:16.800
Mocking is fine, but we should budget time for integration fixes.
00:00:16.800 --> 00:00:18.000
This is the beginning of the audio call. Yes, I can hear you clearly.
00:00:18.000 --> 00:00:19.200
Great. Let's discuss the project. Sure, go ahead.
00:00:19.200 --> 00:00:20.400
Cool. Quick agenda: timeline, scope, and who owns what. End of month is tight. We can hit it if we cut two non-essentials. Which parts do you consider non-essential for the first release?
00:00:20.400 --> 00:00:21.600
The fancy dashboard and the auto-export. Core workflow first. Okay.
00:00:21.600 --> 00:00:22.800
Then MVP is: create, assign, track, and basic reporting. Exactly.
00:00:22.800 --> 00:00:24.000
And auth plus permissions—otherwise it's chaos. Agreed.
00:00:24.000 --> 00:00:25.200
Any blockers on your side right now? Mostly dependencies.
00:00:25.200 --> 00:00:26.400
We need API access confirmed from IT. I'll ping them today.
00:00:26.400 --> 00:00:27.600
If they stall, we'll mock the endpoints. Mocking is fine.
00:00:27.600 --> 00:00:28.800
But we should budget time for integration fixes. Agreed.
00:00:28.800 --> 00:00:30.000
Great. Let's discuss the project. Cool. Quick agenda next.
00:00:30.000 --> 00:00:31.200
Quick agenda: timeline, scope, and who owns what. Sure, go ahead.
00:00:31.200 --> 00:00:32.400
End of month is tight. We can hit it if we cut two non-essentials.
00:00:32.400 --> 00:00:33.600
Which parts do you consider non-essential for the first release?
00:00:33.600 --> 00:00:34.800
The fancy dashboard and the auto-export. Core workflow first.
00:00:34.800 --> 00:00:36.000
Okay. Then MVP is: create, assign, track, and basic reporting.
00:00:36.000 --> 00:00:37.200
Exactly. And auth plus permissions—otherwise it's chaos.
00:00:37.200 --> 00:00:38.400
Agreed. Any blockers on your side right now?
00:00:38.400 --> 00:00:39.600
Mostly dependencies. We need API access confirmed from IT.
00:00:39.600 --> 00:00:40.800
I'll ping them today. If they stall, we'll mock the endpoints.
00:00:40.800 --> 00:00:42.000
Mocking is fine, but we should budget time for integration fixes.
00:00:42.000 --> 00:01:00.000
Very long line here. This is the beginning of the audio call. Great. Let's discuss the project. Yes, I can hear you clearly. Cool. Quick agenda: timeline, scope. And who owns what. End of month is tight. We can hit it. If we cut two non-essentials. Which parts are non-essential? For the first release: fancy dashboard and auto-export. Core first. Okay. Then MVP is: create, assign, track, and basic reporting. Exactly. And auth plus permissions—otherwise it's chaos. Agreed. Any blockers on your side right now? Mostly dependencies.We need API access confirmed from IT. I'll ping them today. If they stall, we'll mock the endpoints. Mocking is fine.
But we should budget time for integration fixes. Budget time.
Sure, go ahead. Cool. Quick agenda: timeline, scope, ownership.
End of month is tight. We can hit it if we cut two non-essentials.
Which parts do you consider non-essential for the first release?
The fancy dashboard and the auto-export. Core workflow first.
</field>
</record>
<record id="ai_demo_call_attachment_audio" model="ir.attachment">
<field name="name">Demo Audio Transcript</field>
<field name="res_model">mail.call.artifact</field>
<field name="res_id" ref="ai_demo_mail_call_artifact_audio_transcript"/>
</record>
<!-- Video Transcript Demo -->
<record id="ai_demo_call_history_video_transcript" model="discuss.call.history">
<field name="channel_id" ref="mail.demo_call_channel"/>
<field name="start_dt" eval="(datetime.now() - relativedelta(days=4)).strftime('%Y-%m-%d %H:%M:%S')"/>
<field name="end_dt" eval="(datetime.now() - relativedelta(days=4, minutes=-1)).strftime('%Y-%m-%d %H:%M:%S')"/>
</record>
<record id="ai_demo_mail_call_artifact_video_transcript" model="mail.call.artifact">
<field name="discuss_call_history_id" ref="ai_demo_call_history_video_transcript"/>
<field name="transcription_state">done</field>
<field name="start_ms">0</field>
<field name="end_ms">60000</field>
<field name="transcript">WEBVTT
00:00:00.000 --> 00:00:02.000
This is the beginning of the audio call.
00:00:02.000 --> 00:00:04.000
Yes, I can hear you clearly.
00:00:04.000 --> 00:00:06.000
Great. Let's discuss the project.
00:00:06.000 --> 00:00:08.000
Sure, go ahead.
00:00:08.000 --> 00:00:12.000
Cool. Quick agenda: timeline, scope, and who owns what.
# --- 14s intentional gap
00:00:26.000 --> 00:00:29.000
End of month is tight. We can hit it if we cut two non-essentials.
00:00:29.000 --> 00:00:32.000
Which parts do you consider non-essential for the first release?
00:00:32.000 --> 00:00:35.000
The fancy dashboard and the auto-export. Core workflow first.
00:00:35.000 --> 00:00:38.000
Okay. Then MVP is: create, assign, track, and basic reporting.
00:00:38.000 --> 00:00:41.000
Exactly. And auth plus permissions—otherwise it's chaos.
00:00:41.000 --> 00:00:44.000
Agreed. Any blockers on your side right now?
00:00:44.000 --> 00:00:47.000
Mostly dependencies. We need API access confirmed from IT.
00:00:47.000 --> 00:00:50.000
I'll ping them today. If they stall, we'll mock the endpoints.
00:00:50.000 --> 00:00:53.000
Mocking is fine, but we should budget time for integration fixes.
00:00:53.000 --> 00:00:56.000
Yep. Let's allocate two days for integration and one for QA.
00:00:56.000 --> 00:00:58.000
Sounds reasonable. Any risks you want to flag?
00:00:58.000 --> 00:01:00.000
Permissions complexity. If roles change mid-sprint, we slip.
</field>
</record>
<record id="ai_demo_call_attachment_video" model="ir.attachment">
<field name="name">Demo Video Transcript</field>
<field name="res_model">mail.call.artifact</field>
<field name="res_id" ref="ai_demo_mail_call_artifact_video_transcript"/>
</record>
<!-- Multi-Segment Demo -->
<record id="ai_demo_call_history_multi" model="discuss.call.history">
<field name="channel_id" ref="mail.demo_call_channel"/>
<field name="start_dt" eval="(datetime.now() - relativedelta(days=5)).strftime('%Y-%m-%d %H:%M:%S')"/>
<field name="end_dt" eval="(datetime.now() - relativedelta(days=5, minutes=-2)).strftime('%Y-%m-%d %H:%M:%S')"/>
</record>
<!-- Multi-Segment Demo: Artifact 1 (0 to 60s) -->
<record id="ai_demo_mail_call_artifact_multi_1" model="mail.call.artifact">
<field name="discuss_call_history_id" ref="ai_demo_call_history_multi"/>
<field name="transcription_state">done</field>
<field name="start_ms">0</field>
<field name="end_ms">60000</field>
<field name="transcript">WEBVTT
00:00:00.000 --> 00:00:10.000
This is the FIRST segment of the call.
</field>
</record>
<record id="ai_demo_call_attachment_multi_1" model="ir.attachment">
<field name="name">Segment 1 Audio</field>
<field name="res_model">mail.call.artifact</field>
<field name="res_id" ref="ai_demo_mail_call_artifact_multi_1"/>
<field name="mimetype">audio/webm</field>
<field name="raw" type="bytes" file="mail/static/tests/fixtures/audio_60s.webm"/>
</record>
<!-- Multi-Segment Demo: Artifact 2 (60s to 120s) -->
<record id="ai_demo_mail_call_artifact_multi_2" model="mail.call.artifact">
<field name="discuss_call_history_id" ref="ai_demo_call_history_multi"/>
<field name="transcription_state">done</field>
<field name="start_ms">60000</field>
<field name="end_ms">120000</field>
<field name="transcript">WEBVTT
00:00:05.000 --> 00:00:15.000
This is the SECOND segment of the call.
</field>
</record>
<record id="ai_demo_call_attachment_multi_2" model="ir.attachment">
<field name="name">Segment 2 Audio</field>
<field name="res_model">mail.call.artifact</field>
<field name="res_id" ref="ai_demo_mail_call_artifact_multi_2"/>
<field name="mimetype">audio/webm</field>
<field name="raw" type="bytes" file="mail/static/tests/fixtures/audio_60s.webm"/>
</record>
<record id="demo_call_video_vtt" model="discuss.call.history">
<field name="channel_id" ref="mail.demo_call_channel"/>
<field name="start_dt" eval="(datetime.now() - relativedelta(hours=1)).strftime('%Y-%m-%d %H:%M:%S')"/>
<field name="end_dt" eval="(datetime.now() - relativedelta(hours=1, minutes=-1)).strftime('%Y-%m-%d %H:%M:%S')"/>
</record>
<record id="demo_artifact_video_media" model="mail.call.artifact">
<field name="discuss_call_history_id" ref="demo_call_video_vtt"/>
<field name="start_ms">0</field>
<field name="end_ms">60000</field>
</record>
<record id="demo_artifact_video_vtt" model="mail.call.artifact">
<field name="discuss_call_history_id" ref="demo_call_video_vtt"/>
<field name="is_stt" eval="True"/>
<field name="transcription_state">done</field>
<field name="start_ms">0</field>
<field name="end_ms">60000</field>
<field name="transcript">WEBVTT
00:00:00.000 --> 00:00:03.500
I'll welcome you with an ineresting fact. Did you ...
00:00:03.500 --> 00:00:05.500
...This demo video only contains data for the first 3 seconds to keep the repository light.
00:00:30.000 --> 00:00:34.000
If AI can talk about consciousness, does that mean it has any?
00:00:34.000 --> 00:00:38.000
Or is it just a mirror that learned to sound haunted?
00:00:38.000 --> 00:00:42.000
Recent brain studies keep linking consciousness to patterns of integration, prediction, and attention.
00:00:42.000 --> 00:00:46.000
So consciousness might not be a “thing” inside us, but a process holding itself together.
00:00:46.000 --> 00:00:50.000
Then AI is awkward, because it can simulate the language of inner life without proven inner life.
00:00:50.000 --> 00:00:54.000
Like a mask that gets better every year, while we still cannot define the face.
00:00:54.000 --> 00:00:58.000
Maybe the shocking part is not that AI might become conscious.
00:00:58.000 --> 00:01:00.000
It is that we are still not sure what would count as evidence.
</field>
</record>
<record id="demo_attachment_video_vtt" model="ir.attachment">
<field name="name">full_video_call.webm</field>
<field name="mimetype">video/webm</field>
<field name="raw" type="bytes" file="mail/demo/discuss/fixtures/video_60s_long_3s_content_av1_opus.webm"/>
<field name="description">Full Video Recording</field>
<field name="res_model">mail.call.artifact</field>
<field name="res_id" ref="demo_artifact_video_media"/>
</record>
<record id="ai_demo_mail_call_artifact_custom_s2_stt" model="mail.call.artifact">
<field name="discuss_call_history_id" ref="mail.call_starting_with_audio_then_silence_then_audio"/>
<field name="is_stt" eval="True"/>
<field name="transcription_state">done</field>
<field name="start_ms">20000</field>
<field name="end_ms">40000</field>
<field name="transcript">WEBVTT
00:00:00.000 --> 00:00:04.000
which turns your own hand into a physical compass to map out these invisible forces.
00:00:04.640 --> 00:00:09.760
Setting up your handhold, up your right hand, and extend your thumb, index finger, and middle finger.
00:00:09.760 --> 00:00:13.840
Adjust them so they are all at right angles to each other, just like the corner of a cardboard box.
00:00:14.480 --> 00:00:18.480
Each of these three fingers represents one specific part of the electromagnetic puzzle.
00:00:18.480 --> 00:00:19.920
Your thumb represents the direction of the
</field>
</record>
</data>
</odoo>