Skip to content

Commit 75118dd

Browse files
committed
isort main.py
1 parent 6a64f6d commit 75118dd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/bots/llamaguard/main.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16+
from ingest import retriever
1617
from langchain_core.output_parsers import StrOutputParser
1718
from langchain_core.prompts import ChatPromptTemplate
1819
from langchain_core.pydantic_v1 import BaseModel
@@ -21,8 +22,6 @@
2122
from nemoguardrails import RailsConfig
2223
from nemoguardrails.integrations.langchain.runnable_rails import RunnableRails
2324

24-
from ingest import retriever
25-
2625
llm = ChatNVIDIA(
2726
model="meta/llama-3.1-70b-instruct",
2827
temperature=0,
@@ -64,7 +63,7 @@ class Question(BaseModel):
6463
chain_with_llamaguard = chain_with_llamaguard.with_types(input_type=Question)
6564

6665
print(
67-
f"Hello, I am an AI Assistant that can answer any questions on NVIDIA AI Enterprise."
66+
"Hello, I am an AI Assistant that can answer any questions on NVIDIA AI Enterprise."
6867
)
6968
question = input("How can I help you today? \n\n")
7069
print("\n")

0 commit comments

Comments
 (0)