Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.4%) to scientific vocabulary
Keywords
Repository
"Generative AI in Action" book's code repository
Basic Info
- Host: GitHub
- Owner: bahree
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://www.manning.com/books/generative-ai-in-action
- Size: 208 MB
Statistics
- Stars: 100
- Watchers: 4
- Forks: 52
- Open Issues: 3
- Releases: 0
Topics
Metadata Files
README.md
Book - Generative AI in Action
Welcome to the code repo associated with my book Generative AI in Action, published by Manning.
Note: The book is also available on Amazon.

This repo has a few things that might be of interest: * Code from the different examples in the book. * List of research papers associated with different AI technology and techniques. * A Web application you can run locally brings many of these concepts together. * Detailed instructions for getting dependencies installed locally.
| :warning: Warning: OpenAI API Breaking Changes |
| --- |
The book's code works with the new API (v1.0) that OpenAI recently updated. If you have an old package version (v0.28), upgrade to the latest version for the code to work. To upgrade the package, you can run the following command: pip install --upgrade openai. If you are using conda, you can run the command: conda update openai.
Core dependencies :minidisc:
Before we start installation instructions, as outlined in the book, we assume you have installed the following basic dependencies. For most developers and data scientists, these would already be in place, and there might not be any additional steps needed.
Note: If any of these are missing and need step-by-step instructions, see detailed dependency installation instructions.
* IDE: Visual Studio Code (or similar) .
* Python: Version 3.7.1 or later; we use version 3.11.3 for the book.
* To check the Python version installed, run: python --version
* Package manager: Although technically a package manager is not needed, it would make things much easier to maintain. We use conda for the book, but you can use any you prefer.
* Git: Given we are using GitHub, you need Git installed locally.
Installation instructions :books:
The steps to get the environment up and running can be found in the installation instructions.
Where is the Code? :file_folder:
The book's code is organized by chapters as expected and is in the folder called chapters. You will find a folder for each chapter following the convention of ch{chapter-number}.
You can find some utility functions and programs in the utils folder.
Web Application :earth_americas:
In addition to the code from the chapter, a fully functional web application brings all the different constructs together in an easy-to-navigate web application that you can run locally. The code for this can be found in the webapp folder. :panda_face:
Note: :information_source: The web application is meant only as a reference to run locally and not exposed to the internet. It does not have all the necessary proxies and controls one would build when exposing an application to the internet.
Papers :pagefacingup:
LLM and Generative AI are still quite new, and as a result, there is a fascinating list of very active research. You can find a pointer to many of these in the paper folder . These are organized by Chapter to help you navigate.
The reader is not expected to know these but as with most things, it is always good to go deeper and grok some of these concepts for a better and fuller understanding.
Contact
You can see my GitHub profile for different ways to get in touch. If there are any questions, or issues, please submit an Issue.
License
The work as part of this repo is shared under MIT License. In summary, this is a short and simple permissive license with conditions only requiring the preservation of copyright and license notices. Licensed, modified, and larger works may be distributed under different terms and without source code.
Owner
- Name: Amit Bahree
- Login: bahree
- Kind: user
- Location: Seattle
- Company: @microsoft
- Website: https://www.desigeek.com
- Twitter: bahree
- Repositories: 76
- Profile: https://github.com/bahree
Building #AI services and products as part of @Azure #AI Platform at @microsoft - Cognitive Services, #OpenAI, #GPT4, #Copilot, and AML.
GitHub Events
Total
- Watch event: 64
- Push event: 1
- Fork event: 33
Last Year
- Watch event: 64
- Push event: 1
- Fork event: 33
Committers
Last synced: 6 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Amit Bahree | g****b@d****m | 34 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 10
- Average time to close issues: N/A
- Average time to close pull requests: about 24 hours
- Total issue authors: 0
- Total pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.3
- Merged pull requests: 6
- Bot issues: 0
- Bot pull requests: 4
Past Year
- Issues: 0
- Pull requests: 4
- Average time to close issues: N/A
- Average time to close pull requests: 1 minute
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- bahree (12)
- dependabot[bot] (7)