Spaces:
Running
on
Zero
Running
on
Zero
tesds
Browse files- appraisal_app/__init__.py +0 -0
- appraisal_app/admin.py +3 -0
- appraisal_app/apps.py +6 -0
- appraisal_app/migrations/__init__.py +0 -0
- appraisal_app/models.py +3 -0
- appraisal_app/tests.py +3 -0
- appraisal_app/views.py +3 -0
- chat_history.db +0 -0
- controllers/gpt_enginner20240624112338 +1 -0
- controllers/gpt_enginner20240624112600 +1 -0
- mysite/routers/fastapi.py +1 -0
appraisal_app/__init__.py
ADDED
File without changes
|
appraisal_app/admin.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
from django.contrib import admin
|
2 |
+
|
3 |
+
# Register your models here.
|
appraisal_app/apps.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from django.apps import AppConfig
|
2 |
+
|
3 |
+
|
4 |
+
class AppraisalAppConfig(AppConfig):
|
5 |
+
default_auto_field = 'django.db.models.BigAutoField'
|
6 |
+
name = 'appraisal_app'
|
appraisal_app/migrations/__init__.py
ADDED
File without changes
|
appraisal_app/models.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
from django.db import models
|
2 |
+
|
3 |
+
# Create your models here.
|
appraisal_app/tests.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
from django.test import TestCase
|
2 |
+
|
3 |
+
# Create your tests here.
|
appraisal_app/views.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
from django.shortcuts import render
|
2 |
+
|
3 |
+
# Create your views here.
|
chat_history.db
CHANGED
Binary files a/chat_history.db and b/chat_history.db differ
|
|
controllers/gpt_enginner20240624112338
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit b32445567d8bb13174a470e81883dda311f00cdb
|
controllers/gpt_enginner20240624112600
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 8f840d9bfab2b92bd122c605745fb49d1cde5467
|
mysite/routers/fastapi.py
CHANGED
@@ -293,6 +293,7 @@ def setup_webhook_routes(app: FastAPI):
|
|
293 |
#########################################################################
|
294 |
from babyagi.babyagi import completion
|
295 |
command = f'make runbabyagi "{text}に対して、より良いチャットボットでのQ&Aプランの提案"'
|
|
|
296 |
proc = subprocess.Popen(
|
297 |
command,
|
298 |
stdin=subprocess.PIPE,
|
|
|
293 |
#########################################################################
|
294 |
from babyagi.babyagi import completion
|
295 |
command = f'make runbabyagi "{text}に対して、より良いチャットボットでのQ&Aプランの提案"'
|
296 |
+
|
297 |
proc = subprocess.Popen(
|
298 |
command,
|
299 |
stdin=subprocess.PIPE,
|