File size: 717 Bytes
e6a90e9
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from typing import TypedDict, List
from pydantic import Field

class SearchQuery(TypedDict):
    query: str = Field(description="A single plain text search query string.")

class PlanResearch(TypedDict):
    search_queries: List[SearchQuery] = Field(description="A list of search queries, to find all the info user asked for. Break user query down into smaller search queries.")

class PlanCodingTask(TypedDict):
    repo_name: str = Field(description="The name of the GitHub repository for the project.")
    private: bool = Field(description="Whether or not the repository is private.", default=False)
    task_description: str = Field(description="A detailed description of the project for the coder to create.")