fix: make all checks green (#1)

This commit is contained in:
Boris 2024-11-19 15:30:09 +01:00 committed by GitHub
parent 2331739e07
commit 5f144a0f92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 20 deletions

View file

@ -1,18 +0,0 @@
from uuid import UUID, uuid4
from typing import Optional
from pydantic import BaseModel
from .models.Task import Task
class PipelineConfig(BaseModel):
batch_count: int = 10
description: Optional[str] = None
class Pipeline():
id: UUID = uuid4()
name: str
description: str
tasks: list[Task] = []
def __init__(self, name: str, pipeline_config: PipelineConfig):
self.name = name
self.description = pipeline_config.description

View file

@ -19,7 +19,7 @@ services:
deploy:
resources:
limits:
cpus: '4.0'
cpus: '2.0'
memory: 8GB
frontend:

View file

@ -174,7 +174,7 @@
"\n",
"# Query cognee for summaries\n",
"search_results = await cognee.search(\n",
" SearchType.SUMMARIES, query=\"What are the main news discussed in the document?\"\n",
" SearchType.SUMMARIES, query_text=\"What are the main news discussed in the document?\"\n",
")\n",
"# Display search results\n",
"print(\"\\n Summary of main news discussed:\\n\")\n",