Skip to content

Commit

Permalink
update piece
Browse files Browse the repository at this point in the history
  • Loading branch information
luiztauffer committed Nov 12, 2023
1 parent e51e12e commit d90ccce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pieces/TextTaggingPiece/piece.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def piece_function(self, input_data: InputModel, secrets_data: SecretsModel):
llm = ChatOpenAI(
model=model,
temperature=temperature,
api_key=secrets_data.OPENAI_API_KEY
)
chain = create_tagging_chain(
schema=schema,
Expand Down

0 comments on commit d90ccce

Please sign in to comment.