File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
16
+ from ingest import retriever
16
17
from langchain_core .output_parsers import StrOutputParser
17
18
from langchain_core .prompts import ChatPromptTemplate
18
19
from langchain_core .pydantic_v1 import BaseModel
21
22
from nemoguardrails import RailsConfig
22
23
from nemoguardrails .integrations .langchain .runnable_rails import RunnableRails
23
24
24
- from ingest import retriever
25
-
26
25
llm = ChatNVIDIA (
27
26
model = "meta/llama-3.1-70b-instruct" ,
28
27
temperature = 0 ,
@@ -64,7 +63,7 @@ class Question(BaseModel):
64
63
chain_with_llamaguard = chain_with_llamaguard .with_types (input_type = Question )
65
64
66
65
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."
68
67
)
69
68
question = input ("How can I help you today? \n \n " )
70
69
print ("\n " )
You can’t perform that action at this time.
0 commit comments