{"id":35646140,"url":"https://github.com/vellum-ai/vellum-client-ruby","last_synced_at":"2026-02-12T21:04:06.503Z","repository":{"id":221274565,"uuid":"751872232","full_name":"vellum-ai/vellum-client-ruby","owner":"vellum-ai","description":"Ruby SDK for the Vellum API","archived":false,"fork":false,"pushed_at":"2026-01-14T21:51:55.000Z","size":1108,"stargazers_count":1,"open_issues_count":37,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-16T13:52:51.734Z","etag":null,"topics":["generated-from-openapi","vellum","vellum-sdk"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vellum-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-02-02T14:11:16.000Z","updated_at":"2026-01-13T22:12:44.000Z","dependencies_parsed_at":"2026-01-10T23:06:31.733Z","dependency_job_id":null,"html_url":"https://github.com/vellum-ai/vellum-client-ruby","commit_stats":null,"previous_names":["vellum-ai/vellum-client-ruby"],"tags_count":137,"template":false,"template_full_name":null,"purl":"pkg:github/vellum-ai/vellum-client-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vellum-ai%2Fvellum-client-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vellum-ai%2Fvellum-client-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vellum-ai%2Fvellum-client-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vellum-ai%2Fvellum-client-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vellum-ai","download_url":"https://codeload.github.com/vellum-ai/vellum-client-ruby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vellum-ai%2Fvellum-client-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28697424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["generated-from-openapi","vellum","vellum-sdk"],"created_at":"2026-01-05T13:11:25.375Z","updated_at":"2026-01-23T18:00:40.055Z","avatar_url":"https://github.com/vellum-ai.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vellum Ruby Library\n\n[![Gem Version](https://img.shields.io/badge/vellum_ai-v0.3.15-red?logo=ruby)](https://rubygems.org/gems/vellum_ai)\n[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated%20by%20Fern-brightgreen)](https://github.com/fern-api/fern)\n\n\nThe Vellum Ruby Library provides access to the Vellum API from Ruby.\n\n\n## API Docs\nYou can find Vellum's complete API docs at [docs.vellum.ai](https://docs.vellum.ai).\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n```sh\nbundle add vellum_ai\n```\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n```sh\ngem install vellum_ai\n```\n\n## Usage\n\n```ruby\nrequire \"vellum_ai\"\n\n\nclient = Vellum::Client.new(api_key: ENV['VELLUM_API_KEY'])\n\nresult = client.execute_prompt(\n    prompt_deployment_name: \"my-deployment\",\n    inputs: [\n        {\n            \"type\": \"STRING\",\n            \"name\": \"question\",\n            \"value\": \"Can I get a refund?\"\n        }\n    ],\n)\n\nputs result.outputs[0].value\n```\n\n## Async Client\n\n```ruby\nrequire \"vellum_ai\"\n\n\nclient = Vellum::AsyncClient.new(api_key: ENV['VELLUM_API_KEY'])\n\nresult = client.execute_prompt(\n    prompt_deployment_name: \"my-deployment\",\n    inputs: [\n        {\n            \"type\": \"STRING\",\n            \"name\": \"question\",\n            \"value\": \"Can I get a refund?\"\n        }\n    ],\n)\n\nputs result.wait.outputs[0].value\n```\n\n## Uploading documents\n\nDocuments can be uploaded to Vellum via either the UI or this API. Once uploaded and indexed, Vellum's Search allows you to perform semantic searches against them. Not that the SDK allows you to pass in a path to the file, or a File object.\n\n```ruby\nrequire \"vellum_ai\"\n\n\nclient = Vellum::Client.new(api_key: ENV['VELLUM_API_KEY'])\nresult = client.documents.upload(\n    # File to upload\n    contents: \"/path/to/your/file.txt\",\n    # Document label\n    label: \"Human-friendly label for your document\",\n    # The names of indexes that you'd like this document to be added to.\n    add_to_index_names: [\"\u003cyour-index-name\u003e\"],\n    # Optionally include a unique ID from your system to this document later.\n    #   Useful if you want to perform updates later\n    external_id: \"\u003cyour-index-name\u003e\",\n    # Optionally include keywords to associate with the document that can be used in hybrid search\n    keywords: [],\n)\n\nputs result\n```\n\n## Beta status\n\nThis SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version in your pyproject.toml file. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.\n\n## Contributing\n\nWhile we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us!\n\nOn the other hand, contributions to the README are always very welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvellum-ai%2Fvellum-client-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvellum-ai%2Fvellum-client-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvellum-ai%2Fvellum-client-ruby/lists"}