-
Notifications
You must be signed in to change notification settings - Fork 3
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
Working #29
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renamed: OpenAI/GPT-Prompt-Examples/Daethyra_Custom-Instruction_GPT4.md -> OpenAI/GPT-Prompt-Examples/MS-6_Daethyra_Custom-Instruction_GPT4.md modified: Project TODO List.md modified: README.md
By continually updating this repository as a codebase and conglomeration of documentation, it may serve as a `git clone`able neuron for machine learning models. renamed: OpenAI/GPT-Prompt-Examples/ChatGPT_reference_chatlogs/links.txt -> .archive/ChatGPT_reference_chatlogs/links.txt renamed: OpenAI/GPT-Prompt-Examples/ChatGPT_reference_chatlogs/shorthand-prompts.txt -> .archive/ChatGPT_reference_chatlogs/shorthand-prompts.txt modified: README.md renamed: Project TODO List.md -> todo.md
new file: HuggingFace/audio_transcription/at1.py new file: HuggingFace/audio_transcription/requirements.txt
new file: .github/.gitignore new file: HuggingFace/audio_transcription/MicrophoneTranscription/__init__.py new file: HuggingFace/audio_transcription/MicrophoneTranscription/requirements.txt renamed: HuggingFace/audio_transcription/at1.py -> HuggingFace/audio_transcription/MicrophoneTranscription/transcribe_microphone.py new file: HuggingFace/audio_transcription/__pycache__/at1.cpython-38.pyc deleted: HuggingFace/audio_transcription/requirements.txt new file: HuggingFace/audio_transcription/test/__init__.py new file: HuggingFace/audio_transcription/test/test_at1.py modified: LangChain/Retrieval-Agents/qa_local_docs.py modified: LangChain/Retrieval-Agents/stateful_chatbot.py
modified: OpenAI/Auto-Embedder/pinembed.py
Use type hints for function arguments and return values to improve code readability and maintainability: The code uses type hints for function arguments and return values throughout the file. Use async with to manage resources like pinecone.Index and openai.Embedding to ensure that they are properly cleaned up after use: The code uses async with to manage resources like pinecone.Index and openai.Embedding to ensure that they are properly cleaned up after use. Use asyncio.gather to run tasks concurrently instead of using a for loop to create tasks and then awaiting them one by one: The code uses asyncio.gather to run tasks concurrently instead of using a for loop to create tasks and then awaiting them one by one. Use asyncio.sleep to avoid hitting rate limits when making API requests: The code uses asyncio.sleep to avoid hitting rate limits when making API requests. Use a logger to log errors and other important information instead of printing to the console: The code uses a logger to log errors and other important information instead of printing to the console. Use os.path.join to join file paths instead of using string concatenation: The code uses os.path.join to join file paths instead of using string concatenation. Use os.path.isfile to check if a file exists instead of using a try-except block: The code uses os.path.isfile to check if a file exists instead of using a try-except block. Use os.scandir instead of os.listdir to get a list of files in a directory as it is faster and returns an iterator instead of a list: The code uses os.scandir instead of os.listdir to get a list of files in a directory as it is faster and returns an iterator instead of a list. Use asyncio.to_thread to run blocking I/O operations in a separate thread to avoid blocking the event loop: The code uses asyncio.to_thread to run blocking I/O operations in a separate thread to avoid blocking the event loop. Use asyncio.shield to prevent tasks from being cancelled when the main task is cancelled: The code uses asyncio.shield to prevent tasks from being cancelled when the main task is cancelled. Use asyncio.create_task to create tasks instead of asyncio.ensure_future as it is more efficient: The code uses asyncio.create_task to create tasks instead of asyncio.ensure_future as it is more efficient. Use asyncio.wait_for to set a timeout for tasks that may take a long time to complete: The code uses asyncio.wait_for to set a timeout for tasks that may take a long time to complete. Use asyncio.Lock to prevent multiple tasks from accessing a shared resource at the same time: The code uses asyncio.Lock to prevent multiple tasks from accessing a shared resource at the same time. Use asyncio.Queue to pass data between tasks instead of using global variables: The code uses asyncio.Queue to pass data between tasks instead of using global variables. Use asyncio.Event to signal when a task has completed instead of using a global variable: The code uses asyncio.Event to signal when a task has completed instead of using a global variable.
modified: OpenAI/Auto-Embedder/test.py
modified: HuggingFace/audio_transcription/MicrophoneTranscription/transcribe_microphone.py
new file: HuggingFace/audio_transcription/MicrophoneTranscription/run.py modified: HuggingFace/audio_transcription/MicrophoneTranscription/transcribe_microphone.py
Daethyra
added
Documentation
Adds/Edits documentation
Feature/Functionality
Feature suggestion or Functionality request
Big Update
labels
Oct 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Documentation
Adds/Edits documentation
Feature/Functionality
Feature suggestion or Functionality request
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.