Skip to content

adds disclaimers for openai packages #398

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions classifiers/llm/gpt_classifier/code_snippet_backup.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 1 addition & 0 deletions classifiers/llm/gpt_classifier/code_snippet_common.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 1 addition & 0 deletions classifiers/llm/gpt_classifier/code_snippet_refinery.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
Original file line number Diff line number Diff line change
@@ -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

Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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 = "<API_KEY_GOES_HERE>"
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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 = "<API_KEY_GOES_HERE>"
Expand Down