Skip to content
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

Cannot get it working - tried for a day - sorry - looking for logs or ways to try to work out how to get it going. #78

Open
eai-douglaswross opened this issue Feb 12, 2025 · 0 comments

Comments

@eai-douglaswross
Copy link

eai-douglaswross commented Feb 12, 2025

  1. Have used the other MS RAG repo for years, so normally can get things going.
  2. Installed everything and it worked.
  3. On either localhost or on azure endpoint, the website comes up, however when push button to talk, say Hello - nothing happens.
  4. Looking at console logs and network, see attached - not sure of it is at the browser that I cannot get started, however nothing seems to be sent or received.
    Questions
  • On Env variables should the endpoint be wss:// or https:// - the install creates https:// for ai endpoint, however in the readme it is wss:??
  • On Env variables - have added the API keys for openai and for ai search, to see if it was a security issue??
  • Is there anything I can debug in browser or in python to see any movement, any tips, as I cannot see to get past the first click where the conversation animation starts, but nothing happens.
  • Are there any logs that I can access that can really help me at this stage - the console on the browser says nothing other than a websocket is opened and then after a while something times out (maybe on the openai endpoint side), and it cannot connect until the page is refreshed. Is there any other logs that I can turn on to help me understand how to get it going?
  • Have attached a modified env file, and network from browser

AZURE_CONTAINER_REGISTRY_ENDPOINT=“.azurecr.io"
AZURE_ENV_NAME=""
AZURE_LOCATION="uksouth"
AZURE_OPENAI_EMBEDDING_DEPLOYMENT="text-embedding-3-large"
AZURE_OPENAI_EMBEDDING_MODEL="text-embedding-3-large"
AZURE_OPENAI_ENDPOINT="https://cog-.openai.azure.com/"
AZURE_OPENAI_REALTIME_DEPLOYMENT="gpt-4o-realtime-preview"
AZURE_OPENAI_REALTIME_VOICE_CHOICE="alloy"
AZURE_RESOURCE_GROUP=""
AZURE_SEARCH_CONTENT_FIELD="chunk"
AZURE_SEARCH_EMBEDDING_FIELD="text_vector"
AZURE_SEARCH_ENDPOINT="https://gptkb-.search.windows.net"
AZURE_SEARCH_IDENTIFIER_FIELD="chunk_id"
AZURE_SEARCH_INDEX="voicerag-intvect"
AZURE_SEARCH_SEMANTIC_CONFIGURATION="default"
AZURE_SEARCH_TITLE_FIELD="title"
AZURE_SEARCH_USE_VECTOR_QUERY="true"
AZURE_STORAGE_ACCOUNT="sttg"
AZURE_STORAGE_CONNECTION_STRING="ResourceId=/subscriptions//resourceGroups//providers/Microsoft.Storage/storageAccounts/"
AZURE_STORAGE_CONTAINER="content"
AZURE_STORAGE_ENDPOINT="https://sttg.blob.core.windows.net"
AZURE_STORAGE_RESOURCE_GROUP="rg-dougdemouk"
AZURE_SUBSCRIPTION_ID=""
AZURE_TENANT_ID=""
BACKEND_URI="https://capps-backend-.uksouth.azurecontainerapps.io"
SERVICE_BACKEND_IMAGE_NAME=".azurecr.io/aisearch-openai-rag-audio/backend-dougdemouk:azd-deploy-1739306154"
SERVICE_BACKEND_RESOURCE_EXISTS="false"
AZURE_OPENAI_API_KEY=""
AZURE_SEARCH_API_KEY=""

The one console error seems to be coming from an extension, not an issue I believe.

Image
@eai-douglaswross eai-douglaswross changed the title Cannot get it working - tried for a day - sorry Cannot get it working - tried for a day - sorry - looking for logs or ways to try to work out how to get it going. Feb 12, 2025
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

No branches or pull requests

1 participant