-
-
Notifications
You must be signed in to change notification settings - Fork 4
Project Notes ‐ 07 31 2023 08 02 2023 and 08 04 2023
Levy Tate edited this page Aug 4, 2023
·
3 revisions
-
Google API and OAuth: Ben has created Google API and OAuth for testing purposes.
-
Goal Components: Edit-goal and Create-goal components have been combined to use a single Edit Goal Component, replacing the full code for a more streamlined approach.
-
UI Changes:
- Paul has removed the Avatar link on the signup page.
- There's ongoing experimentation with the layout of TailwindCSS input boxes to replicate other areas on the screen.
-
ChatGPT: Progress has been made on the GPT-related chat functionality, and it's nearing completion.
-
Google Calendar Integration: This integration is planned for the future.
-
Goal Editing Functionality:
- When navigating to the testing component page, the edit page will include the goal ID.
- The system will be able to pull the goal ID information from the server to autopopulate the editing interface.
- Alternatively, a quicker method might involve using the Svelte store to handle editing in an array. When a user clicks edit, the relevant information will go to the end of the array.
-
Design Transition: Transition from an old design that includes a new link to edit goals (using goal ID). This will involve:
- Building the page first.
- Breaking it down into components.
-
Other Considerations:
- Creating a paid OpenAI key for testing purposes.
- Deciding between text area vs. text input for UI design.
- Including currently calculated price information.
- Using VBOX to mirror Digital Ocean for load testing to determine costs.
- Noting the similarity between lists in Python and arrays in JavaScript.
- Input Cost: $0.0015 per 1000 tokens
- Output Cost: $0.002 per 1000 tokens
- Total Tokens per Roundtrip Interaction: 300 (200 for input + 100 for output)
- Number of Roundtrip Interactions with $1: A user can perform 2,000 roundtrip interactions with a budget of $1.
{
'id': '',
'object': 'chat.completion',
'created':,
'model': 'gpt-3.5-turbo-0613',
'choices': [
{
'index': 0,
'message': {
'role': 'assistant',
'content': 'SMART Goal: Exercise\nSpecific: 30 minutes of exercise, focusing on cardio and strength training, 5 days a week.\nMeasurable: Keep a workout log to track the number of days and duration of exercise each week.\nAchievable: Start with shorter workout sessions and gradually increase duration and intensity as fitness improves. Incorporate activities that are enjoyable and suit individual abilities.\nRelevant: Improve overall fitness, increase strength and endurance, and maintain a healthy lifestyle.\nTime-bound: Maintain the exercise routine for at least 3 months, with continuous progress and improvement.'
},
'finish_reason': 'stop'
}
],
'usage': {
'prompt_tokens': 174,
'completion_tokens': 113,
'total_tokens': 287
}
}