diff --git a/classifiers/llm/gpt_classifier/code_snippet_backup.md b/classifiers/llm/gpt_classifier/code_snippet_backup.md index 24cc53db..1d910c9d 100644 --- a/classifiers/llm/gpt_classifier/code_snippet_backup.md +++ b/classifiers/llm/gpt_classifier/code_snippet_backup.md @@ -1,4 +1,5 @@ ```python +# DISCLAIMER: this might use an outdated version of the openai package, if you encounter problems, please open an issue at https://github.com/code-kern-ai/bricks/issues import openai import re diff --git a/classifiers/llm/gpt_classifier/code_snippet_common.md b/classifiers/llm/gpt_classifier/code_snippet_common.md index 83ec98a6..08048454 100644 --- a/classifiers/llm/gpt_classifier/code_snippet_common.md +++ b/classifiers/llm/gpt_classifier/code_snippet_common.md @@ -1,5 +1,6 @@ ```python from typing import List, Tuple +# DISCLAIMER: this might use an outdated version of the openai package, if you encounter problems, please open an issue at https://github.com/code-kern-ai/bricks/issues import openai import re diff --git a/classifiers/llm/gpt_classifier/code_snippet_refinery.md b/classifiers/llm/gpt_classifier/code_snippet_refinery.md index 366c0591..dc6429bb 100644 --- a/classifiers/llm/gpt_classifier/code_snippet_refinery.md +++ b/classifiers/llm/gpt_classifier/code_snippet_refinery.md @@ -1,4 +1,5 @@ ```python +# DISCLAIMER: this might use an outdated version of the openai package, if you encounter problems, please open an issue at https://github.com/code-kern-ai/bricks/issues import openai from typing import List diff --git a/classifiers/reference_relevance/gpt_cross_encoder/code_snippet_common.md b/classifiers/reference_relevance/gpt_cross_encoder/code_snippet_common.md index e4e19c80..6ccdee0d 100644 --- a/classifiers/reference_relevance/gpt_cross_encoder/code_snippet_common.md +++ b/classifiers/reference_relevance/gpt_cross_encoder/code_snippet_common.md @@ -1,4 +1,5 @@ ```python +# DISCLAIMER: this might use an outdated version of the openai package, if you encounter problems, please open an issue at https://github.com/code-kern-ai/bricks/issues import openai import os diff --git a/classifiers/reference_relevance/gpt_cross_encoder/code_snippet_refinery.md b/classifiers/reference_relevance/gpt_cross_encoder/code_snippet_refinery.md index 7425b097..5a0d6a0e 100644 --- a/classifiers/reference_relevance/gpt_cross_encoder/code_snippet_refinery.md +++ b/classifiers/reference_relevance/gpt_cross_encoder/code_snippet_refinery.md @@ -1,4 +1,5 @@ ```python +# DISCLAIMER: this might use an outdated version of the openai package, if you encounter problems, please open an issue at https://github.com/code-kern-ai/bricks/issues import openai QUESTION: str = "question" # only text attributes diff --git a/extractors/llm/gpt_information_extraction/code_snippet_backup.md b/extractors/llm/gpt_information_extraction/code_snippet_backup.md index 4b15a2f3..2f9a6306 100644 --- a/extractors/llm/gpt_information_extraction/code_snippet_backup.md +++ b/extractors/llm/gpt_information_extraction/code_snippet_backup.md @@ -1,4 +1,5 @@ ```python +# DISCLAIMER: this might use an outdated version of the openai package, if you encounter problems, please open an issue at https://github.com/code-kern-ai/bricks/issues import openai import re import spacy diff --git a/extractors/llm/gpt_information_extraction/code_snippet_common.md b/extractors/llm/gpt_information_extraction/code_snippet_common.md index 1d5b5729..dd60b7f0 100644 --- a/extractors/llm/gpt_information_extraction/code_snippet_common.md +++ b/extractors/llm/gpt_information_extraction/code_snippet_common.md @@ -1,4 +1,5 @@ ```python +# DISCLAIMER: this might use an outdated version of the openai package, if you encounter problems, please open an issue at https://github.com/code-kern-ai/bricks/issues import openai import re import spacy diff --git a/extractors/llm/gpt_information_extraction/code_snippet_refinery.md b/extractors/llm/gpt_information_extraction/code_snippet_refinery.md index 17d1c917..1878bc87 100644 --- a/extractors/llm/gpt_information_extraction/code_snippet_refinery.md +++ b/extractors/llm/gpt_information_extraction/code_snippet_refinery.md @@ -1,4 +1,5 @@ ```python +# DISCLAIMER: this might use an outdated version of the openai package, if you encounter problems, please open an issue at https://github.com/code-kern-ai/bricks/issues import openai import re import json diff --git a/generators/llm/gpt_grammar_correction/code_snippet_backup.md b/generators/llm/gpt_grammar_correction/code_snippet_backup.md index 1a2813cc..466d3613 100644 --- a/generators/llm/gpt_grammar_correction/code_snippet_backup.md +++ b/generators/llm/gpt_grammar_correction/code_snippet_backup.md @@ -1,4 +1,5 @@ ```python +# DISCLAIMER: this might use an outdated version of the openai package, if you encounter problems, please open an issue at https://github.com/code-kern-ai/bricks/issues import openai # replace this list with a list containing your data diff --git a/generators/llm/gpt_grammar_correction/code_snippet_common.md b/generators/llm/gpt_grammar_correction/code_snippet_common.md index b23dfbb4..2b70d518 100644 --- a/generators/llm/gpt_grammar_correction/code_snippet_common.md +++ b/generators/llm/gpt_grammar_correction/code_snippet_common.md @@ -1,4 +1,5 @@ ```python +# DISCLAIMER: this might use an outdated version of the openai package, if you encounter problems, please open an issue at https://github.com/code-kern-ai/bricks/issues import openai def gpt_grammar_correction(text:str, api_key:str, temperature:float = 0) -> str: diff --git a/generators/llm/gpt_grammar_correction/code_snippet_refinery.md b/generators/llm/gpt_grammar_correction/code_snippet_refinery.md index 93412b89..85c81f8c 100644 --- a/generators/llm/gpt_grammar_correction/code_snippet_refinery.md +++ b/generators/llm/gpt_grammar_correction/code_snippet_refinery.md @@ -1,4 +1,5 @@ ```python +# DISCLAIMER: this might use an outdated version of the openai package, if you encounter problems, please open an issue at https://github.com/code-kern-ai/bricks/issues import openai API_KEY: str = "" diff --git a/generators/llm/gpt_tldr_summarization/code_snippet_backup.md b/generators/llm/gpt_tldr_summarization/code_snippet_backup.md index aa836427..a290e43a 100644 --- a/generators/llm/gpt_tldr_summarization/code_snippet_backup.md +++ b/generators/llm/gpt_tldr_summarization/code_snippet_backup.md @@ -1,4 +1,5 @@ ```python +# DISCLAIMER: this might use an outdated version of the openai package, if you encounter problems, please open an issue at https://github.com/code-kern-ai/bricks/issues import openai # replace this list with a list containing your data diff --git a/generators/llm/gpt_tldr_summarization/code_snippet_common.md b/generators/llm/gpt_tldr_summarization/code_snippet_common.md index dae946cf..d7984269 100644 --- a/generators/llm/gpt_tldr_summarization/code_snippet_common.md +++ b/generators/llm/gpt_tldr_summarization/code_snippet_common.md @@ -1,5 +1,6 @@ ```python +# DISCLAIMER: this might use an outdated version of the openai package, if you encounter problems, please open an issue at https://github.com/code-kern-ai/bricks/issues import openai def gpt_summarizer(text:str, api_key:str, temperature:float = 0) -> str: diff --git a/generators/llm/gpt_tldr_summarization/code_snippet_refinery.md b/generators/llm/gpt_tldr_summarization/code_snippet_refinery.md index 2dda97ee..17120322 100644 --- a/generators/llm/gpt_tldr_summarization/code_snippet_refinery.md +++ b/generators/llm/gpt_tldr_summarization/code_snippet_refinery.md @@ -1,4 +1,5 @@ ```python +# DISCLAIMER: this might use an outdated version of the openai package, if you encounter problems, please open an issue at https://github.com/code-kern-ai/bricks/issues import openai API_KEY: str = ""