Skip to content

Adding Memory Feature #380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: DoNotDelete-psl-pk-aiagentsearch
Choose a base branch
from

Conversation

marlenezw
Copy link

Code to add memory feature to this sample

AGENT_INSTRUCTIONS = '''You are a helpful assistant.
You have three tools available to you:
1. Azure AI Search: You can use this tool to search for memories in the knowledge base.
3. Chat with Data: You can use this tool to chat with data and get answers to questions.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the 2nd tool?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No second tool. Will update, thanks


def __init__(self):
config = Config()
self.azure_openai_endpoint = config.azure_openai_endpoint
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are all of these existing resources, or did any new resources need to be provisioned?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the resources are still the same but just need to change the container so that my local changes reflect :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants