Skip to content

Commit

Permalink
Updated guide
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikaidai committed Feb 6, 2025
1 parent 23c2845 commit c4b8a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/guides-using-custom-llms.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class CustomSeleneMini(DeepEvalBaseLLM):
output_dict = pipeline(chat_template, prefix_allowed_tokens_fn=prefix_function)
output = output_dict[0]["generated_text"][len(chat_template):]
json_result = json.loads(output)
# Return valid JSON object according to the schema DeepEval supplied
# Return valid JSON object according to the schema supplied
return schema(**json_result)
return pipeline(prompt)

Expand Down

0 comments on commit c4b8a98

Please sign in to comment.