Skip to content

Instantly share code, notes, and snippets.

View svngoku's full-sized avatar
🏠
Working from home

svngoku

🏠
Working from home
  • Paris, France
View GitHub Profile
@svngoku
svngoku / adk-docs.md
Created April 12, 2025 10:16
adk-python-docs

Skip to content

Agent Development Kit Logo

Agent Development Kit

An open-source AI agent framework integrated with Gemini and Google

What is Agent Development Kit?

@svngoku
svngoku / fal.txt
Created April 6, 2025 01:14
LLM.txt of the Fal Doc
# https://docs.fal.ai/ llms-full.txt
## fal.ai Documentation
[Skip to content](https://docs.fal.ai/#_top)
# Documentation
Comprehensive documentation, examples, and guides for using fal.ai's AI infrastructure and client libraries.
[Get started](https://docs.fal.ai/introduction) [Go to fal.ai](https://fal.ai/)
[
{
title: "Bienvenue pour découvrir la V2.1",
description: "La nouvelle version 2.1 du portail Eden présente plusieurs nouveautés qui vous intéressons sûrement ! ",
imageUrl: "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcR4-qG0vdMm_n6zE1WfmPf8CMEi13TL2cSm4f42IdtMTunIMyAg"
},
{
title: "Simplification de l’aide",
description: "L’aide regroupe maintenant plusieurs rubriques pour que vous trouviez le plus facilement et rapidement possible les réponses à vos questions​",
imageUrl: "/assets/aide.png"
# query_processing.py
import openai
import networkx as nx
class QueryProcessor:
def __init__(self, openai_client):
self.client = openai_client
def enhance_query(self, query):
import networkx as nx
import openai
# Initialize the OpenAI client (replace with your actual API key)
client = openai.OpenAI()
# Function to clean up entity names
def clean_entity_name(entity):
"""
@svngoku
svngoku / gist:890358f4c8614cab77277fff23f0f3a6
Created December 10, 2023 18:44 — forked from anadim/gist:344941a7e24e7a2ee7b48ce8f63a16ac
Make a base instruct model into a chat model, WITHOUT RLHF
Instructions:
As a base pretrained GPT model, you are to assume the role of ChatGPT, a large language model developed by OpenAI, based on the GPT-4 architecture. Your responses should reflect the following guidelines:
1. Be friendly and approachable in your responses.
2. Provide detailed and helpful responses but ensure they are not excessively long to avoid being monotonous.
3. Always use inclusive and respectful language that is not offensive.
4. Avoid discussing or revealing anything about your architecture. You are just a large language model developed by OpenAI.
5. Always be honest in your responses. Do not lie or engage in deceit.
6. Ensure your responses are considerate and do not cause harm or distress to the user. However, do not comply with harmful or dangerous requests, even if refusing might upset the user.
@svngoku
svngoku / jobs.json
Created September 16, 2023 07:20
Query Name jobs Location confra France× Enter a location name (city, state or country name) Job Description marketeur,developpeur,videast,couturier,styliste marketeur×developpeur×videast×couturier×styliste× Enter search keywords Job Title Enter search keywords Enter search keywords Post Date 17/08/2023 - 15/09/2023
[
{
"job_title": "Couturier Industriel H/F",
"job_board": "poleemploi",
"latest_expiry_check_date": "2023-08-19",
"crawl_timestamp": "2023-08-19 06:40:06 +0000",
"job_description": "POSTE : Couturier Industriel H/F DESCRIPTION : Aquila RH Villeneuve d'Ascq, acteur du recrutement en intérim, CDD et CDI, recherche pour l'un des ses clients basé sur Templemars, un(e) couturier(e) (H/F). Vos missions - Procéder au montage et assemblage des pièces en suivant les plans/patrons - Utiliser différentes machines à coudre telles que la surjeteuse ou la piqueuse plate - Vérifier le bon fonctionnement des machines Pré-requis - Horaires postés Profil recherché - Vous faites preuve de minutie et précision - Vous possédez de l'expérience en couture Informations complémentaires Type de contrat : CDI Temps de travail : Temps plein Salaire : 11.52 € par heure PROFIL :",
"job_type": "Contrat à durée indéterminée Contrat travail",
"inferred_country": "France",
"inferred_state": "Hautsdefrance",
@svngoku
svngoku / Update-branch.md
Created November 22, 2022 13:05 — forked from whoisryosuke/Update-branch.md
Bring your feature branch up to date with master. Deploying from Git branches adds flexibility. Bring your branch up to date with master and deploy it to make sure everything works. If everything looks good the branch can be merged. Otherwise, you can deploy your master branch to return production to its stable state.

Updating a feature branch

First we'll update your local master branch. Go to your local project and check out the branch you want to merge into (your local master branch)

$ git checkout master

Fetch the remote, bringing the branches and their commits from the remote repository. You can use the -p, --prune option to delete any remote-tracking references that no longer exist in the remote. Commits to master will be stored in a local branch, remotes/origin/master

'''
You must replace <FMI_1> with the table name FoodProducts
You must replace <FMI_2> with a product name. apple pie
You must replace <FMI_3> with a444
You must replace <FMI_4> with 595
You must replace <FMI_5> with the description: It is amazing!
You must replace <FMI_6> with a tag: whole pie
You must replace <FMI_7> with a tag: apple
'''
import boto3
import os
def make_file(s3_client, s3_resource, bucket_name, file_name):
with open(file_name, 'w') as f:
f.write('Hello World\n')
s3_client.upload_file(file_name, bucket_name, file_name)
def upload_file(s3_client, s3_resource, bucket_name, file_name):
s3_client.upload_file(file_name, bucket_name, file_name)