Start working on chunking en embedding task. Continu with embeddings.

This commit is contained in:
Josako
2024-05-08 22:40:55 +02:00
parent 667d99daa8
commit a4bf837d67
2 changed files with 135 additions and 24 deletions

View File

@@ -51,11 +51,16 @@ class Config(object):
CELERY_TIMEZONE = 'UTC'
CELERY_ENABLE_UTC = True
# LLM TEMPLATES
GPT4_SUMMARY_TEMPLATE = """Summarise the text in the same language as the provided text between triple backquotes.
```{context}```"""
class DevConfig(Config):
DEVELOPMENT = True
DEBUG = True
FLASK_DEBUG = True
PYCHARM_DEBUG = True
SQLALCHEMY_DATABASE_URI = 'postgresql+pg8000://josako@localhost:5432/eveAI'
SQLALCHEMY_BINDS = {'public': 'postgresql+pg8000://josako@localhost:5432/eveAI'}
EXPLAIN_TEMPLATE_LOADING = False