Skip to content
Avatar
🏠
Working from home
🏠
Working from home

Achievements

Achievements

Organizations

@jina-ai
Block or Report

Block or report alexcg1

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
alexcg1/README.md

Alex C-G 101

🐦 Twitter💼 LinkedIn🖋️ Medium📺 YouTube

I'm Alex C-G - I'm the Developer Relations Lead at Jina AI. This is my personal README - it's here to give you a quick overview of who I am and how best to get my attention.

Most of the projects in my profile are written in Python, though I also muck around with Arduino and have the usual smattering of shell scripts, Markdown and whatnot.

I like to think of myself as not that hardcore and kinda approachable. But then I remember I live in vim full-time, taught an AI to write crappy Star Trek, and am building robotic butterflies for fun. Eh, so maybe I'm a little hardcore.

Read the rest of my README

Pinned

  1. jina Public

    Forked from jina-ai/jina

    Jina is the cloud-native neural search framework powered by state-of-the-art AI and deep learning

    Python

  2. App store search example, using Jina as backend and Streamlit as frontend

    Python 15 6

  3. A bot that writes (bad) Star Trek scripts

    Jupyter Notebook 1

  4. 1
    exec("""import os; from pprint import pprint; import pretty_errors; from jina.types.arrays.memmap import DocumentArrayMemmap; from jina import Flow, Document, DocumentArray; from jina.parsers.helloworld import set_hw_chatbot_parser; import csv; from appstore_config import my_port, my_workdir, my_datafile; from executors import MyTransformer, MyIndexer;\ndef trim_string(input_string, word_count=50, sep=" "): sanitized_string = input_string.replace("\\n", sep).replace("\\u2022", sep); words = sanitized_string.split(sep)[:word_count]; output = " ".join(words); return output;\ndef prep_docs(input_file, max_docs=1000):\n\tdocs = DocumentArray();\n\twith open(input_file, "r") as csv_file:\n\t\tcsv_reader = csv.DictReader(csv_file); input_field = "Description";\n\t\tfor row in csv_reader: input_data = trim_string(row[input_field]); doc = Document(text=input_data); doc.tags = row; docs.extend([doc]);\n\treturn docs;\ndef run_appstore(inputs, args):\n\tf = Flow().add(uses=MyTransformer, parallel=args.parallel).add(uses=MyIndexer, workspace=args.workdir);\n\twith f: f.post(on="/index", inputs=inputs, on_done=print); f.use_rest_gateway(args.port_expose); f.block();\nargs = set_hw_chatbot_parser().parse_args(); args.port_expose = my_port; args.workdir = my_workdir; docs = prep_docs(input_file=my_datafile); run_appstore(inputs=docs, args=args)\n""")

1,990 contributions in the last year

Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug Mon Wed Fri

Contribution activity

September 2021

Created 1 repository
Reviewed 2 pull requests in 1 repository
22 contributions in private repositories Sep 1 – Sep 10

Seeing something unexpected? Take a look at the GitHub profile guide.