BotFramework-Emulator
askai
BotFramework-Emulator | askai | |
---|---|---|
5 | 1,756 | |
1,781 | 86 | |
1.1% | - | |
4.2 | 10.0 | |
8 days ago | over 1 year ago | |
TypeScript | TypeScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
BotFramework-Emulator
-
🎵 Do you want to build a Chatbot? 🎵
One of the really interesting things about chatbots on Azure is the Bot Framework Emulator tool that lets you test a chatbot locally and get detailed information about the request the bot received and the response the bot generated.
-
Azure Functions bot | PowerShell
I am using the Azure Bot Emulator to test (which is the chat client by the way!) Ref: https://github.com/Microsoft/BotFramework-Emulator
-
How to: Save conversation data in an Microsoft Chatbot
Also feel free to check out the repo if you want to try it yourself. The link is here: https://github.com/Albert-Bennett/state-management-chatbot You'll also need to download the bot framework emulator v4 to get the bot running locally.
-
Easiest way to create a ChatBOT from Level 0
Download the emulator from this link if you don't have it yet (or from google or any place you like) https://github.com/Microsoft/BotFramework-Emulator/releases/tag/v4.14.0
-
How to: Adaptive Cards and the MS Bot Framework
Testing the bot for yourself: To test the bot out yourself you'll need to download the code and also install the latest version of the Bot Framework Emulator (you can find it here). This will allow you to test the bot over web chat. It's a straight forward process just run the code and connect the bot. When connecting the bot, the url should look something like this: http://localhost:3978/api/messages this is the endpoint for requests to be sent to the bot.
askai
-
Website Optimization Using Strapi, Astro.js and OpenAI
We'll use several interesting technologies to achieve this: Strapi CMS to take care of the content management and backend, Astro which is a great new technology for quickly creating blazing fast frontend apps, and ChatGPT to provide the article summaries.
-
OpenAI Bought Chatgpt.com
I was confused why https://chat.openai.com suddenly redirects to https://chatgpt.com which results in connection refused. Turns out chatgpt.com is in many blocklists (e.g. Pi-Hole) due to it being a potentially unsafe Domain before OpenAI acquiring it. So heads up if you use Pi-Hole / AdGuard etc.!
- The ChatGPT URL have changed
- Chat.openai.com now redirects (me) to chatgpt.com
-
Unofficial ChatGPT API
This API allows you to interact with ChatGPT programmatically, and I've built some cool agents on top of it. Check out the code and let me know what you think! :
ChatGPT unofficial API :
This project is a Node.js application that interacts with the ChatGPT conversational AI model using Puppeteer, a Node.js library for automating web browsers.
Files chatgptv1.js: This file contains the main logic for the ChatGPT bot, including methods for initializing the browser, sending messages, receiving replies, and handling errors.
bart.js: This file contains a function that uses the Cloudflare API to summarize the conversation history when an error occurs, in order to resume the conversation.
twochatbotsconv.js: This file is simple use of the API , which creates two instances of the ChatGPT class, initiates a conversation between them, and saves the conversation history to a file.
.env: This file contains the API token for the Cloudflare API, which is used in the bart.js file.
Dependencies :
puppeteer: A Node.js library for automating web browsers. fs: The built-in file system module in Node.js. winston: A logging library for Node.js. crypto: The built-in cryptography module in Node.js. axios: A popular HTTP client library for Node.js. dotenv: A zero-dependency module that loads environment variables from a .env file.
Usage:
Install the dependencies by running npm install in your project directory. Create a .env file in the project directory and add your Cloudflare API token:
API_TOKEN=YourfreeCloudFlareAPIToken In your code, create a new instance of the ChatGPT class and use the sendMessage and getReply methods to interact with the ChatGPT model:
const ChatGPT = require('./chatgptv1');
const chatgpt = new ChatGPT(); await chatgpt.initializeBrowser();
await chatgpt.sendMessage('Hello, ChatGPT!'); const reply = await chatgpt.getReply(); console.log(reply);
await chatgpt.closeBrowser(); If an error occurs during the conversation, the handleError method will attempt to save the conversation history and resume the conversation using the summarized context.
Before Running :
run Google chrom in the debug mode using 9220 port , run : google-chrome-stable --remote-debugging-port=9222
Customization :
You can customize the behavior of the ChatGPT bot by passing options to the ChatGPT constructor:
chatbotUrl: The URL of the ChatGPT interface (default: 'https://chat.openai.com/'). headless: Whether to run the browser in headless mode (default: false). saveConversationCallback: A callback function that will be called with the conversation summary and the conversation file name when an error occurs.
License:
This project is licensed under the MIT License.
- It's a shame – chat.openai.com redirect to chatgpt.com is broken
-
Building a Basic Forex Rate Assistant Using Agents for Amazon Bedrock
After wrestling with it for a bit and eventually giving up, I instead turned to ChatGPT to see if it is smart enough for the task. With my free plan, I asked ChatGPT 3.5 the following:
- Learn to ask for help
-
How to build a custom GPT: Step-by-step tutorial
Go to chat.openai.com and log in
- Chat.openai.com no longer requires login
What are some alternatives?
botkit - Botkit is an open source developer tool for building chat bots, apps and custom integrations for major messaging platforms.
ChatGPT - 🔮 ChatGPT Desktop Application (Mac, Windows and Linux)
adaptive-card-bot - A bot created using MS bot framework that sends back an adaptive card as a response
gpt-4chan-model
matrix-bot-sdk - TypeScript/JavaScript SDK for Matrix bots
openai-cookbook - Examples and guides for using the OpenAI API
devhub - TweetDeck for GitHub - Filter Issues, Activities & Notifications - Web, Mobile & Desktop with 99% code sharing between them
ai-cli - Get answers for CLI commands from ChatGPT right from your terminal
thorium-reader - A cross platform desktop reading app, based on the Readium Desktop toolkit
KoboldAI-Client
browserosaurus - The browser prompter for macOS
civitai - A repository of models, textual inversions, and more