Skip to content

Instantly share code, notes, and snippets.

View aktech's full-sized avatar
🏠

Amit Kumar aktech

🏠
View GitHub Profile
@aktech
aktech / chunking.md
Last active March 18, 2025 13:51
chunking issue
Step Type Tool Call ID Chunk
0 - human - Chunk 1 - 1 message
4 - ai toolu_01SwrCizJFp6FWsXEeeKi8pH Chunk 2 - 1 message
0 - subgraph_run:20d8271c-c78a-87a4-a940-35532bd93068 system - Chunk 3 - 1 message
4 - subgraph_run:20d8271c-c78a-87a4-a940-35532bd93068 ai call_rohnIlJv1VwX91zmMpohb8S0 Chunk 4 - 7 messages
5 - subgraph_run:20d8271c-c78a-87a4-a940-35532bd93068 tool call_rohnIlJv1VwX91zmMpohb8S0 Chunk 4 - 7 messages
6 - subgraph_run:20d8271c-c78a-87a4-a940-35532bd93068 ai call_cDsV4RqzPOaBRHlPiaZIWh15 Chunk 4 - 7
@aktech
aktech / talks.md
Created February 27, 2025 15:30
Pycon DE 2025 Talks

Here's the complete list of talks from PyCon DE 2025:

Talk Title Speaker Track
Streaming at 30,000 Feet: A Real-Time Journey from APIs to Stream Processing Felix Leon Buck Programming & Software Engineering
Building Bare-Bones Game Physics in Rust with Python Integration Sam Kaveh Rust
Conquering PDFs: document understanding beyond plain text Ines Montani Natural Language Processing & Audio
Decoding Topics: A Comparative Analysis of Python's Leading Topic Modeling Libraries Dr. Lisa Andreevna Chalaguine Natural Language Processing & Audio
Django's Dilemma: Balancing Simplicity with Scalability Anette Haferkorn Django & Web
Using Causal thinking to make Media Mix Modeling Carlos Trujillo PyData & Scientific Libraries Stack
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKFvWoQGC+lwSEcWy0XdMALCAqzD6dbC9sVKbE89QdJy horse@aktech
@aktech
aktech / ActiveCellChangeEvent.json
Created November 13, 2023 16:58
jupyterlab-pioneer sample event
{
"eventDetail": {
"eventName": "ActiveCellChangeEvent",
"eventTime": 1699894451772,
"eventInfo": {
"cells": [
{
"id": "3d5a4322-0229-4d8c-86a3-b4302ecd2e1b",
"index": 0
}
@aktech
aktech / .setup_info
Created October 6, 2023 02:03
.setup_info
[
{
"group": "Cirun TOS",
"detail": "Self Hosted Runners via Cirun.io"
},
{
"group": "Conda Forge TOS",
"detail": "You Accept the following TOS"
}
]
@aktech
aktech / cdao.svg
Created September 28, 2023 13:27
cdao.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aktech
aktech / panel_tailwind_button.py
Created August 17, 2023 15:44
Holoviz Panel Tailwind Button
import panel as pn
import param
class CustomButton(pn.reactive.ReactiveHTML):
clicks = param.Integer()
_template = """\
<div id="pn-container" style="height:100%;width:100%">
<button id="button" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"
@aktech
aktech / delhi-geojson.json
Created March 17, 2023 01:04
delhi-geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aktech
aktech / timer.py
Created December 6, 2022 23:25
timer
import time
import logging
def timer(func):
def inner(*args, **kwargs):
start = time.time()
rv = func(*args, **kwargs)
logger.info(f"Time taken to execute {func}: {time.time() - start}")
return rv