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 980c0c4 commit 0195e3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parea/cookbook/parea_llm_proxy/dynamic_few_shot_injection.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

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

NUM_INTERACTIONS = 5


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


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


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

0 comments on commit 0195e3b

Please sign in to comment.