-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6c74a2
commit 881c2cc
Showing
5 changed files
with
64 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from fastapi import APIRouter | ||
|
||
router = APIRouter() | ||
|
||
@router.get("/test") | ||
async def test_endpoint(): | ||
return { | ||
"meeting-description": "dummy", | ||
"chat": ["message1", "message2"] | ||
} | ||
|
||
# ... existing code (if any) ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
from openai import OpenAI | ||
from app.schemas import ChatMessage, Conversation | ||
from app.models import Conversation | ||
from datetime import datetime, timezone | ||
def init_conversation(conversation: Conversation) -> Conversation: | ||
#TODO: Implement this function | ||
conversation.chat_messages = [] | ||
return conversation | ||
|
||
# Evaluates if it's part of the conversation or should be added as a meeting agenda | ||
def generate_response(conversation: Conversation, meeting_type: str) -> Conversation: | ||
def generate_response(conversation: Conversation) -> Conversation: | ||
#TODO: Implement this function | ||
return conversation |