Custom App not working as expected. #2081
-
I was trying to create a custom app, the app is getting created, but after giving & structuring all the input placeholders, I am not getting any result. Adding screenshot and code for reference. default_prompt = """System: <|begin_of_text|><|start_header_id|>user<|end_header_id|> {instructions} DDL statements: <|eot_id|><|start_header_id|>assistant<|end_header_id|> ===Additional Context {sample_rows} Human: ### SQL
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
this is the response |
Beta Was this translation helpful? Give feedback.
-
Hey @Arshil-Akkala I have created a simplified version of your example. I basically removed all the LLM functionality and focused on the agenta part:
This worked fine in my setup ( Can you please try first doing the same. Returning a constant string instead of the LLM output to determine whether the interface created by agenta works correctly. If it does not, please let me know your setup (version of CLI + OSS or CLOUD / version). Also, please try updating any if out of date. In case the simple version works fine. The issue is in the llm call. What I would do is removing the function argument and using instead constants then using the application within the terminal to debug it ( running Let me know if this helps and if you find a solution. |
Beta Was this translation helpful? Give feedback.
-
Hey @mmabrouk , thanks for reaching out. I did try it out with a simple setup. So, my
|
Beta Was this translation helpful? Give feedback.
I think you are using a deprecated version with a new version from the CLI. The two versions are incompatible. You need to update the self-hosted version. You can do this the following way:
This should resolve the problem. However note, that you might need to run migrations depending on the versions you were using. (see migrations to postgres and migrations).