Skip to content

Commit

Permalink
feat(datasets): new collection if not exists, plus cookbook
Browse files Browse the repository at this point in the history
  • Loading branch information
jalexanderII committed Jun 4, 2024
1 parent 43c7267 commit 980c0c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions parea/cookbook/parea_llm_proxy/dynamic_few_shot_injection.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

p = Parea(api_key=os.getenv("PAREA_API_KEY"))

NUM_INTERACTIONS = 5


class Person(BaseModel):
name: str
Expand All @@ -28,6 +26,7 @@ class Email(BaseModel):


mock_DB: dict[str, Email] = {}
NUM_INTERACTIONS = 5


def call_llm(messages: List[Message]) -> CompletionResponse:
Expand Down

0 comments on commit 980c0c4

Please sign in to comment.