├── .deployment ├── .env.template ├── .funcignore ├── .gitignore ├── .vscode ├── extensions.json ├── launch.json ├── settings.json └── tasks.json ├── AzCogSearchDocCrackingFunc ├── __init__.py ├── function.json └── sample.dat ├── AzureOpenAIandPVAbot.pdf ├── BotQnAHTTPFunc ├── __init__.py ├── function.json └── sample.dat ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── SECURITY.md ├── SUPPORT.md ├── ServiceBusQueueNewDocument ├── __init__.py ├── function.json └── sample.dat ├── WISHLIST.md ├── app.py ├── experiment.ipynb ├── host.json ├── images ├── agent-arch.jpg ├── azure.jpg ├── chatbot.jpg ├── copyfuncurl.jpg ├── copyoutputs.jpg ├── custom_skill.jpg ├── depl-outputs.jpg ├── first_req.jpg ├── firstquery.jpg ├── funcdeploy.jpg ├── km-openai v2.jpg ├── km-openai.png ├── local_settings.jpg ├── midjourney.png ├── oai_deployments.jpg ├── openaichoice.jpg ├── openaifuncapp.jpg ├── postman.jpg ├── prompt_choice.png ├── redis.jpg ├── redischoice.jpg ├── run_ingest.jpg ├── search_params.jpg ├── sec_req.jpg ├── sem_search.jpg ├── stream-client.jpg ├── subs_conv.jpg └── suffix.jpg ├── kb_docs_samples ├── Dubai Brochure.pdf ├── Las Vegas Brochure.pdf ├── London Brochure.pdf ├── Margies Travel Company Info.pdf ├── New York Brochure.pdf ├── San Francisco Brochure.pdf └── olympics_sections_text.csv ├── local.settings.json ├── redis.yml ├── requirements.txt ├── static ├── index.html ├── index_old.html ├── script.js └── styles.css ├── template.json └── utils ├── bot_helpers.py ├── cogsearch_helpers.py ├── cogvecsearch_helpers ├── cogsearch_vecstore.py └── cs_json.py ├── cosmos_helpers.py ├── cv_helpers.py ├── env_vars.py ├── fr_helpers.py ├── helpers.py ├── http_helpers.py ├── kb_doc.py ├── km_agents.py ├── langchain_helpers ├── mod_agent.py ├── mod_ccr_prompt.py ├── mod_react_prompt.py ├── mod_wiki_prompt.py ├── oai_fc_agent.py ├── oldschoolsearch.py ├── simple_prompt.py └── streaming_handler.py ├── language.py ├── openai_helpers.py ├── redis_helpers.py ├── storage.py ├── summarization.py └── web_crawler.py /.deployment: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/.deployment -------------------------------------------------------------------------------- /.env.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/.env.template -------------------------------------------------------------------------------- /.funcignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/.funcignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /AzCogSearchDocCrackingFunc/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/AzCogSearchDocCrackingFunc/__init__.py -------------------------------------------------------------------------------- /AzCogSearchDocCrackingFunc/function.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/AzCogSearchDocCrackingFunc/function.json -------------------------------------------------------------------------------- /AzCogSearchDocCrackingFunc/sample.dat: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Azure" 3 | } -------------------------------------------------------------------------------- /AzureOpenAIandPVAbot.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/AzureOpenAIandPVAbot.pdf -------------------------------------------------------------------------------- /BotQnAHTTPFunc/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/BotQnAHTTPFunc/__init__.py -------------------------------------------------------------------------------- /BotQnAHTTPFunc/function.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/BotQnAHTTPFunc/function.json -------------------------------------------------------------------------------- /BotQnAHTTPFunc/sample.dat: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Azure" 3 | } -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/SECURITY.md -------------------------------------------------------------------------------- /SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/SUPPORT.md -------------------------------------------------------------------------------- /ServiceBusQueueNewDocument/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/ServiceBusQueueNewDocument/__init__.py -------------------------------------------------------------------------------- /ServiceBusQueueNewDocument/function.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/ServiceBusQueueNewDocument/function.json -------------------------------------------------------------------------------- /ServiceBusQueueNewDocument/sample.dat: -------------------------------------------------------------------------------- 1 | Service Bus Message -------------------------------------------------------------------------------- /WISHLIST.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/WISHLIST.md -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/app.py -------------------------------------------------------------------------------- /experiment.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/experiment.ipynb -------------------------------------------------------------------------------- /host.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/host.json -------------------------------------------------------------------------------- /images/agent-arch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/agent-arch.jpg -------------------------------------------------------------------------------- /images/azure.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/azure.jpg -------------------------------------------------------------------------------- /images/chatbot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/chatbot.jpg -------------------------------------------------------------------------------- /images/copyfuncurl.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/copyfuncurl.jpg -------------------------------------------------------------------------------- /images/copyoutputs.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/copyoutputs.jpg -------------------------------------------------------------------------------- /images/custom_skill.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/custom_skill.jpg -------------------------------------------------------------------------------- /images/depl-outputs.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/depl-outputs.jpg -------------------------------------------------------------------------------- /images/first_req.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/first_req.jpg -------------------------------------------------------------------------------- /images/firstquery.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/firstquery.jpg -------------------------------------------------------------------------------- /images/funcdeploy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/funcdeploy.jpg -------------------------------------------------------------------------------- /images/km-openai v2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/km-openai v2.jpg -------------------------------------------------------------------------------- /images/km-openai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/km-openai.png -------------------------------------------------------------------------------- /images/local_settings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/local_settings.jpg -------------------------------------------------------------------------------- /images/midjourney.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/midjourney.png -------------------------------------------------------------------------------- /images/oai_deployments.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/oai_deployments.jpg -------------------------------------------------------------------------------- /images/openaichoice.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/openaichoice.jpg -------------------------------------------------------------------------------- /images/openaifuncapp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/openaifuncapp.jpg -------------------------------------------------------------------------------- /images/postman.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/postman.jpg -------------------------------------------------------------------------------- /images/prompt_choice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/prompt_choice.png -------------------------------------------------------------------------------- /images/redis.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/redis.jpg -------------------------------------------------------------------------------- /images/redischoice.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/redischoice.jpg -------------------------------------------------------------------------------- /images/run_ingest.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/run_ingest.jpg -------------------------------------------------------------------------------- /images/search_params.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/search_params.jpg -------------------------------------------------------------------------------- /images/sec_req.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/sec_req.jpg -------------------------------------------------------------------------------- /images/sem_search.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/sem_search.jpg -------------------------------------------------------------------------------- /images/stream-client.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/stream-client.jpg -------------------------------------------------------------------------------- /images/subs_conv.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/subs_conv.jpg -------------------------------------------------------------------------------- /images/suffix.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/images/suffix.jpg -------------------------------------------------------------------------------- /kb_docs_samples/Dubai Brochure.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/kb_docs_samples/Dubai Brochure.pdf -------------------------------------------------------------------------------- /kb_docs_samples/Las Vegas Brochure.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/kb_docs_samples/Las Vegas Brochure.pdf -------------------------------------------------------------------------------- /kb_docs_samples/London Brochure.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/kb_docs_samples/London Brochure.pdf -------------------------------------------------------------------------------- /kb_docs_samples/Margies Travel Company Info.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/kb_docs_samples/Margies Travel Company Info.pdf -------------------------------------------------------------------------------- /kb_docs_samples/New York Brochure.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/kb_docs_samples/New York Brochure.pdf -------------------------------------------------------------------------------- /kb_docs_samples/San Francisco Brochure.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/kb_docs_samples/San Francisco Brochure.pdf -------------------------------------------------------------------------------- /kb_docs_samples/olympics_sections_text.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/kb_docs_samples/olympics_sections_text.csv -------------------------------------------------------------------------------- /local.settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/local.settings.json -------------------------------------------------------------------------------- /redis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/redis.yml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/requirements.txt -------------------------------------------------------------------------------- /static/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/static/index.html -------------------------------------------------------------------------------- /static/index_old.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/static/index_old.html -------------------------------------------------------------------------------- /static/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/static/script.js -------------------------------------------------------------------------------- /static/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/static/styles.css -------------------------------------------------------------------------------- /template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/template.json -------------------------------------------------------------------------------- /utils/bot_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/bot_helpers.py -------------------------------------------------------------------------------- /utils/cogsearch_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/cogsearch_helpers.py -------------------------------------------------------------------------------- /utils/cogvecsearch_helpers/cogsearch_vecstore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/cogvecsearch_helpers/cogsearch_vecstore.py -------------------------------------------------------------------------------- /utils/cogvecsearch_helpers/cs_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/cogvecsearch_helpers/cs_json.py -------------------------------------------------------------------------------- /utils/cosmos_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/cosmos_helpers.py -------------------------------------------------------------------------------- /utils/cv_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/cv_helpers.py -------------------------------------------------------------------------------- /utils/env_vars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/env_vars.py -------------------------------------------------------------------------------- /utils/fr_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/fr_helpers.py -------------------------------------------------------------------------------- /utils/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/helpers.py -------------------------------------------------------------------------------- /utils/http_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/http_helpers.py -------------------------------------------------------------------------------- /utils/kb_doc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/kb_doc.py -------------------------------------------------------------------------------- /utils/km_agents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/km_agents.py -------------------------------------------------------------------------------- /utils/langchain_helpers/mod_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/langchain_helpers/mod_agent.py -------------------------------------------------------------------------------- /utils/langchain_helpers/mod_ccr_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/langchain_helpers/mod_ccr_prompt.py -------------------------------------------------------------------------------- /utils/langchain_helpers/mod_react_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/langchain_helpers/mod_react_prompt.py -------------------------------------------------------------------------------- /utils/langchain_helpers/mod_wiki_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/langchain_helpers/mod_wiki_prompt.py -------------------------------------------------------------------------------- /utils/langchain_helpers/oai_fc_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/langchain_helpers/oai_fc_agent.py -------------------------------------------------------------------------------- /utils/langchain_helpers/oldschoolsearch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/langchain_helpers/oldschoolsearch.py -------------------------------------------------------------------------------- /utils/langchain_helpers/simple_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/langchain_helpers/simple_prompt.py -------------------------------------------------------------------------------- /utils/langchain_helpers/streaming_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/langchain_helpers/streaming_handler.py -------------------------------------------------------------------------------- /utils/language.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/language.py -------------------------------------------------------------------------------- /utils/openai_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/openai_helpers.py -------------------------------------------------------------------------------- /utils/redis_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/redis_helpers.py -------------------------------------------------------------------------------- /utils/storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/storage.py -------------------------------------------------------------------------------- /utils/summarization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/summarization.py -------------------------------------------------------------------------------- /utils/web_crawler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samelhousseini/km-openai/HEAD/utils/web_crawler.py --------------------------------------------------------------------------------