Skip to content

Instantly share code, notes, and snippets.

View cpursley's full-sized avatar

Chase Pursley cpursley

View GitHub Profile
@cpursley
cpursley / ai_web_search.ex
Last active September 26, 2024 23:03
AI Web Search
# You will need to install https://github.com/cpursley/html2markdown
defmodule Webpage do
@moduledoc false
defstruct [:url, :title, :description, :summary, :page_age]
end
defmodule WebSearch do
@moduledoc """
Web search summarization chain
@cpursley
cpursley / postgres_hybrid_search.ex
Last active July 13, 2024 08:37
Postgres Hybrid Search
See: https://github.com/cpursley/vecto
@cpursley
cpursley / batch_data.json
Last active August 27, 2023 20:25
Batch Data: 6701 W 64th St, Mission, KS 66202
{
"status": {
"code": 200,
"text": "OK"
},
"results": {
"properties": [
{
"_id": "00c72799d8c05b7158357c3bf4d0906b",
"dateModified": "2023-07-07T03:40:17.731Z",
{
"swagger": "2.0",
"info": {
"version": "1.0",
"title": "QuickBooks Online V3API Collections - OAuth2",
"description": "The QuickBooks Online Accounting API is a RESTful API that is used to access QuickBooks companies.\n\nDocs Ref - https://developer.intuit.com/docs/api/accounting"
},
"host": "DefaultParameterValue",
"basePath": "/v3/company/DefaultParameterValue",
"securityDefinitions": {