fix: make all checks green (#1)
This commit is contained in:
parent
2331739e07
commit
5f144a0f92
3 changed files with 2 additions and 20 deletions
|
|
@ -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
|
||||
|
|
@ -19,7 +19,7 @@ services:
|
|||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '4.0'
|
||||
cpus: '2.0'
|
||||
memory: 8GB
|
||||
|
||||
frontend:
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue