You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I modified the Dsyp document signature string in the code to be dynamically set from the front-end page, but it seems not to take effect if I don't restart. Is this because Dsyp is dynamically compiled, causing this issue? How can I solve this problem?
The text was updated successfully, but these errors were encountered:
Sounds like an issue with how DSPy handles the signature strings. I believe you want to use the .with_instructions() function rather than editing the docstring directly.
I need to pass the signature from the front-end page, because you specify Wikipedia, if it is another platform the signature will change, and some code will change where it fetches data from the page. My problem now is that after I change the signature, I need to dynamically compile DSPy as if the signature set up will be changed, this is a very distressing thing, the way I think of at present is to open a new process, that is, the first one did not close, opened a new web page, how to solve this problem from a new start, have a big god know how to solve it
I modified the Dsyp document signature string in the code to be dynamically set from the front-end page, but it seems not to take effect if I don't restart. Is this because Dsyp is dynamically compiled, causing this issue? How can I solve this problem?
The text was updated successfully, but these errors were encountered: