Spaces:
Runtime error
Runtime error
Commit
·
b4e8d18
1
Parent(s):
3f81762
add lllmchain test
Browse files
app.py
CHANGED
@@ -701,6 +701,8 @@ agent_ZEROSHOT_REACT_2 = initialize_agent(tools2, GPTfake,
|
|
701 |
llm_chain = LLMChain(llm=llm, prompt=prompt)
|
702 |
llm_chain_2 = LLMChain(llm=GPTfake, prompt=prompt)
|
703 |
|
|
|
|
|
704 |
# llm_chain_openai = LLMChain(llm=llm, prompt=prompt_openai, verbose=True)
|
705 |
|
706 |
agent_core = ZeroShotAgent(llm_chain=llm_chain, tools=tools2, verbose=True)
|
|
|
701 |
llm_chain = LLMChain(llm=llm, prompt=prompt)
|
702 |
llm_chain_2 = LLMChain(llm=GPTfake, prompt=prompt)
|
703 |
|
704 |
+
print("Test LLM Chain", llm_chain_2("what is PDP?"))
|
705 |
+
|
706 |
# llm_chain_openai = LLMChain(llm=llm, prompt=prompt_openai, verbose=True)
|
707 |
|
708 |
agent_core = ZeroShotAgent(llm_chain=llm_chain, tools=tools2, verbose=True)
|