promptlayer 0.2.5__tar.gz → 0.2.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of promptlayer might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: promptlayer
3
- Version: 0.2.5
3
+ Version: 0.2.6
4
4
  Summary: PromptLayer is a package to keep track of your GPT models training
5
5
  License: Apache-2.0
6
6
  Author: Magniv
@@ -30,7 +30,7 @@ def get_prompt(
30
30
  if langchain:
31
31
  if "_type" not in prompt["prompt_template"]:
32
32
  prompt["prompt_template"]["_type"] = "prompt"
33
- elif prompt["prompt_template"]["_type"] == CHAT_PROMPTLAYER_LANGCHAIN:
33
+ if prompt["prompt_template"]["_type"] == CHAT_PROMPTLAYER_LANGCHAIN:
34
34
  prompt_template = to_prompt(prompt["prompt_template"])
35
35
  else:
36
36
  prompt_template = load_prompt_from_config(prompt["prompt_template"])
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "promptlayer"
3
- version = "0.2.5"
3
+ version = "0.2.6"
4
4
  description = "PromptLayer is a package to keep track of your GPT models training"
5
5
  authors = ["Magniv <hello@magniv.io>"]
6
6
  license = "Apache-2.0"
File without changes
File without changes