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
To add usefulness to functions:
I think you can redact function responses in future questions as only the query/response is really important for context. If the AI needs to know the same thing again it can ask again. (this will limit context window and cut down costs).
It's useful to know if a query is "related" to another query (in the same user context) and if so add previous history otherwise start with 0 history. A semantic lookup on the query/response can be done here at a high threshold. At worsed case you may need to pass the previous response in a secondary check to ensure user is not inferring to the previous response in an ambiguous way.
The text was updated successfully, but these errors were encountered:
Bug:
shouldn't https://github.com/aurelio-labs/funkagent/blob/main/funkagent/agents.py#L82 be role 'function' not 'assistant'? This will help the model from not calling the function again with the same query. You expressed this worry on the video and probably this is why it happens.
To add usefulness to functions:
I think you can redact function responses in future questions as only the query/response is really important for context. If the AI needs to know the same thing again it can ask again. (this will limit context window and cut down costs).
It's useful to know if a query is "related" to another query (in the same user context) and if so add previous history otherwise start with 0 history. A semantic lookup on the query/response can be done here at a high threshold. At worsed case you may need to pass the previous response in a secondary check to ensure user is not inferring to the previous response in an ambiguous way.
The text was updated successfully, but these errors were encountered: